These instructions are SOAP server dependent. Below is an Apache Axis wsdl generated for the FlashConnect interface. The wsdl language facilitates the client program creation in that it allows you to write less code (than a nonwsdl application requires) to accomplish your program’s goals.
NOTE |
|
The wsdl file should be either available on your web server to access client software (more flexible) or shipped with the client software (better performance).
FlashConnect.wsdl
<?xml version="1.0" encoding="UTF-8" ?> <wsdl:definitions targetNamespace="http://<hostname>:8080/axis/services/FlashConnect" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://<hostname>:8080/axis/services/FlashConnect" xmlns:intf="http://<hostname>:8080/axis/services/FlashConnect" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://br.fc.rdta.com" xmlns:tns2="http://common.fc.rdta.com" 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://<hostname>:8080/axis/services/FlashConnect" xmlns="http://www.w3.org/2001/XMLSchema"> |
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <complexType name="ArrayOf_xsd_string"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" /> </restriction> </complexContent> </complexType> </schema> <schema targetNamespace="http://common.fc.rdta.com" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> |
<complexType abstract="true" name="RdtaExceptions"> <sequence /> </complexType> </schema> <schema targetNamespace="http://br.fc.rdta.com" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <complexType name="FCClassSetupException"> <complexContent> <extension base="tns2:RdtaExceptions"> <sequence /> </extension> |
</complexContent> </complexType> </schema> </wsdl:types> <wsdl:message name="executeRequest"> <wsdl:part name="in0" type="xsd:string" /> <wsdl:part name="in1" type="xsd:string" /> <wsdl:part name="in2" type="xsd:string" /> <wsdl:part name="in3" type="xsd:string" /> <wsdl:part name="in4" type="impl:ArrayOf_xsd_string" /> <wsdl:part name="in5" type="impl:ArrayOf_xsd_string" /> </wsdl:message> |
<wsdl:message name="executeRequest1"> <wsdl:part name="in0" type="xsd:string" /> <wsdl:part name="in1" type="impl:ArrayOf_xsd_string" /> <wsdl:part name="in2" type="impl:ArrayOf_xsd_string" /> </wsdl:message> <wsdl:message name="FCClassSetupException"> <wsdl:part name="fault" type="tns1:FCClassSetupException" /> </wsdl:message> <wsdl:message name="executeResponse"> <wsdl:part name="executeReturn" type="xsd:string" /> </wsdl:message> |
<wsdl:message name="executeResponse1"> <wsdl:part name="executeReturn" type="xsd:string" /> </wsdl:message> <wsdl:portType name="FlashConnect"> <wsdl:operation name="execute" parameterOrder="in0 in1 in2 in3 in4 in5"> <wsdl:input message="impl:executeRequest" name="executeRequest" /> <wsdl:output message="impl:executeResponse" name="executeResponse" /> <wsdl:fault message="impl:FCClassSetupException" name="FCClassSetupException" /> </wsdl:operation> <wsdl:operation name="execute" parameterOrder="in0 in1 in2"> <wsdl:input message="impl:executeRequest1" name="executeRequest1" /> |
<wsdl:output message="impl:executeResponse1" name="executeResponse1" /> <wsdl:fault message="impl:FCClassSetupException" name="FCClassSetupException" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="FlashConnectSoapBinding" type="impl:FlashConnect"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="execute"> <wsdlsoap:operation soapAction="" /> <wsdl:input name="executeRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://facade.fc.rdta.com" use="encoded" /> </wsdl:input> |
<wsdl:output name="executeResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://<hostname>:8080/axis/services/FlashConnect" use="encoded" /> </wsdl:output> <wsdl:fault name="FCClassSetupException"> <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://<hostname>:8080/axis/services/FlashConnect" use="encoded" /> </wsdl:fault> </wsdl:operation> <wsdl:operation name="execute"> <wsdlsoap:operation soapAction="" /> <wsdl:input name="executeRequest1"> |
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://facade.fc.rdta.com" use="encoded" /> </wsdl:input> <wsdl:output name="executeResponse1"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://<hostname>:8080/axis/services/FlashConnect" use="encoded" /> </wsdl:output> <wsdl:fault name="FCClassSetupException"> <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://<hostname>:8080/axis/services/FlashConnect" use="encoded" /> </wsdl:fault> </wsdl:operation> |
</wsdl:binding> <wsdl:service name="FlashConnectService"> <wsdl:port binding="impl:FlashConnectSoapBinding" name="FlashConnect"> <wsdlsoap:address location="http://<hostname>:8080/axis/services/FlashConnect" /> </wsdl:port> </wsdl:service> </wsdl:definitions> |
See Also
Deploying the FlashConnect SOAP Interface
Deploying the execute Interface Methods