Andreas Veithen created SYNAPSE-905:
---------------------------------------
Summary: Sample 158 produces SOAP message that doesn't conform to
the WSDL of the target service
Key: SYNAPSE-905
URL: https://issues.apache.org/jira/browse/SYNAPSE-905
Project: Synapse
Issue Type: Bug
Components: Documentation
Reporter: Andreas Veithen
Priority: Minor
Sample 158 sends the following SOAP message to the target service
(SimpleStockQuoteService):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns0:getQuote xmlns:ns0="http://services.samples">
<ns1:request xmlns:ns1="http://services.samples">
<ns2:symbol xmlns:ns2="http://services.samples">IBM</ns2:symbol>
</ns1:request>
</ns0:getQuote>
</soapenv:Body>
</soapenv:Envelope>
This message doesn't conform to the WSDL of SimpleStockQuoteService because the
"symbol" element is expected to be in the http://services.samples/xsd
namespace, not in http://services.samples. The service only accepts the message
because Axis2 POJO services are very lenient when it comes to namespaces...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]