i see. what does the java interface look like?
-----Original Message-----
From: James Black [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 29, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: Re: XML and web services
Barry Lulas wrote:
> What does your web service interface look like? I like the idea of
> having multiple options....
I have an input bean where the options are set regarding the graph
type that is desired (setting what is on the x, y, z axes and how to
group the data). There is also a byte parameter that is used to
determine how to return the result.
I figure a byte is enough, as I will never have more than that as
types to return.
- <wsdl:message name="getGraphRequest">
<wsdl:part name="input" type="tns1:EpicVisitor" />
<wsdl:part name="retmode" type="xsd:byte" />
</wsdl:message>
- <wsdl:message name="getGraphResponse">
<wsdl:part name="getGraphReturn" type="soapenc:base64" />
</wsdl:message>
- <wsdl:portType name="GraphingTools">
- <wsdl:operation name="getGraph" parameterOrder="input retmode">
<wsdl:input name="getGraphRequest" message="intf:getGraphRequest" />
<wsdl:output name="getGraphResponse" message="intf:getGraphResponse"
/>
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="GraphingToolsSoapBinding"
type="intf:GraphingTools">
<wsdlsoap:binding >
transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="getGraph">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="getGraphRequest">
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:GraphingTools" />
</wsdl:input>
- <wsdl:output name="getGraphResponse">
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:GraphingTools" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>