javax.xml.ws.WebServiceException: java.lang.ClassCastException: com.purolator.pws.datatypes.v1.RequestContext cannot be cast to java.util.Map

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Kanupriya
, 1 year ago
java.lang.ClassCastException: com.purolator.pws.datatypes.v1.RequestContext cannot be cast to java.util.Map
via Stack Overflow by Kaliyug Antagonist
, 2 years ago
java.lang.ClassCastException: java.lang.Object cannot be cast to org.w3c.dom.Element
via Stack Overflow by Unknown author, 2 years ago
java.lang.ClassCastException: [C cannot be cast to java.lang.String
java.lang.ClassCastException: com.purolator.pws.datatypes.v1.RequestContext cannot be cast to java.util.Map
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:136)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:122)
at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
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.proxy.$Proxy26.getFullEstimate(Unknown Source)
at com.pb.gcs.client.ClientMain.main(ClientMain.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.