#28702 [NEW]: SOAP does not parse WSDL service address correctly
| From: | fredb86 at hotmail dot com | Date: | Tue, 08 Jun 2004 17:50:39 +0000 |
| Subject: | #28702 [NEW]: SOAP does not parse WSDL service address correctly | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-60587@lists.php.net to get a copy of this message | ||
From: fredb86 at hotmail dot com
Operating system: Windows XP
PHP version: 5.0.0RC2
PHP Bug Type: SOAP related
Bug description: SOAP does not parse WSDL service address correctly
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 bug report at http://bugs.php.net/?id=28702&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28702&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28702&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28702&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28702&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28702&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28702&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28702&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28702&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28702&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28702&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28702&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28702&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28702&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28702&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28702&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28702&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28702&r=float