Problem with BIP WSDL and JDeveloper

Mariano Greis

Member
We've been exploring BI Publisher's WSDL APIs and we've run into a problem, which I'm kinda sure was working perfectly
until today. We're using JDeveloper's Web Service Proxy template for our testing as per instructions here: http://oraclebizint.wordpress.com/2008/01/04/oracle-bi-publisher-101331-creating-applications-using-jdeveloper-11g-and-web-service-soap-apis/

Whenever we call the getReportDefinition() method with the proper paramenters (reportAbsolutePath, username and password), we get the following runtime error:

<font class="small">Code:</font><hr /><pre>expected element is missing: onLine
at qpublisher.proxy.runtime.ReportDefinition_LiteralSerializer.doDeserialize(ReportDefinition_LiteralSerializer.java:289)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at qpublisher.proxy.runtime.GetReportDefinitionResponse_LiteralSerializer.doDeserialize(GetReportDefinitionResponse_LiteralSerializer.java:58)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at qpublisher.proxy.runtime.PublicReportServiceSoapBinding_Stub._deserialize_getReportDefinition(PublicReportServiceSoapBinding_Stub.java:4521)
at qpublisher.proxy.runtime.PublicReportServiceSoapBinding_Stub._readFirstBodyElement(PublicReportServiceSoapBinding_Stub.java:3724)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at qpublisher.proxy.runtime.PublicReportServiceSoapBinding_Stub.getReportDefinition(PublicReportServiceSoapBinding_Stub.java:3139)
at qpublisher.proxy.PublicReportServiceClient.getReportDefinition(PublicReportServiceClient.java:82)
at qpublisher.proxy.PublicReportServiceClient.main(PublicReportServiceClient.java:30)
</pre><hr />

I've checked the SOAP messages that we get from the BI Publisher service and they do contain the element the error message is complaining about. Commenting the line on the Java class that does the checking only makes it prompt for more missing elements.

Any ideas?
 
Back
Top