Hi All,
I am using Jdeveloper 11g to develop web service proxy using jAXWS approach.When i try to access the method using the stadalone
java class, i get the following error
com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://peoplesoft.com/KCM_CASE_SOLN_CI}Get__CompIntfc__KCM_CASE_SOLN_CIResponse but found: {http://schemas.xmlsoap.org/ws/2002/xx/secext}Get__CompIntfc__KCM_CASE_SOLN_CIResponse
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:214)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:222)
at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:531)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:127)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at $Proxy30.getCompIntfcKCMCASESOLNCI(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy31.getCompIntfcKCMCASESOLNCI(Unknown Source)
at project1.proxy.KCM_CASE_SOLN_CISoapClient.main(KCM_CASE_SOLN_CISoapClient.java:51)
I checked the webservice using
SOAP UI and its working fine.
I added soap handler to my java class and it shows the entire response from the webservice.
So i think its failing while trying to write the response to the java stub.
earlier working with a different webservice and integrating that webservice in to a
JSF application, iwas getting the same error , i could resolve that by changing some mapping while creating the proxy.
This time i followed all the correct steps yet it is failing as a standlone java class let alone jsf application.
Any help will be appreciated.
Thank you in advance
regards
ash