2010年3月26日星期五

[fw-webservices] Re: .NET SOAP client not working with ZEND_SOAP server

It took a while but I figured it out. As usual, it was a stupid little thing. PHP's soap extension defaults both the server and client to SOAP 1.1, but Zend_Soap_Server sets it to 1.2 unless you specifically set it
Zend_Soap_Server($uri, array('soap_version' => SOAP_1_1));
The difference of the two versions that was causing the problem was in the HTTP header Content-type. SOAP 1.1: text/xml SOAP 1.2: application/soap+xml The .NET client obviously cares about this and did not work because of this. hgg

View this message in context: Re: .NET SOAP client not working with ZEND_SOAP server
Sent from the Zend Web Services mailing list archive at Nabble.com.

没有评论: