Stefan,
Please use Soap with Attachments only.. Then it'll be text/xml..
Make sure *not* to enable MTOM at the same time, cause then MTOM will
get priority and the message will be MTOM..

See here [1] for more detials...

Thilina
[1] http://wso2.org/library/264

On 12/29/06, Stefan Kok <[EMAIL PROTECTED]> wrote:
Hi All

I have got axis2 to generate the following for me:

POST /some HTTP/1.1
SOAPAction: ""
User-Agent: Axis2
Content-Length: 5790
Content-Type: multipart/related;
boundary=MIMEBoundaryurn_uuid_D71D1475B0136C8FED11673898742622;
type="application/xop+xml";
start="<0.urn:uuid:[EMAIL PROTECTED]>";
start-info="text/xml"; charset=UTF-8
Authorization: Digest username="username", realm="somerealm",
nonce="RZTzxw==028733d3cb3ad64a414de383d252b679e8969982", uri="/some",
response="427csaasaawqwqee6be586508c8e91b4", qop=auth, nc=00000001,
cnonce="61849b59f21f00e0ac46d38f9be4f1b2", algorithm="MD5"
Host: fqdn:8082

--MIMEBoundaryurn_uuid_D71D1475B0136C8FED11673898742622
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:Header><ns1:TransactionID 
xmlns:ns1="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2"; 
ns1:mustUnderstand="1">MyTransaction</ns1:TransactionID></soapenv:Header><soapenv:Body><ns1:SubmitRequest 
xmlns:ns1="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2";><xop:Include href="cid:1.urn:uuid:[EMAIL PROTECTED]" 
xmlns:xop="http://www.w3.org/2004/08/xop/include"; /></ns1:SubmitRequest></soapenv:Body></soapenv:Envelope>
--MIMEBoundaryurn_uuid_D71D1475B0136C8FED11673898742622

The server that I send this to, requires that the content-type must be:

text/xml; charset="utf-8"

and not

content-type: application/xop+xml; charset=UTF-8; type="text/xml";

I have been searching the web for ideas but have not found much. It must
be multipart/related so I cannot turn off MTOM.



Kind regards
Stefan.






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to