This discussion is archived
0 Replies Latest reply: May 16, 2010 9:08 AM by 843851 RSS

Web services JAXRPC change http header

843851 Newbie
Currently Being Moderated
I am developing an application which uses hungarian characters too (like á).

I am using the stub class generated by java me sdk 3.0, but the client http
header is missing the charset tag, so this is what is sent:

Content-Type: text/xml;

and this is what should be sent:
Content-Type: text/xml; charset=utf-8

How can I change the default header?

(I have a solution which uses a new Operation implementation, but I don't want to use that class since
it needs additional libraries for parsing etc..)