Skip to Main Content

Valid JAX-WS client marshaling for invalid xml symbols for SOAP binding

786715Mar 21 2013
I have java (1.6) client, built over JAX-WS, JAXB, SOAP binding, calling wcf (3.5) service (basicHttpBinding).

When I'm trying to call the server with soap-invalid character (for example,  (backspace, ...)) - my code failed on both directions:

When I am sending such text, I am failed (for both - marshaling and unmarshaling) with exception The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter
The InnerException message was 'There was an error deserializing the object of type XXX.MyParams.
The byte 0x08 is not valid at this location. Line 1, position 1177.'.

Please see InnerException for more details.

at ~[?:1.6.0_24] at ~[?:1.6.0_24] at ~[?:1.6.0_24] at ~[?:1.6.0_24] at ~[?:1.6.0_24]

Thank you!
Post Details
Locked due to inactivity on Apr 18 2013
Added on Mar 21 2013