I'm using ZF 1.10.1 where Zend_Soap_Server has set the SOAP version to SOAP
1.2 as a default.
However when returning Soap Faults the structure of the fault resembles SOAP
1.1
eg.
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>Sender</faultcode>
<faultstring>Nonce has expired</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This would be fine, except that the fault codes that Zend_Soap_Server are
SOAP 1.2 codes not 1.1. In fact Zend_Soap_Server will not allow you to
return "Client" as a fault code (which is a valid SOAP 1.1 fault code)
What am I missing?
--
View this message in context: http://n4.nabble.com/Zend-Soap-Server-SOAP-version-confusion-tp1598704p1598704.html
Sent from the Zend Web Services mailing list archive at Nabble.com.
没有评论:
发表评论