-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Adding custom envelope key option for server #1208
base: master
Are you sure you want to change the base?
Conversation
I rebased this branch so it has the latest changes and to run tests. |
Also, seems like error responses also should contain custom key <?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://example.com/stockquote.wsdl" xmlns:xsd1="http://example.com/stockquote.xsd">
<soapenv:Body>
<soap:Fault>
<soap:Code>
<soap:Value>SOAP-ENV:Server</soap:Value>
<soap:Subcode>
<soap:Value>InternalServerError</soap:Value>
</soap:Subcode>
</soap:Code>
<soap:Reason>
<soap:Text>Error: Failed to parse the SOAP Message body</soap:Text>
</soap:Reason>
</soap:Fault>
</soapenv:Body>
</soapenv:Envelope> |
Pushed changes to tests, but they still do not work as request is not valid. |
' xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"' + | ||
' xmlns:soap="http://service.applicationsnet.com/soap/">' + | ||
' <soapenv:Header/>' + | ||
' <soapenv:Body>' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there not be </soapenv:Body>
or at least the above be <soapenv:Body/>
?
' xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"' + | ||
' xmlns:soap="http://service.applicationsnet.com/soap/">' + | ||
' <soapenv:Header/>' + | ||
' <soapenv:Body>' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
No description provided.