Jump to content

PHP and WCF wshttpbinding


Goldielocks

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.