Hi Andreas, Thanks for the reply.
I could fix the issue, there were two problems in my SOAP message which Axis2 was not able to handle it. Content-Type: Multipart/Related; boundary=5a21e1d7-c13a-414f-856b-1d8db8caec7a; type=text/xml; start="dd5584d3- dfbc-4a0a-94a9-11be8726f446" One: Multipart/Related should be multipart/related (Axis2 doesn't handle it) Two: Text/xml should be "text/xml" (Axis2/ Axiom should handle it) Thanks, Raghu -----Original Message----- From: Andreas Veithen [mailto:[EMAIL PROTECTED] Sent: Friday, January 11, 2008 12:40 PM To: axis-user@ws.apache.org Subject: Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message Raghu, If you look at http://www.w3.org/TR/SOAP-attachments, RFC 2045 and RFC 822, you can see that the Content-ID field and also the "start" part of the Content-Type field don't conform to the specifications. It is therefore not so surprising that Axis rejects the message. Maybe you should post a message to a .NET related forum about this problem. Regards, Andreas On 11 Jan 2008, at 19:00, Raghu Kasturi wrote: > Hi, > > When I try to send the soap message using my .net Client to Axis2 > service, I get the following exception: > > Creating an Attachments map. The content-length is6984 > 2008-01-11 10:39:37,184 DEBUG AxisServlet > org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime > Message > 2008-01-11 10:39:37,184 DEBUG AddressingHelper [MessageContext: > logID=urn:uuid:F85321AF0819DB69AE1200073177166] isReplyRedirected: > FaultTo is null. Returning isReplyRedirected > 2008-01-11 10:39:37,184 DEBUG AddressingHelper [MessageContext: > logID=urn:uuid:F85321AF0819DB69AE1200073177166] isReplyRedirected: > ReplyTo is null. Returning false > 2008-01-11 10:39:37,184 DEBUG EndpointReference > hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous > is Anonymous: true > 2008-01-11 10:39:37,184 DEBUG EndpointReference > hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous > is Anonymous: true > > > My Soap Message is: > OST /soapAdapter/services/myTestService HTTP/1.1 > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services > Client Protocol 1.1.4322.2407) > SOAPAction: "PostRq" > Content-Type: Multipart/Related; boundary=5a21e1d7- > c13a-414f-856b-1d8db8caec7a; type=text/xml; start="dd5584d3- > dfbc-4a0a-94a9-11be8726f446" > Content-Length: 6984 > Connection: Keep-Alive > Host: hostname:8090 > > > --5a21e1d7-c13a-414f-856b-1d8db8caec7a > Content-Type: text/xml > Content-Transfer-Encoding: binary > Content-ID: dd5584d3-dfbc-4a0a-94a9-11be8726f446 > > <?xml version="1.0" encoding="utf-8"?><soap:Envelope> .... </ > soap:Envelope> > > > Please help me in this regards. > > > > Thanks, > Raghu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]