Different Behavior Exhibited Between soapUI And ODI 11g Tool Called ODIInvokeWebService When A Functional Error Message Is returned From A Web Service Call (Doc ID 1531846.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Data Integrator - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

A certain number of circumstances have been when encountered when invoking the execution of a web service using ODI version 11g tool called OdiInvokeWebService such that the call to this tool crashes and no returned XML file is returned.

This contrasts to the behavior of soapUI tool which does not crash and correctly creates a returned XML file.

Example 1

When the input call data to the web service call is used is correct, no problems whatsoever occur and the returned XML file is correctly formulated.

However, when the WebService call fails for reasons such a application level data issues on the web service side (for example, when attempting to insert a duplicate entry of data into a table), and an error message is returned by the web service method and ODIInvokeWebService aborts abruptly with the following message and no returned XML file is created:

com.sunopsis.wsinvocation.SnpsWSInvocationException: java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredDocumentImpl.getXmlVersion()Ljava/lang/String;
  at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:95)
  at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:126)
  ...
Caused by: java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredDocumentImpl.getXmlVersion()Ljava/lang/String;
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:748)
  at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:719)
  ...

This behavior contrasts to the one exhibited by the soapUI tool which creates a returned XML file with appropriate error message.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms