I have a jax-ws client that is invoking a jax-rpc web service. The request is successfully sent and parsed. However, when the response is returned, an exception occurs when parsing the response. The error is:
12/12/08 15:39:29:257 EST] 00000021 SystemErr R javax.xml.ws.WebServiceException: javax.xml.stream.XMLStreamException: java.io.UnsupportedEncodingException: "utf-8"
Any suggestions for a resolution would be helpful.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
2 replies Latest Post - 2012-08-19T09:56:08Z by CM9Q_VamsiKrishna_Sribhashyam
Pinned topic jax-ws and jax-rpc compatibility
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-08-19T09:56:08Z at 2012-08-19T09:56:08Z by CM9Q_VamsiKrishna_Sribhashyam
SystemAdmin 110000D4XK1009 PostsACCEPTED ANSWER
Re: jax-ws and jax-rpc compatibility2009-01-06T15:21:40Z in response to SystemAdminOne more important note that I forgot to mention...
There are two elements of type="xs:base64Binary" within the XML document. Just curious how the conversion of Base64 to binary data would work once the response is received? Should special logic be implemented to handle and parse this binary data within the web service using jax-rpc, and / or on the client side that invokes the web service using jax-ws?