|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47810 SoapClient and Multipart response
Submitted: 2009-03-27 15:37 UTC Modified: -
Avg. Score:4.5 ± 0.8
Reproduced:40 of 40 (100.0%)
Same Version:6 (15.0%)
Same OS:24 (60.0%)
From: opi at gmx dot at Assigned:
Status: Open Package: SOAP related
PHP Version: 5.2.9 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: opi at gmx dot at
New email:
PHP Version: OS:


 [2009-03-27 15:37 UTC] opi at gmx dot at
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 ...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-13 00:32 UTC] c dot scognamiglio at oltrelinux dot com
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
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="" xmlns:ns1=""><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=""; start-info="text/xml"
Transfer-Encoding: chunked
Date: Mon, 13 Jul 2009 00:07:42 GMT

Dumping response:
Content-Type: application/xop+xml; charset=utf-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: <>

<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv=""><soapenv:Body><ns:newSessionResponse xmlns:ns=""><ns:return>62345fcc30f5b8d4</ns:return></ns:newSessionResponse></soapenv:Body></soapenv:Envelope>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 17:01:28 2024 UTC