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 Link to comment https://forums.phpfreaks.com/topic/69128-php-and-wcf-wshttpbinding/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.