Global Matrix API

Documentation

 

API Web Booking WSDL

 

WSDL stands for Web Services Definition Language and a WSDL document is an XML document that defines the services as collections of network endpoints or ports. Through these documents, clients wishing to call Global Matrix Web Booking API will be able to quickly understand the interface methods and data elements required to build their interface wrapper and integrate their client application with the API system. A WSDL document uses the following elements in defining network services.

 

The following is the Global Matrix Web Booking WSDL document used by clients to today.

 

- <definitions name="WebBookingService" targetNamespace="http://com.gblmatrix.WS.WebBooking/samples/WBInterface" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://com.gblmatrix.WS.WebBooking/samples/WebBookingInterface/types" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.gblmatrix.WS.WebBooking/samples/WBInterface" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

- <types>

- <schema targetNamespace="http://com.gblmatrix.WS.WebBooking/samples/WebBookingInterface/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://com.gblmatrix.WS.WebBooking/samples/WebBookingInterface/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

- <complexType name="authenticate">

- <sequence>

  <element name="username" nillable="true" type="string" />

  <element name="password" nillable="true" type="string" />

  </sequence>

  </complexType>

- <complexType name="authenticateResponse">

- <sequence>

  <element name="result" nillable="true" type="string" />

  </sequence>

  </complexType>

- <complexType name="processXML">

- <sequence>

  <element name="securityToken" nillable="true" type="string" />

  <element name="xmlBookingRecord" nillable="true" type="string" />

  <element name="xmlBookingResponse" nillable="true" type="string" />

  </sequence>

  </complexType>

- <complexType name="processXMLResponse">

- <sequence>

  <element name="result" nillable="true" type="string" />

  </sequence>

  </complexType>

  <element name="authenticate" type="tns:authenticate" />

  <element name="authenticateResponse" type="tns:authenticateResponse" />

  <element name="processXML" type="tns:processXML" />

  <element name="processXMLResponse" type="tns:processXMLResponse" />

  </schema>

  </types>

- <message name="WebBookingInterface_authenticateResponse">

  <part element="ns1:authenticateResponse" name="result" />

  </message>

- <message name="WebBookingInterface_authenticate">

  <part element="ns1:authenticate" name="parameters" />

  </message>

- <message name="WebBookingInterface_processXML">

  <part element="ns1:processXML" name="parameters" />

  </message>

- <message name="WebBookingInterface_processXMLResponse">

  <part element="ns1:processXMLResponse" name="result" />

  </message>

- <portType name="WebBookingInterface">

- <operation name="authenticate">

  <input message="tns:WebBookingInterface_authenticate" />

  <output message="tns:WebBookingInterface_authenticateResponse" />

  </operation>

- <operation name="processXML">

  <input message="tns:WebBookingInterface_processXML" />

  <output message="tns:WebBookingInterface_processXMLResponse" />

  </operation>

  </portType>

- <binding name="WebBookingInterfaceBinding" type="tns:WebBookingInterface">

  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />

- <operation name="authenticate">

  <soap:operation soapAction="" />

- <input>

  <soap:body use="literal" />

  </input>

- <output>

  <soap:body use="literal" />

  </output>

  </operation>

- <operation name="processXML">

  <soap:operation soapAction="" />

- <input>

  <soap:body use="literal" />

  </input>

- <output>

  <soap:body use="literal" />

  </output>

  </operation>

  </binding>

- <service name="WebBookingService">

- <port binding="tns:WebBookingInterfaceBinding" name="WebBookingInterfacePort">

  <soap:address location="http://lexus:8080/GlobalMatrixAPI/WebBooking" />

  </port>

  </service>

  </definitions>