#28702 [Opn]: SOAP does not parse WSDL service address correctly

From: Date: Wed, 09 Jun 2004 02:45:42 +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-60610@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.0RC2 +PHP Version: 5.0.0RC3 New Comment: Problem is in 5.0.0RC2 AND 5.0.0RC3 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#60610) next »