0 Replies Latest reply on Nov 27, 2009 3:34 AM by 11mpp

    No charset in MTOM enabled response

    11mpp

      I'm using JBoss 5.1.0 GA and the native web services stack to create (wsconsume) and deploy web services. I use document.literal.wrapped style and MTOM to send binary data as attachments to .NET client.

      For non MTOM operations everything works fine, but for MTOM there is no charset value in Content-Type HTTP header and .NET client fails.

      Generated header in HTTP response:
      Content-Type multipart/related; type="application/xop+xml"; start="<rootpart@ws.jboss.org>"; start-info="text/xml"; boundary="----=_Part_2_28637409.1259255159140"


      Is it a bug in jbossws? Please tell me how to add charset=utf-8 to the header manually if there is no other way.