Problem with PEAR::SOAP
| From: | Stephan Wentz | Date: | Tue, 15 Jun 2004 10:30:54 +0000 |
| Subject: | Problem with PEAR::SOAP | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13158@lists.php.net to get a copy of this message | ||
Hi all!
I'm having a Problem with a Soap-Response returned from a Server.
It seems like PEAR::SOAP is trying to parse the Response from the server _with_ the headers!
I put a debug-output of $xml in PEAR::SOAP's Parser.php->SOAP_Parser, and it contained the following:
<snip>
HTTP/1.1 200 OK
Date: Tue, 15 Jun 2004 10:27:21 GMT
Server: Microsoft-IIS/6.0
COMMERCE-SERVER-SOFTWARE: Microsoft Commerce Server 2002, Enterprise Edition
X-AspNet-Version: 1.1.4322
COMMERCE-SERVER-SOFTWARE: Microsoft Commerce Server 2002, Enterprise Edition
Set-Cookie: Commerce2002_TestPersistentCookie=TestCookie; expires=Wed, 16-Jun-2004 10:27:21 GMT; path=/
Set-Cookie: Commerce2002_TestSessionCookie=TestCookie; path=/
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 450
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><StoreOnlyRequiredUserDataResponse xmlns="https://cs-pre.panasonic.isc4u.de/wsexternal/userservice"><StoreOnlyRequiredUserDataResult>2</StoreOnlyRequiredUserDataResult></StoreOnlyRequiredUserDataResponse></soap:Body></soap:Envelope>
</snip>
As you can see the headers are also in the variable, and i don't think that this is right... what could be going wrong here?
Bye,
Stephan Wentz