IBM Support

Marshal exceptions calling external Web Services from MDM 11.x integration

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)

[{"Product":{"code":"SSPVUA","label":"IBM InfoSphere Master Data Management Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Customization","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"11.0;11.3;11.4;11.5;11.6","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21998761