Hi<br />
<br />
I am trying to create report using web service data source. I create Data source for my WSDL file. After that I create Data set, I am not able to see any parameters in SOAP parameters table. I am able to see those parameters in my WSDL.<br />
<br />
Here is my WSDL :<br />
<?xml version="1.0" encoding="UTF-8" ?> <br />
- <!-- Published by JAX-WS RI at <a class='bbc_url' href='
http://jax-ws.dev.java.net'>http://jax-ws.dev.java.net</a>. RI's version is JAX-WS RI 2.1.3-hudson-390-. <br />
--> <br />
- <!-- Generated by JAX-WS RI at <a class='bbc_url' href='
http://jax-ws.dev.java.net'>http://jax-ws.dev.java.net</a>. RI's version is JAX-WS RI 2.1.3-hudson-390-. <br />
--> <br />
- <definitions xmlns="
http://schemas.xmlsoap.org/wsdl/" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="
http://com.webService.ws/" xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" name="CustomerListService" targetNamespace="
http://com.webService.ws/"><br />
- <types><br />
- <xsd:schema><br />
<xsd:import namespace="
http://com.webService.ws/" schemaLocation="
http://localhost:8080/WebServiceExample/CustomerListPort?xsd=1" /> <br />
</xsd:schema><br />
</types><br />
- <message name="getCustomerList"><br />
<part element="tns:arg0" name="cId" /> <br />
</message><br />
- <message name="getCustomerListResponse"><br />
<part name="return" type="tns:arrayList" /> <br />
</message><br />
- <portType name="CustomerList"><br />
- <operation name="getCustomerList"><br />
<input message="tns:getCustomerList" /> <br />
<output message="tns:getCustomerListResponse" /> <br />
</operation><br />
</portType><br />
- <binding name="CustomerListPortBinding" type="tns:CustomerList"><br />
<soap:binding style="rpc" transport="
http://schemas.xmlsoap.org/soap/http" /> <br />
- <operation name="getCustomerList"><br />
<soap:operation soapAction="" /> <br />
- <output><br />
<soap:body namespace="
http://com.webService.ws/" use="literal" /> <br />
</output><br />
</operation><br />
</binding><br />
- <service name="CustomerListService"><br />
- <port binding="tns:CustomerListPortBinding" name="CustomerListPort"><br />
<soap:address location="
http://localhost:8080/WebServiceExample/CustomerListPort" /> <br />
</port><br />
</service><br />
</definitions><br />
<br />
This web service returns a list of customers :<br />
<Customers><br />
<Customer><br />
<FirstName>John</FirstName><br />
<LastName>Doe</LastName><br />
…<br />
</Customer><br />
</Customers><br />
This returned as an ArrayList of Customer Objects.<br />
<br />
Here is my java program :<br />
<br />
package com.webService.ws;<br />
<br />
import java.util.ArrayList;<br />
<br />
import javax.jws.WebMethod;<br />
import javax.jws.WebParam;<br />
import javax.jws.WebResult;<br />
import javax.jws.WebService;<br />
import javax.jws.soap.SOAPBinding;<br />
<br />
@SOAPBinding(style = SOAPBinding.Style.RPC,use = SOAPBinding.Use.LITERAL,parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) <br />
@WebService(serviceName="CustomerListService") <br />
public class CustomerList {<br />
<br />
protected ArrayList customerList = new ArrayList <Customer>();<br />
<br />
@SuppressWarnings("unchecked")<br />
@WebMethod(operationName = "getCustomerList")<br />
//
@WebResult(partName="customerList")<br />
public ArrayList<Customer> getCustomerList(
@WebParam(mode=WebParam.Mode.IN, header=true,partName="cId") String cId){<br />
<br />
Customer cs = null;<br />
<br />
for(int i = 0; i <5; i++){<br />
cs = new Customer();<br />
cs.setId(i);<br />
cs.setStrFirstName(i + "Peter");<br />
cs.setStrLastName(i + "Jefferson");<br />
customerList.add(cs);<br />
<br />
}<br />
<br />
return customerList;<br />
<br />
}<br />
<br />
<br />
} <br />
<br />
Please suggest me on this. It is very urgent for me.<br />
<br />
Thanks