[wsf-c-dev] [jira] Resolved: (WSFPHP-266) SOAP Fault in response to an MTOM based message does not put starting MIME boundary before message body
Nandika Jayawardana (JIRA)
jira at wso2.org
Wed Jul 23 23:21:54 PDT 2008
[ https://wso2.org/jira/browse/WSFPHP-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nandika Jayawardana resolved WSFPHP-266.
----------------------------------------
Resolution: Fixed
I tested this issue with the current svn. I configure the service to send a fault when a message with a attachment is sent to it. The returned fault does not have mime headers now.
> SOAP Fault in response to an MTOM based message does not put starting MIME boundary before message body
> -------------------------------------------------------------------------------------------------------
>
> Key: WSFPHP-266
> URL: https://wso2.org/jira/browse/WSFPHP-266
> Project: WSO2 WSF/PHP
> Issue Type: Bug
> Components: MTOM Support, WSFault, WSService
> Affects Versions: Current (nightly)
> Reporter: Tommy Odom
> Assignee: Nandika Jayawardana
> Fix For: 2.0.0
>
>
> I'm currently using a nightly snapshot from April 28, 2008.
> When I send a message to my PHP SOAP service from soapui that uses MTOM and I throw a WSFault from the PHP code, the response coming back to soapui is malformed. It does not have the starting message boundary before the fault body.
> An example of the output:
> HTTP/1.1 500 Internal Server Error[\r][\n]
> Date: Wed, 30 Apr 2008 19:49:38 GMT[\r][\n]
> Server: Apache/2.0.59 (Unix) PHP/5.2.5 DAV/2[\r][\n]
> X-Powered-By: PHP/5.2.5[\r][\n]
> Set-Cookie: ZDEDebuggerPresent=php,phtml,php3; path=/[\r][\n]
> Content-Length: 559[\r][\n]
> Connection: close[\r][\n]
> Content-Type: multipart/related; type="application/xop+xml"; start="<rootpart at soapui.org>"; start-info="application/soap+xml; action=\"NewOrder\""; boundary="----=_Part_72_15745107.1209584978969"[\r][\n]
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header></soapenv:Header><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Receiver</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="en">XYZ</soapenv:Text></soapenv:Reason><soapenv:Detail><error>XYZ</error></soapenv:Detail><soapenv:Role></soapenv:Role></soapenv:Fault></soapenv:Body></soapenv:Envelope>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsf-c-dev
mailing list