Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » No SOAP parameters displayed for my web service when using the BIRT Data Set wizard
No SOAP parameters displayed for my web service when using the BIRT Data Set wizard [message #881882] Tue, 05 June 2012 12:17 Go to next message
Paul Ramsden is currently offline Paul RamsdenFriend
Messages: 79
Registered: February 2011
Location: BW, Germany
Member
I created a simple web service based on a Java bean. There are 2 methods and each has few simple parameters. The service was created using 'Document wrapped' mapping and SOAP 1.2 binding. The service is deployed on a Websphere app server.

In BIRT, I defined a Data Source for the web service. When I try to create a Data Set, the wizard does not display any service parameters and no row selection can be made.

What might I be doing wrong here?

(I have tried using RPC mapping which does allow the parameters to be displayed in the wizard but does not seem to allow object arrays. I have also tried 1.1 binding but the result is the same)


Thanks
Re: No SOAP parameters displayed for my web service when using the BIRT Data Set wizard [message #882000 is a reply to message #881882] Tue, 05 June 2012 15:50 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Paul,

What does the wsdl look like? Currently I do not think the web service
oda supports 1.2.

Jason

On 6/5/2012 8:17 AM, Paul Ramsden wrote:
> I created a simple web service based on a Java bean. There are 2 methods
> and each has few simple parameters. The service was created using
> 'Document wrapped' mapping and SOAP 1.2 binding. The service is deployed
> on a Websphere app server.
>
> In BIRT, I defined a Data Source for the web service. When I try to
> create a Data Set, the wizard does not display any service parameters
> and no row selection can be made.
>
> What might I be doing wrong here?
>
> (I have tried using RPC mapping which does allow the parameters to be
> displayed in the wizard but does not seem to allow object arrays. I have
> also tried 1.1 binding but the result is the same)
>
>
> Thanks
Re: No SOAP parameters displayed for my web service when using the BIRT Data Set wizard [message #882256 is a reply to message #882000] Wed, 06 June 2012 06:10 Go to previous message
Paul Ramsden is currently offline Paul RamsdenFriend
Messages: 79
Registered: February 2011
Location: BW, Germany
Member
Jason,

Thanks for the reply. Here is the wsdl (generated by Websphere using soap 1.1). I just noticed the 'import'. Perhaps BIRT is not handling the import and therefore not getting the type definitions. I'll try replacing it....


<definitions name="BirtService" targetNamespace="http://ws.acme.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ws.acme.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema>
<xsd:import namespace="http://ws.acme.com/" schemaLocation="BirtService_schema1.xsd"/>
</xsd:schema>
</types>
<message name="attendingTotals">
<part name="parameters" element="tns:attendingTotals"/>
</message>
<message name="attendingTotalsResponse">
<part name="parameters" element="tns:attendingTotalsResponse"/>
</message>
<message name="staffAttending">
<part name="parameters" element="tns:staffAttending"/>
</message>
<message name="staffAttendingResponse">
<part name="parameters" element="tns:staffAttendingResponse"/>
</message>
<message name="Exception">
<part name="fault" element="tns:Exception"/>
</message>
<portType name="BirtDelegate">
<operation name="staffAttending">
<input message="tns:staffAttending"/>
<output message="tns:staffAttendingResponse"/>
<fault name="Exception" message="tns:Exception"/>
</operation>
<operation name="attendingTotals">
<input message="tns:attendingTotals"/>
<output message="tns:attendingTotalsResponse"/>
<fault name="Exception" message="tns:Exception"/>
</operation>
</portType>
<binding name="BirtPortBinding" type="tns:BirtDelegate">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="staffAttending">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="Exception">
<soap:fault name="Exception" use="literal"/>
</fault>
</operation>
<operation name="attendingTotals">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="Exception">
<soap:fault name="Exception" use="literal"/>
</fault>
</operation>
</binding>
<service name="BirtService">
<port name="BirtPort" binding="tns:BirtPortBinding">
<soap:address location="http://SERVER/CONTEXT/services/BirtServices"/>
</port>
</service>
</definitions>
Previous Topic:Bookmarks missing from PDF Reports
Next Topic:Excel Report Error
Goto Forum:
  


Current Time: Sat Dec 20 13:06:13 GMT 2014

Powered by FUDForum. Page generated in 0.01738 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software