That WSDL is quite long (many unrelated methods defined) so I included this
one instead. There are two methods defined:

  public Collection getById(int scheduleId, int startingCount, int total,
boolean directionForward) throws Exception;
  public void removeById(int scheduleId) throws Exception;

You can ignore removeById(). The Collection returned by getById() contains
Maps.


  <?xml version="1.0" encoding="UTF-8" ?> 
- <wsdl:definitions
targetNamespace="http://localhost:8080/axis/services/Statuses";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:impl="http://localhost:8080/axis/services/Statuses";
xmlns:intf="http://localhost:8080/axis/services/Statuses";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
- <wsdl:types>
- <schema targetNamespace="http://schemas.xmlsoap.org/soap/encoding/";
xmlns="http://www.w3.org/2001/XMLSchema";>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  <element name="Array" nillable="true" type="soapenc:Array" /> 
  </schema>
  </wsdl:types>
- <wsdl:message name="getByIdRequest">
  <wsdl:part name="scheduleId" type="xsd:int" /> 
  <wsdl:part name="startingCount" type="xsd:int" /> 
  <wsdl:part name="num" type="xsd:int" /> 
  <wsdl:part name="directionForward" type="xsd:boolean" /> 
  </wsdl:message>
  <wsdl:message name="removeByIdResponse" /> 
- <wsdl:message name="getByIdResponse">
  <wsdl:part name="getByIdReturn" type="soapenc:Array" /> 
  </wsdl:message>
- <wsdl:message name="removeByIdRequest">
  <wsdl:part name="scheduleId" type="xsd:int" /> 
  </wsdl:message>
- <wsdl:portType name="StatusManager">
- <wsdl:operation name="removeById" parameterOrder="scheduleId">
  <wsdl:input message="intf:removeByIdRequest" name="removeByIdRequest" /> 
  <wsdl:output message="intf:removeByIdResponse" name="removeByIdResponse"
/> 
  </wsdl:operation>
- <wsdl:operation name="getById" parameterOrder="scheduleId startingCount
num directionForward">
  <wsdl:input message="intf:getByIdRequest" name="getByIdRequest" /> 
  <wsdl:output message="intf:getByIdResponse" name="getByIdResponse" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="StatusesSoapBinding" type="intf:StatusManager">
  <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"; /> 
- <wsdl:operation name="removeById">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="removeByIdRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/Statuses"; use="encoded" /> 
  </wsdl:input>
- <wsdl:output name="removeByIdResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/Statuses"; use="encoded" /> 
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="getById">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="getByIdRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/Statuses"; use="encoded" /> 
  </wsdl:input>
- <wsdl:output name="getByIdResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/Statuses"; use="encoded" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="StatusManagerService">
- <wsdl:port binding="intf:StatusesSoapBinding" name="Statuses">
  <wsdlsoap:address location="http://localhost:8080/axis/services/Statuses";
/> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

-----Original Message-----
From: Ulrich Winter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re: return multidimensional table?


Eric,

what does the corresponding WSDL look like?


> For example, this method defined on my server works fine:
>
> public Collection list(final String username, int startingTask, int total,
> boolean directionForward) throws Exception;
>
> The returned Collection contains n Maps.

Reply via email to