[mashup-dev] Payload has MIME boundary

saminda abeyruwan saminda at wso2.com
Mon Jul 2 10:29:23 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Native WSRequest has been specialized in such a way that it can read
only XML in payload.

In Axis2, when we configured it to be enableMTOM=true,  the clients will
be receiving a SOAP payload (HTTP payload) with MIME boundaries, such as
follows

- --MIMEBoundaryurn_uuid_BAD4128A4C23D382721183397146010

Content-Type: application/xop+xml; charset=UTF-8;
type="application/soap+xml"

Content-Transfer-Encoding: binary

Content-ID: <0.urn:uuid:BAD4128A4C23D382721183397146011 at apache.org>

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"

><soapenv:Body><ns:getVersionResponse
xmlns:ns="http://version.services.wsas.wso2.org/xsd"><return>Hello

 I am WSO2 WSAS version service. My version is
SNAPSHOT</return></ns:getVersionResponse></soapenv:Body

></soapenv:Envelope>

- --MIMEBoundaryurn_uuid_BAD4128A4C23D382721183397146010--


Should native WSRequest be able to parse this request to find the SOAP
envelop ?

Is there any plans that we support MTOM as well ?

Thank you

Saminda
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiTXzYmklbLuW6wYRAgq/AJ9W+qN9D9L/yHiM5rObkWFKrKSbiwCgpBTw
t5NhdDbKwbOsfNd8+0LQreg=
=Vusr
-----END PGP SIGNATURE-----




More information about the Mashup-dev mailing list