ID:               47810
 Comment by:       c dot scognamiglio at oltrelinux dot com
 Reported By:      opi at gmx dot at
 Status:           Open
 Bug Type:         SOAP related
 Operating System: Linux
 PHP Version:      5.2.9
 New Comment:

Is there a fix for this?

The following throw a "looks like we got no XML document" soap
exception:

Dumping request headers:
POST /base2/services/Session HTTP/1.1
Host: hostname.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.5
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:newSession"
Content-Length: 229


Dumping request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="http://server.ws.basedb.sf.net";><SOAP-ENV:Body><ns1:newSession/></SOAP-ENV:Body></SOAP-ENV:Envelope>

Dumping response headers:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: multipart/related;
boundary=MIMEBoundaryurn_uuid_35C74BDBCF92CD2A431247443662345;
type="application/xop+xml";
start="0.urn:uuid:[email protected]";
start-info="text/xml"
Transfer-Encoding: chunked
Date: Mon, 13 Jul 2009 00:07:42 GMT

Dumping response:
--MIMEBoundaryurn_uuid_35C74BDBCF92CD2A431247443662345
Content-Type: application/xop+xml; charset=utf-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: <0.urn:uuid:[email protected]>

<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns:newSessionResponse
xmlns:ns="http://server.ws.basedb.sf.net";><ns:return>62345fcc30f5b8d4</ns:return></ns:newSessionResponse></soapenv:Body></soapenv:Envelope>
--MIMEBoundaryurn_uuid_35C74BDBCF92CD2A431247443662345--


Previous Comments:
------------------------------------------------------------------------

[2009-03-27 15:37:06] opi at gmx dot at

Description:
------------
SoapClient doesn't understand Multipart response from Server. Instead
the full buffer is sent to the xml function.

Reproduce code:
---------------
No Free Test WebServer available.

Expected result:
----------------
Method to get the Multiparts.

Actual result:
--------------
SoapFault exception: [Client] looks like we got no XML document in ...


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47810&edit=1

Reply via email to