-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Names of elements in soap:body are incorrect #15
Comments
Thanks for testing out this package and reporting @MudrakIvan! Your statement is right. I'll look into it soon. |
Hello @MudrakIvan, This seems to be true depending on some other parameters like binding-style. Could you play around with the changes in #16 to see if this works for you? (there is still one thing I need to figure out - which should not impact this specific call you are trying to perform.) Thanks again for the detailed information ! |
Hello @veewee, provided changes fixes are sufficient for operations that i'm working with. Thanks for quick response! |
@MudrakIvan Tagged the fix : https://github.com/php-soap/encoding/releases/tag/0.7.0 Feel free to let me know if there is anything else we can improve in this package :) It's rather new so there might be some bugs hiding here and there. I'm open for all feedback! |
Bug Report
Summary
Soap body is always generated with one element which is named after called operation. This behaviour is not correct, when input message of the operation has defined its part (info about message parts).
Current behaviour
Currently, the body element always has only one child which is named after the operation name.
How to reproduce
To reproduce, use wsdl which contains message defintion with parts. To reproduce, you can use this simple wsdl:
When operation GetCustomerDetails is called, soap request should look like this:
But currently it looks like this:
Expected behaviour
As described, elements of body should correspond to message parts.
The text was updated successfully, but these errors were encountered: