Hi, I wrote a client which sends a SOAP message with MTOM attachment. The only response I get from the server is
"Invalid Content Type Field in the Mime Message" Here's the request catched with tcpmon: POST /dentiv-hkp/services/dentiv-hkp_1_0 HTTP/1.1 User-Agent: Axis/2.0 Host: localhost:8081 Transfer-Encoding: chunked Content-Type: multipart/related; boundary=MIMEBoundaryurn:uuid:79B88131D7E2B52CE411470755667501; type="application/xop+xml"; start="<0.urn:uuid:[EMAIL PROTECTED]>"; start-info="application/soap+xml"; charset=UTF-8;action=""""; 907 --MIMEBoundaryurn:uuid:79B88131D7E2B52CE411470755667501 content-type: application/xop+xml; charset=UTF-8; type="application/soap+xml"; content-transfer-encoding: binary content-id: <0.urn:uuid:[EMAIL PROTECTED]> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header /><soapenv:Body .. <api:attachments> <api:attachment> <attachment-id>1</attachment-id> <attachment-name>test-data</attachment-name> <attachment-type-version>1</attachment-type-version> <attachment-data><xop:Include href="cid:1.urn:uuid:[EMAIL PROTECTED]" xmlns:xop="http://www.w3.org/2004/08/xop/include" /></attachment-data> </api:attachment> </api:attachments> ... </soapenv:Body></soapenv:Envelope> --MIMEBoundaryurn:uuid:79B88131D7E2B52CE411470755667501 content-type: text/plain content-transfer-encoding: binary content-id: <1.urn:uuid:[EMAIL PROTECTED]> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> ... </soapenv:Body> </soapenv:Envelope> 3b --MIMEBoundaryurn:uuid:79B88131D7E2B52CE411470755667501-- 0
