#38309 [NEW]: SoapServer doesn't seem capable of processing SOAP Headers
| From: | hummel at channeladvisor dot de | Date: | Thu, 03 Aug 2006 09:53:24 +0000 |
| Subject: | #38309 [NEW]: SoapServer doesn't seem capable of processing SOAP Headers | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100265@lists.php.net to get a copy of this message | ||
From: hummel at channeladvisor dot de
Operating system: Windows
PHP version: 5.1.4
PHP Bug Type: SOAP related
Bug description: SoapServer doesn't seem capable of processing SOAP Headers
Description:
------------
The SoapServer class doesn't seem to support processing SOAP Headers.
An example SOAP request to the server looks as this:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<m:RequesterCredentials xmlns:m="http://localhost/3.0.2/soap/">
<username>String</username>
<password>String</password>
<signature>String</signature>
</m:RequesterCredentials>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<m:GetAvailableStockQuantityRequest
xmlns:m="http://localhost/3.0.2/soap/">
<itemID>-0</itemID>
</m:GetAvailableStockQuantityRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
As you can see, the header "RequesterCredentials" is sent to the server. I
need to process and validate "RequesterCredentials" on the server side, but
the class SoapServer doesn't seem to support of processing headers (i.e. I
cannot implement header checks if I wanted to using SoapServer).
If a developer can use SoapServer to process headers, it is a
documentation issue.
If a developer cannot use SoapServer to process headers, it should made
clear within the documentation.
--
Edit bug report at http://bugs.php.net/?id=38309&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38309&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38309&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38309&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38309&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38309&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38309&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38309&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38309&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38309&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38309&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38309&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38309&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38309&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38309&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38309&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38309&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38309&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38309&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38309&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38309&r=mysqlcfg