Goldielocks Posted September 13, 2007 Share Posted September 13, 2007 Hi, I am trying to call a WCF .NET 3.0 web service from a PHP client. Everything works fine when the web service uses basicHttpBinding but when web service uses wsHttpBinding I get the following error: SoapFault exception: [HTTP] Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'. in /smdev/APIClient.php:13 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://jericho1...', 'http://tempuri....', 1, 0) #1 [internal function]: SoapClient->__call('Cat', Array) #2 /smdev/APIClient.php(13): SoapClient->Cat('UEsDBBQAAAAIAGq...') #3 {main} Does anyone know if PHP works with wsHttpBinding at all? Kind Regards Cecilia Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.