Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ckWebServicePlugin to php SoapClient #1

Open
Prometee opened this issue Jun 20, 2011 · 0 comments
Open

ckWebServicePlugin to php SoapClient #1

Prometee opened this issue Jun 20, 2011 · 0 comments

Comments

@Prometee
Copy link

Prometee commented Jun 20, 2011

Hello,

I tried to link two websites with a transmission of some datas between them with a webservice. Both of the websites are using Symfony 1.4/Propel with php 5.3.5. The first website is the owner of the webservice build with ckWebServicePlugin 4.0.0, the second have a simple native php SoapClient. When I tried to request the server with SOAP_1_1 I have a response and my process is well computed. But when I tried to change the soap_version to SOAP_1_2, I encounter a problem the result binded to the var which receive the return of my soap method is empty but the __getLastResponse give me the same result as the SOAP_1_1 response.

So I tried to find the problem and I simply modify my Wsdl file in the wsdl:binding > wsdl:operation > wsdl:output > soap:body : part="result" I change "result" by "results" and also rename wsdl:message > wsdl:part name="result" by name="results"

Apparently the word "result" is a reserved word in SOAP_1_2, and the generation of the result part name is hard-coded in the file ckWebServicePlugin/lib/vendor/ckWsdlGenerator/ckWsdlOperation.class line: 65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant