NullPointerException When Invoking Web Service Called runReport on BI Publisher From ODI Tool Called OdiInvokeWebService (Doc ID 972378.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version 10.1.3.5.2 to 11.1.1.5.0
Information in this document applies to any platform.

Symptoms

When attempting to launch a Web Service implemented on BI Publisher with the creation of a response file call from ODI version 10.1.3.5.4 using the OdiInvokeWebService tool then the call returns the following message:

java.lang.NullPointerException at com.sunopsis.wsinvocation.client.formatter.SnpsAbstractWebServiceResponseFormatter.format2File(SnpsAbstractWebServiceResponseFormatter.java)
   at com.sunopsis.dwg.tools.InvokeWebService.actionExecute(InvokeWebService.java)
   at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java)

More specifically, this occurs when attempting to call the PublicReportService on the port called runReport implemented in BI Publisher using the following syntax:

OdiInvokeWebService "-URL=http://myServer/xmlpserver/services/PublicReportService?wsdl" "-PORT_TYPE=PublicReportService" "-OPERATION=runReport" "-RESPONSE_MODE=NEW_FILE" "-RESPONSE_FILE_CHARSET=ASCII " "-RESPONSE_XML_ENCODING=UTF-8" "-RESPONSE_FILE=Bi-Pub.xml"
<runReportRequest>
<reportRequest>
<attributeFormat>rtf</attributeFormat>
<attributeLocale>en-US</attributeLocale>
<attributeTemplate>test</attributeTemplate>
<parameterNameValues/>
<reportAbsolutePath>/~administrator/.........../Test2.xdo</reportAbsolutePath>
</reportRequest>
<userID>Administrator</userID>
<password>myPassword</password>
</runReportRequest>

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