0

I have a webservice use jaxb, in client I build webservice client jar file by Netbean. My problem is sometime client send request but can't read response object, follow exception:

Failed to read a response: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,36959]
Message: Premature EOF]
com.sun.xml.internal.ws.encoding.soap.DeserializationException: Failed to read a response: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,36959]
Message: Premature EOF]
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:113)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
    at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
karan
  • 3,319
  • 1
  • 35
  • 44
phucvm8x
  • 23
  • 2
  • 6

1 Answers1

0

Try to intercept your XML requests and response as described here You may solve your problem then.

Preetam Kumar
  • 436
  • 2
  • 19