When I post SOAP body to my Yii websevice from SOA client firefox add on, it returns WSDL and not calling the respective method.
How to invoke respective method?
What could be the problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See the generated WSDL file :
the base URL of the methods exposed by the service is found in the “location” attribute at the file end (e.g. wsdl:service > wsdl:port > soap:address).
Sample :
The URL provided has “/ws/1” (or “?ws=1“, depending on your application settings) appended to the controller route exposing the Web service.
See CWebServiceAction class reference :
The GET parameter used is the value of CWebServiceAction::serviceVar property.
So you must append the required GET parameter (e.g. “ws=1”) to the called URL to be able to use your Web method… Or use a “real” SOAP client that will fetch the proper service URL to call a Web method.