[ https://issues.apache.org/activemq/browse/SM-409?page=all ]

stefan klinger updated SM-409:
------------------------------

    Attachment: servicemix-soap-diff.txt

This diff file fixes the problem by checking for the start tag of a multipart 
mime message , if it does exist then use the xml as the message source. If it 
doesn't exist, it checks for all other mime parts for xml, and uses the first 
xml it comes across as the message source. if no xml exist, a dummy payload 
message is inserted. Also includes a test case.

> Do not assume that first part of multi mime message is xml
> ----------------------------------------------------------
>
>          Key: SM-409
>          URL: https://issues.apache.org/activemq/browse/SM-409
>      Project: ServiceMix
>         Type: Improvement

>   Components: servicemix-soap
>     Versions: incubation
>     Reporter: stefan klinger
>     Priority: Minor
>      Fix For: incubation
>  Attachments: servicemix-soap-diff.txt
>
>
> Currently, the SoapReader expects the start part to be of xml format. If that 
> part does not exist, it assumes it's the first part. I would prefer that it 
> checks for xml parts and uses the first one it finds in that case. If none 
> are found, insert a dummy source e.g. <payload/> similar to the lightweight 
> HttpMarshaler.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to