Monday, March 26, 2012

Web Service created using 2003/2005 then access using PHP

We are having issues using a Web Service created in 2003/2005 when writing a PHP web app.
Is there anything special that needs to be done to allow PHP to use .NET web services?
WokaThe rrr we are getting is "request format is unrecognized"
Woka
You need to find the machine.config file on the web server and edit it and unremark the Post and Get bits.

<Protocols>
<add name="HttpSoap1.2"/>
<add name="HttpSoap"/>
<!--<add name="HttpPost"/>-->
<!--<add name="HttpGet"/>-->
<add name="HttpPostLocalhost" />
<add name="Documentation"/>
</protocols>

Thanks to Mike Hilder for this.
http://www.vbforums.com/showthread.php?t=283207

Woka
If you want,

SOAP for PHP (pear.php.net/package/SOAP)

0 comments:

Post a Comment