#28702 [Opn]: SOAP does not parse WSDL service address correctly
| From: | fredb86 at hotmail dot com | Date: | Wed, 09 Jun 2004 02:47:20 +0000 |
| Subject: | #28702 [Opn]: SOAP does not parse WSDL service address correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60611@lists.php.net to get a copy of this message | ||
ID: 28702
User updated by: fredb86 at hotmail dot com
Reported By: fredb86 at hotmail dot com
Status: Open
Bug Type: SOAP related
Operating System: Windows XP
PHP Version: 5.0.0RC3
New Comment:
The User-Agent: header should say "PHP SOAP 0.1", not just "SOAP 0.1".
Previous Comments:
------------------------------------------------------------------------
[2004-06-09 04:45:41] fredb86 at hotmail dot com
Problem is in 5.0.0RC2 AND 5.0.0RC3
------------------------------------------------------------------------
[2004-06-08 19:50:38] fredb86 at hotmail dot com
Description:
------------
SOAP is parsing the WSDL but not using the correct address in the HTTP
call. The WSDL fragment defining the service address looks like this:
<service name="dataservice">
<port name="dataservicePort" binding="tns:dataserviceBinding">
<soap:address
location="http://myservice.com/junk/soap?Service=getdata"
/>
</port>
</service>
The SOAP extension is sending this HTTP header:
POST /junk/soap HTTP/1.1
Host: myservice.com
Connection: Keep-Alive
User-Agent: SOAP 0.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "http://action.myservice.com"
Content-Length: 458
It should be sending this HTTP header:
POST junk/soap?Service=getdata HTTP/1.1
Host: myservice.com
Connection: Keep-Alive
User-Agent: SOAP 0.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "http://action.myservice.com"
Content-Length: 458
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28702&edit=1