Hi!
I see it's a really old post, but now I have the same problem, really annoying. It works on an other machine, but on my mashine I get the same Exception.. I'M using Jax-ws rt and only occurs the problem when using mtom..
Exception in thread "main" javax.xml.ws.WebServiceException: java.io.IOException: Premature EOF
at com.sun.xml.ws.transport.http.client.HttpTransport Pipe.process(HttpTransportPipe.java:225)
at com.sun.xml.ws.transport.http.client.HttpTransport Pipe.processRequest(HttpTransportPipe.java:136)
at com.sun.xml.ws.transport.DeferredTransportPipe.pro cessRequest(DeferredTransportPipe.java:110)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1 063)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:97 9)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:950 )
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:8 25)
at com.sun.xml.ws.client.Stub.process(Stub.java:443)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStu b.java:174)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke (SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke (SyncMethodHandler.java:102)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.j ava:154)
at $Proxy31.call(Unknown Source)
at com.etixpert.test.ws.client.WSClient.testInvocatio nService(WSClient.java:95)
at com.etixpert.test.ws.client.WSClient.main(WSClient .java:37)
Caused by: java.io.IOException: Premature EOF
at sun.net.
http://www.http.ChunkedInputStream.r...ream.java:538)
at sun.net.
http://www.http.ChunkedInputStream.r...ream.java:582)
at sun.net.
http://www.http.ChunkedInputStream.r...ream.java:669)
at java.io.FilterInputStream.read(FilterInputStream.j ava:116)
at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(HttpURLConnection.java:2672)
at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(HttpURLConnection.java:2667)
at com.sun.xml.ws.transport.http.client.HttpClientTra nsport$1.close(HttpClientTransport.java:197)
at com.sun.xml.ws.transport.http.client.HttpTransport Pipe.createResponsePacket(HttpTransportPipe.java:2 55)
at com.sun.xml.ws.transport.http.client.HttpTransport Pipe.process(HttpTransportPipe.java:221)
I think we have the same problem