user1011376
user1011376

Reputation: 221

ClientTransportException: HTTP transport error: java.lang.UnsupportedOperationException: Method not implemented

I am connecting to a .NET web service using java. I am using version 1.6.30, running tomcat 6. I ran the same service using Java 7 and it works fine, but I have to use 1.6.30 because it is the server version. The issue seems similar to the problem found here, however the link to the workaround doesn't work. I've looked all over for a fix a have been unable to find one.

HTTP transport error: java.lang.UnsupportedOperationException: Method not implemented.
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error:     java.lang.UnsupportedOperationException: Method not implemented.
at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:121)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:142)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:83)
at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:587)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:546)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:531)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:428)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:211)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:124)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:98)
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)
at $Proxy39.loginSBFE(Unknown Source)

Upvotes: 1

Views: 2627

Answers (1)

user1011376
user1011376

Reputation: 221

Figured out the solution -- I had to add a jar of jaxws-rt 2.2.9 to my pom. This fixed the issue for me.

Upvotes: 1

Related Questions