Java Distributed Computing |
Great American Insurance |
|
Generated WSDL
-
Now that we've started and bound our calculator service, GLUE automatically
- and dynamically - creates our WSDL.
-
Just start up the CalcServer from the command line or your favorite IDE.
-
Checking my browser, I see this:
-
The URL is localhost, port 8004, glue, then the bound name of the server
with the .wsdl extension.
-
And the raw text is:
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- generated by GLUE on Thu Sep 11 01:07:37 EDT 2003
-->
- <wsdl:definitions name="Calculator" targetNamespace="http://www.themindelectric.com/wsdl/Calculator/"
xmlns:tns="http://www.themindelectric.com/wsdl/Calculator/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tme="http://www.themindelectric.com/">
- <wsdl:message name="add0In">
<wsdl:part name="x" type="xsd:float" />
<wsdl:part name="y" type="xsd:float" />
</wsdl:message>
- <wsdl:message name="add0Out">
<wsdl:part name="Result" type="xsd:float" />
</wsdl:message>
- <wsdl:message name="subtract1In">
<wsdl:part name="x" type="xsd:float" />
<wsdl:part name="y" type="xsd:float" />
</wsdl:message>
- <wsdl:message name="subtract1Out">
<wsdl:part name="Result" type="xsd:float" />
</wsdl:message>
- <wsdl:message name="multiply2In">
<wsdl:part name="x" type="xsd:float" />
<wsdl:part name="y" type="xsd:float" />
</wsdl:message>
- <wsdl:message name="multiply2Out">
<wsdl:part name="Result" type="xsd:float" />
</wsdl:message>
- <wsdl:message name="divide3In">
<wsdl:part name="numerator" type="xsd:float" />
<wsdl:part name="denominator" type="xsd:float" />
</wsdl:message>
- <wsdl:message name="divide3Out">
<wsdl:part name="Result" type="xsd:float" />
</wsdl:message>
- <wsdl:portType name="Calculator">
- <wsdl:operation name="add" parameterOrder="x y">
<wsdl:input name="add0In" message="tns:add0In" />
<wsdl:output name="add0Out" message="tns:add0Out" />
</wsdl:operation>
- <wsdl:operation name="subtract" parameterOrder="x y">
<wsdl:input name="subtract1In" message="tns:subtract1In"
/>
<wsdl:output name="subtract1Out" message="tns:subtract1Out"
/>
</wsdl:operation>
- <wsdl:operation name="multiply" parameterOrder="x y">
<wsdl:input name="multiply2In" message="tns:multiply2In"
/>
<wsdl:output name="multiply2Out" message="tns:multiply2Out"
/>
</wsdl:operation>
- <wsdl:operation name="divide" parameterOrder="numerator denominator">
<wsdl:input name="divide3In" message="tns:divide3In"
/>
<wsdl:output name="divide3Out" message="tns:divide3Out"
/>
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="Calculator" type="tns:Calculator">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"
/>
- <wsdl:operation name="add">
<soap:operation soapAction="add" style="rpc" />
- <wsdl:input name="add0In">
<soap:body use="encoded" namespace="http://tempuri.org/Calculator"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
- <wsdl:output name="add0Out">
<soap:body use="encoded" namespace="http://tempuri.org/Calculator"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="subtract">
<soap:operation soapAction="subtract" style="rpc" />
- <wsdl:input name="subtract1In">
<soap:body use="encoded" namespace="http://tempuri.org/Calculator"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
- <wsdl:output name="subtract1Out">
<soap:body use="encoded" namespace="http://tempuri.org/Calculator"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="multiply">
<soap:operation soapAction="multiply" style="rpc" />
- <wsdl:input name="multiply2In">
<soap:body use="encoded" namespace="http://tempuri.org/Calculator"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
- <wsdl:output name="multiply2Out">
<soap:body use="encoded" namespace="http://tempuri.org/Calculator"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="divide">
<soap:operation soapAction="divide" style="rpc" />
- <wsdl:input name="divide3In">
<soap:body use="encoded" namespace="http://tempuri.org/Calculator"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
- <wsdl:output name="divide3Out">
<soap:body use="encoded" namespace="http://tempuri.org/Calculator"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="Calculator">
<wsdl:documentation>ICalculator.java Created on September
9, 2003, 9:46 PM *//**</wsdl:documentation>
- <wsdl:port name="Calculator" binding="tns:Calculator">
<soap:address location="http://12.220.85.204:8004/glue/calculator"
/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Making the Client
Created by: Brandan Jones
September 10, 2003