SOAP 3 Callback WSDL

From
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
<pre>
+
<source lang="xml">
 
<?xml version="1.0" encoding="utf-8"?>
 
<?xml version="1.0" encoding="utf-8"?>
 
<definitions targetNamespace="http://soap2.nads.econz.co.nz"
 
<definitions targetNamespace="http://soap2.nads.econz.co.nz"
Line 326: Line 326:
 
</service>
 
</service>
 
</definitions>
 
</definitions>
 
+
</source>
</pre>
+

Latest revision as of 03:20, 16 December 2009

<?xml version="1.0" encoding="utf-8"?>
<definitions targetNamespace="http://soap2.nads.econz.co.nz"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
      xmlns:tns1="http://soap2.nads.econz.co.nz"
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
      xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="">
        <wsdl:types>
                <schema elementFormDefault="qualified" targetNamespace="http://soap2.nads.econz.co.nz" 
xmlns="http://www.w3.org/2001/XMLSchema">
                        <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
 
                        <simpleType name="CallbackVersion">
                                <restriction base="xsd:string">
                                        <enumeration value="VERSION_2"/>
                                </restriction>
                        </simpleType>
 
                        <simpleType name="FieldDeviceEvent">
                                <restriction base="xsd:string">
                                        <enumeration value="LOG_ON"/>
                                        <enumeration value="LOG_OFF"/>
                                </restriction>
                        </simpleType>
 
                        <simpleType name="JobStatusEvent">
                                <restriction base="xsd:string">
                                        <enumeration value="EXTERNAL_CREATE"/>
                                        <enumeration value="CREATE"/>
                                        <enumeration value="ASSIGN"/>
                                        <enumeration value="DISPATCH"/>
                                        <enumeration value="RECEIVE"/>
                                        <enumeration value="ACCEPT"/>
                                        <enumeration value="ENROUTE"/>
                                        <enumeration value="START"/>
                                        <enumeration value="PRE_SIGN_OFF"/>
                                        <enumeration value="COMPLETE"/>
                                        <enumeration value="RESUME"/>
                                        <enumeration value="INVOICE"/>
                                </restriction>
                        </simpleType>
 
                        <simpleType name="NADSWebserviceVersion">
                                <restriction base="xsd:string">
                                        <enumeration value="VERSION_2"/>
                                        <enumeration value="VERSION_3"/>
                                        <enumeration value="NADS_VERSION_2_1"/>
                                        <enumeration value="NADS_VERSION_3_1"/>
                                        <enumeration value="TIMECARD_VERSION_1"/>
                                </restriction>
                        </simpleType>
 
                        <complexType name="TextMessageEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:EventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1"  name="fieldDevicePK" type="xsd:string"/>
                                                        <element minOccurs="1" maxOccurs="1"  name="messageID" type="xsd:string"/>
                                                        <element minOccurs="1" maxOccurs="1"  name="text" type="xsd:string"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="FieldDeviceEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:EventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1" name="fieldDevicePK" type="xsd:string"/>
                                                        <element minOccurs="1" maxOccurs="1" name="deviceEvent" type="tns1:FieldDeviceEvent"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="JobIDBean">
                                <sequence>
                                        <element minOccurs="0" maxOccurs="1" name="externalRef" type="tns1:ExternalRefBean"/>
                                        <element minOccurs="0" maxOccurs="1" name="jobPK" type="xsd:string"/>
                                </sequence>
                        </complexType>
 
                        <complexType name="ExternalRefBean">
                                <sequence>
                                        <element minOccurs="0" maxOccurs="1" name="area" type="xsd:string"/>
                                        <element minOccurs="0" maxOccurs="1" name="id" type="xsd:string"/>
                                </sequence>
                        </complexType>
                        <complexType name="NoteBean">
 
                                <sequence>
                                        <element name="primaryKey" nillable="true" type="xsd:string"/>
                                        <element name="addedBy" nillable="true" type="xsd:string">
                                                <annotation>
                                                        <documentation>
                                                                This will be set to the name of the user of the field device
                                                        </documentation>
                                                </annotation>
                                        </element>
                                        <element name="privat" type="xsd:boolean"/>
                                        <element name="text" nillable="true" type="xsd:string"/>
                                        <element name="whenCreated" nillable="true" type="xsd:dateTime"/>
                                </sequence>
                        </complexType>
                        <element name="eventSeq">
                                <complexType>
                                        <sequence>
                                                <element minOccurs="0" maxOccurs="1" name="externalServiceID" type="tns1:UserIDBean"/>
                                                <element minOccurs="0" maxOccurs="1" name="eventBeans" type="tns1:ArrayOfEventBean"/>
                                        </sequence>
                                </complexType>
                        </element>
 
                        <complexType name="UserIDBean">
                                <sequence>
                                        <element minOccurs="0" maxOccurs="1" name="password" type="xsd:string"/>
                                        <element minOccurs="0" maxOccurs="1" name="userName" type="xsd:string"/>
                                        <element minOccurs="1" maxOccurs="1" name="version" type="tns1:NADSWebserviceVersion"/>
                                </sequence>
                        </complexType>
 
                        <complexType name="ArrayOfEventBean">
                                <sequence>
                                        <element minOccurs="1" maxOccurs="unbounded" name="EventBean" nillable="false" type="tns1:EventBean"/>
                                </sequence>
                        </complexType>
 
                        <complexType name="JobCancelEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:JobEventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1" name="reason" type="xsd:string"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="EventBean">
                                <sequence>
                                        <element minOccurs="1" maxOccurs="1" name="whenOccurred" type="xsd:dateTime"/>
                                </sequence>
                        </complexType>
 
                        <complexType name="JobEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:EventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1" name="jobID" type="tns1:JobIDBean"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="JobRecallEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:JobEventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1" name="fieldDevicePK" type="xsd:string"/>
                                                        <element minOccurs="1" maxOccurs="1" name="forced" type="xsd:boolean"/>
                                                        <element minOccurs="1" maxOccurs="1" name="reason" type="xsd:string"/>
                                                        <element minOccurs="0" maxOccurs="1" name="result" type="xsd:string"/>
                                                        <element minOccurs="0" maxOccurs="1" name="whenComplete" type="xsd:dateTime"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="JobRejectEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:JobEventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1" name="fieldDevicePK" type="xsd:string"/>
                                                        <element minOccurs="1" maxOccurs="1" name="reason" type="xsd:string"/>
                                                        <element minOccurs="0" maxOccurs="1" name="notes" type="xsd:string"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="JobReassignEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:JobEventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1"  name="toFieldDevicePK" type="xsd:string"/>
                                                        <element minOccurs="1" maxOccurs="1"  name="fromFieldDevicePK" type="xsd:string"/>
                                                        <element minOccurs="1" maxOccurs="1"  name="reason" type="xsd:string"/>
                                                        <element minOccurs="0" maxOccurs="1"  name="notes" type="xsd:string"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="JobResumeEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:JobEventBean">
                                                <sequence>
                                                        <element name="statusEvent" nillable="false" type="tns1:JobStatusEvent"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="JobOnHoldEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:JobEventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1" name="reason" type="xsd:string"/>
                                                        <element minOccurs="0" maxOccurs="1" name="notes" type="xsd:string"/>
                                                        <element minOccurs="0" maxOccurs="1" name="whenEstimatedResume" type="xsd:dateTime"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="JobStatusEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:JobEventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1" name="statusEvent" type="tns1:JobStatusEvent"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <complexType name="JobNoteEventBean">
                                <complexContent mixed="false">
                                        <extension base="tns1:JobEventBean">
                                                <sequence>
                                                        <element minOccurs="1" maxOccurs="1" name="fieldDevicePK" type="xsd:string"/>
                                                        <element minOccurs="1" maxOccurs="1" name="note" type="tns1:NoteBean"/>
                                                </sequence>
                                        </extension>
                                </complexContent>
                        </complexType>
 
                        <element name="getVersion">
                                <complexType/>
                        </element>
 
                        <element name="getVersionResponse">
                                <complexType>
                                        <sequence>
                                                <element minOccurs="0" maxOccurs="1" name="getVersionResult" type="tns1:CallbackVersion"/>
                                        </sequence>
                                </complexType>
                        </element>
 
                        <element name="heartBeat">
                                <complexType>
                                        <sequence>
                                                <element minOccurs="1" maxOccurs="1" name="errorsSinceLastSuccess" type="xsd:int"/>
                                        </sequence>
                                </complexType>
                        </element>
 
                        <element name="heartBeatResponse">
                                <complexType/>
                        </element>
                </schema>
        </wsdl:types>
        <message name="eventSeqSoapIn">
                <part name="parameters" element="tns1:eventSeq"/>
        </message>
        <message name="getVersionSoapIn">
                <part name="parameters" element="tns1:getVersion"/>
        </message>
        <message name="getVersionSoapOut">
                <part name="parameters" element="tns1:getVersionResponse"/>
        </message>
        <message name="heartBeatSoapIn">
                <part name="parameters" element="tns1:heartBeat"/>
        </message>
        <message name="heartBeatSoapOut">
                <part name="parameters" element="tns1:heartBeatResponse"/>
        </message>
        <portType name="CallbackSoap">
                <operation name="eventSeq">
                        <input message="tns1:eventSeqSoapIn"/>
                </operation>
                <operation name="getVersion">
                        <input message="tns1:getVersionSoapIn"/>
                        <output message="tns1:getVersionSoapOut"/>
                </operation>
                <operation name="heartBeat">
                        <input message="tns1:heartBeatSoapIn"/>
                        <output message="tns1:heartBeatSoapOut"/>
                </operation>
        </portType>
        <binding name="CallbackSoap" type="tns1:CallbackSoap">
                <wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
                <operation name="eventSeq">
                        <wsdlsoap:operation soapAction="http://soap2.nads.econz.co.nz/eventSeq" style="document"/>
                        <input>
                                <wsdlsoap:body use="literal"/>
                        </input>
                        <output>
                                <wsdlsoap:body use="literal"/>
                        </output>
                </operation>
                <operation name="getVersion">
                        <wsdlsoap:operation soapAction="http://soap2.nads.econz.co.nz/getVersion" style="document"/>
                        <input>
                                <wsdlsoap:body use="literal"/>
                        </input>
                        <output>
                                <wsdlsoap:body use="literal"/>
                        </output>
                </operation>
                <operation name="heartBeat">
                        <wsdlsoap:operation soapAction="http://soap2.nads.econz.co.nz/heartBeat" style="document"/>
                        <input>
                                <wsdlsoap:body use="literal"/>
                        </input>
                        <output>
                                <wsdlsoap:body use="literal"/>
                        </output>
                </operation>
        </binding>
        <service name="Callback">
                <port name="CallbackSoap" binding="tns1:CallbackSoap">
                        <wsdlsoap:address location="http://localhost.invalid/NadsCallBack/Service1.asmx"/>
                </port>
        </service>
</definitions>
Personal tools
MediaWiki Appliance - Powered by TurnKey Linux