103 lines
3.8 KiB
XML
103 lines
3.8 KiB
XML
<?xml version='1.0' encoding='UTF-8' ?>
|
|
<definitions name='Inventory'
|
|
targetNamespace='urn:MidlandSOAP'
|
|
xmlns:tns='urn:MidlandSOAP'
|
|
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
|
|
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
|
|
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
|
|
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
|
|
xmlns='http://schemas.xmlsoap.org/wsdl/'>
|
|
|
|
<types>
|
|
<xsd:schema targetNamespace="urn:MidlandSOAP">
|
|
<xsd:complexType name="vehicle">
|
|
<xsd:sequence>
|
|
<xsd:element name="RegNumber" type="xsd:string" />
|
|
<xsd:element name="Brand" type="xsd:string" />
|
|
<xsd:element name="Model" type="xsd:string" />
|
|
<xsd:element name="Type" type="xsd:string" />
|
|
<xsd:element name="ChassiNumber" type="xsd:string" />
|
|
<xsd:element name="Year" type="xsd:int" />
|
|
<xsd:element name="Status" type="xsd:string" />
|
|
<xsd:element name="TrafficFirstTimeSwe" type="xsd:string" />
|
|
<xsd:element name="Weight" type="xsd:int" />
|
|
<xsd:element name="FirstName" type="xsd:string" />
|
|
<xsd:element name="SurName" type="xsd:string" />
|
|
<xsd:element name="CompanyName" type="xsd:string" />
|
|
<xsd:element name="Street" type="xsd:string" />
|
|
<xsd:element name="Zip" type="xsd:string" />
|
|
<xsd:element name="City" type="xsd:string" />
|
|
<xsd:element name="Phone" type="xsd:string" />
|
|
<xsd:element name="Phone2" type="xsd:string" />
|
|
<xsd:element name="MobilePhone" type="xsd:string" />
|
|
<xsd:element name="Email" type="xsd:string" />
|
|
<xsd:element name="ServiceDate" type="xsd:string" />
|
|
<xsd:element name="MeterService" type="xsd:int" />
|
|
<xsd:element name="MemberID" type="xsd:int" />
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:schema>
|
|
</types>
|
|
|
|
<message name='getRegNumRequest'>
|
|
<part name='RegNum' type='xsd:string'/>
|
|
</message>
|
|
<message name='getRegNumResponse'>
|
|
<part name='VehicleID' type='xsd:integer'/>
|
|
</message>
|
|
<message name='exportToMidlandRequest'>
|
|
<part name='Vehicle' type='tns:vehicle'/>
|
|
</message>
|
|
<message name='exportToMidlandResponse'>
|
|
<part name='Result' type='xsd:integer'/>
|
|
</message>
|
|
|
|
<portType name='MidlandPortType'>
|
|
<operation name='getRegNum'>
|
|
<input message='tns:getRegNumRequest'/>
|
|
<output message='tns:getRegNumResponse'/>
|
|
</operation>
|
|
|
|
<operation name='exportToMidland'>
|
|
<input message='tns:exportToMidlandRequest'/>
|
|
<output message='tns:exportToMidlandResponse'/>
|
|
</operation>
|
|
</portType>
|
|
|
|
<binding name='MidlandBinding' type='tns:MidlandPortType'>
|
|
|
|
<soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
|
|
|
|
<wsdl:documentation>Check if registration number exist, return Vehicle ID (int) if Midland customer</wsdl:documentation>
|
|
<operation name='getRegNum'>
|
|
<soap:operation soapAction='urn:xmethods-delayed-quotes#getRegNum'/>
|
|
<input>
|
|
<soap:body use='encoded' namespace='urn:xmethods-delayed-quotes'
|
|
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
|
|
</input>
|
|
<output>
|
|
<soap:body use='encoded' namespace='urn:xmethods-delayed-quotes'
|
|
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
|
|
</output>
|
|
</operation>
|
|
|
|
<wsdl:documentation>Send Vehicle and Service data to Midland</wsdl:documentation>
|
|
<operation name='exportToMidland'>
|
|
<soap:operation soapAction='urn:xmethods-delayed-quotes#exportToMidland'/>
|
|
<input>
|
|
<soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
|
|
</input>
|
|
<output>
|
|
<soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
|
|
</output>
|
|
</operation>
|
|
|
|
</binding>
|
|
|
|
<service name='MidlandService'>
|
|
<port name='MidlandPort' binding='MidlandBinding'>
|
|
<soap:address location='http://dev.midlandoil.se/garanti/soap/'/>
|
|
</port>
|
|
</service>
|
|
|
|
</definitions> |