My Oracle Support Banner

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

Last updated on FEBRUARY 12, 2019

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://<HOSTNAME>/xmlpserver/services/PublicReportService?wsdl" "-PORT_TYPE=PublicReportService" "-OPERATION=runReport" "-RESPONSE_MODE=NEW_FILE" "-RESPONSE_FILE_CHARSET=ASCII " "-RESPONSE_XML_ENCODING=UTF-8" "-RESPONSE_FILE=<NAME>.xml"
<runReportRequest>
<reportRequest>
<attributeFormat>rtf</attributeFormat>
<attributeLocale>en-US</attributeLocale>
<attributeTemplate>test</attributeTemplate>
<parameterNameValues/>
<reportAbsolutePath>/~administrator/<DIR>/<NAME>.xdo</reportAbsolutePath>
</reportRequest>
<userID>Administrator</userID>
<password><PASSWORD></password>
</runReportRequest>

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.