Question & Answer
Question
Why am I getting unmarshal exception calling external web services even when within bundle where the web services client stubs reside? Exception 1 org.apache.axis2.jaxws.ExceptionFactory createWebServiceException Create Exception: javax.xml.ws.WebServiceException: javax.xml.bind.UnmarshalException - with linked exception: [javax.xml.bind.UnmarshalException: unexpected element (uri:"http://NameAndAddress.OD_WQS.isd.ibm.com/soapoverhttp/", local:" standardizePhoneNumberResponse"). Expected elements are (none)] at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175) at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70) at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128) at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalResponse(DocLitWrappedMethodMarshaller.java:248) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:593) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:432) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:213) at com.sun.proxy.$Proxy139.addressStandAndValid(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.mdm.test.standardizer.InfoserverStandardizerExt.runISDService(InfoserverStandardizerExt.java:116) Exception 2 javax.xml.ws.WebServiceException: javax.xml.bind.JAXBException: com.ibm.mdm.wsprovider.EnrollStudentResult is not known to this context [31/01/17 20:28:58:081 EST] 00000161 SystemErr R at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175) [31/01/17 20:28:58:081 EST] 00000161 SystemErr R at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70) [31/01/17 20:28:58:081 EST] 00000161 SystemErr R at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128) [31/01/17 20:28:58:096 EST] 00000161 SystemErr R at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMinimalMethodMarshaller.demarshalResponse(DocLitBareMinimalMethodMarshaller.java:159) [31/01/17 20:28:58:096 EST] 00000161 SystemErr R at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:593) [31/01/17 20:28:58:096 EST] 00000161 SystemErr R at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:432) [31/01/17 20:28:58:096 EST] 00000161 SystemErr R at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:213) [31/01/17 20:28:58:096 EST] 00000161 SystemErr R at com.sun.proxy.$Proxy130.findEnrolledCourse(Unknown Source)
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21998761