#28702 [Asn->Csd]: SOAP does not parse WSDL service address correctly
| From: | dmitry@php.net | Date: | Thu, 10 Jun 2004 09:07:17 +0000 |
| Subject: | #28702 [Asn->Csd]: SOAP does not parse WSDL service address correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60705@lists.php.net to get a copy of this message | ||
ID: 28702
Updated by: dmitry@php.net
Reported By: fredb86 at hotmail dot com
-Status: Assigned
+Status: Closed
Bug Type: SOAP related
Operating System: Windows XP
PHP Version: 5.0.0RC3
Assigned To: dmitry
New Comment:
Fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2004-06-09 09:41:12] derick@php.net
Assigning to the maintainer.
------------------------------------------------------------------------
[2004-06-09 04:47:19] fredb86 at hotmail dot com
The User-Agent: header should say "PHP SOAP 0.1", not just "SOAP 0.1".
------------------------------------------------------------------------
[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