I am using the JAX-WS RI, with files that have been auto-geenrated by Netbeans via File > Web Service and then entering the WSDL.
The problem I am having is that the JAX-WS RI always attaches this header to the request:
Content-Type: application/soap+xml; charset=utf-8;action="urn:getOrganization"
However our web server does not accept charset=utf-8
, it wants charset=UTF-8
.
How can I change this using the JAX-WS RI?
If this cannot be done, then are there other options available which ultimately lead to sending charset=UTF-8
?