PHP Classes

File: aramex/test/shipping-services-api-wsdl.wsdl

Recommend this page to a friend!
  Classes of sanesh sivan   Aramex API Integration class   aramex/test/shipping-services-api-wsdl.wsdl   Download  
File: aramex/test/shipping-services-api-wsdl.wsdl
Role: Application script
Content type: text/plain
Description: xml file
Class: Aramex API Integration class
Execute shipping services using the Aramex API
Author: By
Last change:
Date: 6 years ago
Size: 30,262 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:tns="http://ws.aramex.net/ShippingAPI/v1/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.aramex.net/ShippingAPI/v1/" name="Service_1_0"> <wsdl:types> <xsd:schema targetNamespace="http://ws.aramex.net/ShippingAPI/v1/" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified"> <xsd:element name="ShipmentCreationRequest"> <xsd:complexType> <xsd:sequence> <xsd:element type="tns:ClientInfo" name="ClientInfo" nillable="true" minOccurs="0"/> <xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/> <xsd:element type="tns:ArrayOfShipment" name="Shipments" nillable="true" minOccurs="0"/> <xsd:element type="tns:LabelInfo" name="LabelInfo" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="ClientInfo"> <xsd:sequence> <xsd:element type="xsd:string" name="UserName" nillable="true"/> <xsd:element type="xsd:string" name="Password" nillable="true"/> <xsd:element type="xsd:string" name="Version" nillable="true"/> <xsd:element type="xsd:string" name="AccountNumber" nillable="true"/> <xsd:element type="xsd:string" name="AccountPin" nillable="true"/> <xsd:element type="xsd:string" name="AccountEntity" nillable="true"/> <xsd:element type="xsd:string" name="AccountCountryCode" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ClientInfo" name="ClientInfo" nillable="true"/> <xsd:complexType name="Transaction"> <xsd:sequence> <xsd:element type="xsd:string" name="Reference1" nillable="true"/> <xsd:element type="xsd:string" name="Reference2" nillable="true"/> <xsd:element type="xsd:string" name="Reference3" nillable="true"/> <xsd:element type="xsd:string" name="Reference4" nillable="true"/> <xsd:element type="xsd:string" name="Reference5" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Transaction" name="Transaction" nillable="true"/> <xsd:complexType name="ArrayOfShipment"> <xsd:sequence> <xsd:element type="tns:Shipment" name="Shipment" nillable="true" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ArrayOfShipment" name="ArrayOfShipment" nillable="true"/> <xsd:complexType name="Shipment"> <xsd:sequence> <xsd:element type="xsd:string" name="Reference1" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Reference2" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Reference3" nillable="true" minOccurs="0"/> <xsd:element type="tns:Party" name="Shipper" nillable="true"/> <xsd:element type="tns:Party" name="Consignee" nillable="true"/> <xsd:element type="tns:Party" name="ThirdParty" nillable="true" minOccurs="0"/> <xsd:element type="xsd:dateTime" name="ShippingDateTime"/> <xsd:element type="xsd:dateTime" name="DueDate" minOccurs="0"/> <xsd:element type="xsd:string" name="Comments" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="PickupLocation" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="OperationsInstructions" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="AccountingInstrcutions" nillable="true" minOccurs="0"/> <xsd:element type="tns:ShipmentDetails" name="Details" nillable="true" minOccurs="0"/> <xsd:element type="tns:ArrayOfAttachment" name="Attachments" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="ForeignHAWB" nillable="true" minOccurs="0"/> <xsd:element type="xsd:int" name="TransportType_x0020_" minOccurs="0"/> <xsd:element type="xsd:string" name="PickupGUID" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Shipment" name="Shipment" nillable="true"/> <xsd:complexType name="Party"> <xsd:sequence> <xsd:element type="xsd:string" name="Reference1" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Reference2" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="AccountNumber" nillable="true" minOccurs="0"/> <xsd:element type="tns:Address" name="PartyAddress" nillable="true"/> <xsd:element type="tns:Contact" name="Contact" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Party" name="Party" nillable="true"/> <xsd:complexType name="Address"> <xsd:sequence> <xsd:element type="xsd:string" name="Line1" nillable="true"/> <xsd:element type="xsd:string" name="Line2" nillable="true"/> <xsd:element type="xsd:string" name="Line3" nillable="true"/> <xsd:element type="xsd:string" name="City" nillable="true"/> <xsd:element type="xsd:string" name="StateOrProvinceCode" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="PostCode" nillable="true"/> <xsd:element type="xsd:string" name="CountryCode" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Address" name="Address" nillable="true"/> <xsd:complexType name="Contact"> <xsd:sequence> <xsd:element type="xsd:string" name="Department" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="PersonName" nillable="true"/> <xsd:element type="xsd:string" name="Title" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="CompanyName" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="PhoneNumber1" nillable="true"/> <xsd:element type="xsd:string" name="PhoneNumber1Ext" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="PhoneNumber2" nillable="true"/> <xsd:element type="xsd:string" name="PhoneNumber2Ext" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="FaxNumber" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="CellPhone" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="EmailAddress" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Type" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Contact" name="Contact" nillable="true"/> <xsd:complexType name="ShipmentDetails"> <xsd:sequence> <xsd:element type="tns:Dimensions" name="Dimensions" nillable="true"/> <xsd:element type="tns:Weight" name="ActualWeight" nillable="true"/> <xsd:element type="tns:Weight" name="ChargeableWeight" nillable="true"/> <xsd:element type="xsd:string" name="DescriptionOfGoods" nillable="true"/> <xsd:element type="xsd:string" name="GoodsOriginCountry" nillable="true"/> <xsd:element type="xsd:int" name="NumberOfPieces"/> <xsd:element type="xsd:string" name="ProductGroup" nillable="true"/> <xsd:element type="xsd:string" name="ProductType" nillable="true"/> <xsd:element type="xsd:string" name="PaymentType" nillable="true"/> <xsd:element type="xsd:string" name="PaymentOptions" nillable="true"/> <xsd:element type="tns:Money" name="CustomsValueAmount" nillable="true" minOccurs="0"/> <xsd:element type="tns:Money" name="CashOnDeliveryAmount" nillable="true" minOccurs="0"/> <xsd:element type="tns:Money" name="InsuranceAmount" nillable="true" minOccurs="0"/> <xsd:element type="tns:Money" name="CashAdditionalAmount" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="CashAdditionalAmountDescription" nillable="true" minOccurs="0"/> <xsd:element type="tns:Money" name="CollectAmount" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Services" nillable="true" minOccurs="0"/> <xsd:element type="tns:ArrayOfShipmentItem" name="Items" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ShipmentDetails" name="ShipmentDetails" nillable="true"/> <xsd:complexType name="Dimensions"> <xsd:sequence> <xsd:element type="xsd:double" name="Length"/> <xsd:element type="xsd:double" name="Width"/> <xsd:element type="xsd:double" name="Height"/> <xsd:element type="xsd:string" name="Unit" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Dimensions" name="Dimensions" nillable="true"/> <xsd:complexType name="Weight"> <xsd:sequence> <xsd:element type="xsd:string" name="Unit" nillable="true"/> <xsd:element type="xsd:double" name="Value"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Weight" name="Weight" nillable="true"/> <xsd:complexType name="Money"> <xsd:sequence> <xsd:element type="xsd:string" name="CurrencyCode" nillable="true"/> <xsd:element type="xsd:double" name="Value"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Money" name="Money" nillable="true"/> <xsd:complexType name="ArrayOfShipmentItem"> <xsd:sequence> <xsd:element type="tns:ShipmentItem" name="ShipmentItem" nillable="true" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ArrayOfShipmentItem" name="ArrayOfShipmentItem" nillable="true"/> <xsd:complexType name="ShipmentItem"> <xsd:sequence> <xsd:element type="xsd:string" name="PackageType" nillable="true"/> <xsd:element type="xsd:int" name="Quantity"/> <xsd:element type="tns:Weight" name="Weight" nillable="true"/> <xsd:element type="xsd:string" name="Comments" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Reference" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ShipmentItem" name="ShipmentItem" nillable="true"/> <xsd:complexType name="ArrayOfAttachment"> <xsd:sequence> <xsd:element type="tns:Attachment" name="Attachment" nillable="true" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ArrayOfAttachment" name="ArrayOfAttachment" nillable="true"/> <xsd:complexType name="Attachment"> <xsd:sequence> <xsd:element type="xsd:string" name="FileName" nillable="true"/> <xsd:element type="xsd:string" name="FileExtension" nillable="true"/> <xsd:element type="xsd:base64Binary" name="FileContents" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Attachment" name="Attachment" nillable="true"/> <xsd:complexType name="LabelInfo"> <xsd:sequence> <xsd:element type="xsd:int" name="ReportID"/> <xsd:element type="xsd:string" name="ReportType" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:LabelInfo" name="LabelInfo" nillable="true"/> <xsd:element name="ShipmentCreationResponse"> <xsd:complexType> <xsd:sequence> <xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/> <xsd:element type="tns:ArrayOfNotification" name="Notifications" nillable="true" minOccurs="0"/> <xsd:element type="xsd:boolean" name="HasErrors" minOccurs="0"/> <xsd:element type="tns:ArrayOfProcessedShipment" name="Shipments" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="ArrayOfNotification"> <xsd:sequence> <xsd:element type="tns:Notification" name="Notification" nillable="true" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ArrayOfNotification" name="ArrayOfNotification" nillable="true"/> <xsd:complexType name="Notification"> <xsd:sequence> <xsd:element type="xsd:string" name="Code" nillable="true"/> <xsd:element type="xsd:string" name="Message" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Notification" name="Notification" nillable="true"/> <xsd:complexType name="ArrayOfProcessedShipment"> <xsd:sequence> <xsd:element type="tns:ProcessedShipment" name="ProcessedShipment" nillable="true" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ArrayOfProcessedShipment" name="ArrayOfProcessedShipment" nillable="true"/> <xsd:complexType name="ProcessedShipment"> <xsd:sequence> <xsd:element type="xsd:string" name="ID" nillable="true"/> <xsd:element type="xsd:string" name="Reference1" nillable="true"/> <xsd:element type="xsd:string" name="Reference2" nillable="true"/> <xsd:element type="xsd:string" name="Reference3" nillable="true"/> <xsd:element type="xsd:string" name="ForeignHAWB" nillable="true"/> <xsd:element type="xsd:boolean" name="HasErrors"/> <xsd:element type="tns:ArrayOfNotification" name="Notifications" nillable="true"/> <xsd:element type="tns:ShipmentLabel" name="ShipmentLabel" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ProcessedShipment" name="ProcessedShipment" nillable="true"/> <xsd:complexType name="ShipmentLabel"> <xsd:sequence> <xsd:element type="xsd:string" name="LabelURL" nillable="true"/> <xsd:element type="xsd:base64Binary" name="LabelFileContents" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ShipmentLabel" name="ShipmentLabel" nillable="true"/> <xsd:element name="LabelPrintingRequest"> <xsd:complexType> <xsd:sequence> <xsd:element type="tns:ClientInfo" name="ClientInfo" nillable="true" minOccurs="0"/> <xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="ShipmentNumber" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="ProductGroup" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="OriginEntity" nillable="true" minOccurs="0"/> <xsd:element type="tns:LabelInfo" name="LabelInfo" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="LabelPrintingResponse"> <xsd:complexType> <xsd:sequence> <xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/> <xsd:element type="tns:ArrayOfNotification" name="Notifications" nillable="true" minOccurs="0"/> <xsd:element type="xsd:boolean" name="HasErrors" minOccurs="0"/> <xsd:element type="xsd:string" name="ShipmentNumber" nillable="true" minOccurs="0"/> <xsd:element type="tns:ShipmentLabel" name="ShipmentLabel" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="PickupCreationRequest"> <xsd:complexType> <xsd:sequence> <xsd:element type="tns:ClientInfo" name="ClientInfo" nillable="true" minOccurs="0"/> <xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/> <xsd:element type="tns:Pickup" name="Pickup" nillable="true" minOccurs="0"/> <xsd:element type="tns:LabelInfo" name="LabelInfo" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="Pickup"> <xsd:sequence> <xsd:element type="tns:Address" name="PickupAddress" nillable="true"/> <xsd:element type="tns:Contact" name="PickupContact" nillable="true"/> <xsd:element type="xsd:string" name="PickupLocation" nillable="true"/> <xsd:element type="xsd:dateTime" name="PickupDate"/> <xsd:element type="xsd:dateTime" name="ReadyTime"/> <xsd:element type="xsd:dateTime" name="LastPickupTime"/> <xsd:element type="xsd:dateTime" name="ClosingTime"/> <xsd:element type="xsd:string" name="Comments" nillable="true"/> <xsd:element type="xsd:string" name="Reference1" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Reference2" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Vehicle" nillable="true"/> <xsd:element type="tns:ArrayOfShipment" name="Shipments" nillable="true" minOccurs="0"/> <xsd:element type="tns:ArrayOfPickupItemDetail" name="PickupItems" nillable="true"/> <xsd:element type="xsd:string" name="Status" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Pickup" name="Pickup" nillable="true"/> <xsd:complexType name="ArrayOfPickupItemDetail"> <xsd:sequence> <xsd:element type="tns:PickupItemDetail" name="PickupItemDetail" nillable="true" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ArrayOfPickupItemDetail" name="ArrayOfPickupItemDetail" nillable="true"/> <xsd:complexType name="PickupItemDetail"> <xsd:sequence> <xsd:element type="xsd:string" name="ProductGroup" nillable="true"/> <xsd:element type="xsd:string" name="ProductType" nillable="true"/> <xsd:element type="xsd:int" name="NumberOfShipments"/> <xsd:element type="xsd:string" name="PackageType" nillable="true"/> <xsd:element type="xsd:string" name="Payment" nillable="true"/> <xsd:element type="tns:Weight" name="ShipmentWeight" nillable="true"/> <xsd:element type="tns:Volume" name="ShipmentVolume" nillable="true"/> <xsd:element type="xsd:int" name="NumberOfPieces"/> <xsd:element type="tns:Money" name="CashAmount" nillable="true"/> <xsd:element type="tns:Money" name="ExtraCharges" nillable="true"/> <xsd:element type="tns:Dimensions" name="ShipmentDimensions" nillable="true"/> <xsd:element type="xsd:string" name="Comments" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:PickupItemDetail" name="PickupItemDetail" nillable="true"/> <xsd:complexType name="Volume"> <xsd:sequence> <xsd:element type="xsd:string" name="Unit" nillable="true"/> <xsd:element type="xsd:double" name="Value"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:Volume" name="Volume" nillable="true"/> <xsd:element name="PickupCreationResponse"> <xsd:complexType> <xsd:sequence> <xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/> <xsd:element type="tns:ArrayOfNotification" name="Notifications" nillable="true" minOccurs="0"/> <xsd:element type="xsd:boolean" name="HasErrors" minOccurs="0"/> <xsd:element type="tns:ProcessedPickup" name="ProcessedPickup" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="ProcessedPickup"> <xsd:sequence> <xsd:element type="xsd:string" name="ID" nillable="true"/> <xsd:element type="ser:guid" name="GUID"/> <xsd:element type="xsd:string" name="Reference1" nillable="true"/> <xsd:element type="xsd:string" name="Reference2" nillable="true"/> <xsd:element type="tns:ArrayOfProcessedShipment" name="ProcessedShipments" nillable="true"/> </xsd:sequence> </xsd:complexType> <xsd:element type="tns:ProcessedPickup" name="ProcessedPickup" nillable="true"/> <xsd:element name="PickupCancelationRequest"> <xsd:complexType> <xsd:sequence> <xsd:element type="tns:ClientInfo" name="ClientInfo" nillable="true" minOccurs="0"/> <xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="PickupGUID" nillable="true" minOccurs="0"/> <xsd:element type="xsd:string" name="Comments" nillable="true" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="PickupCancelationResponse"> <xsd:complexType> <xsd:sequence> <xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/> <xsd:element type="tns:ArrayOfNotification" name="Notifications" nillable="true" minOccurs="0"/> <xsd:element type="xsd:boolean" name="HasErrors" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified"> <xs:element type="xs:anyType" name="anyType" nillable="true"/> <xs:element type="xs:anyURI" name="anyURI" nillable="true"/> <xs:element type="xs:base64Binary" name="base64Binary" nillable="true"/> <xs:element type="xs:boolean" name="boolean" nillable="true"/> <xs:element type="xs:byte" name="byte" nillable="true"/> <xs:element type="xs:dateTime" name="dateTime" nillable="true"/> <xs:element type="xs:decimal" name="decimal" nillable="true"/> <xs:element type="xs:double" name="double" nillable="true"/> <xs:element type="xs:float" name="float" nillable="true"/> <xs:element type="xs:int" name="int" nillable="true"/> <xs:element type="xs:long" name="long" nillable="true"/> <xs:element type="xs:QName" name="QName" nillable="true"/> <xs:element type="xs:short" name="short" nillable="true"/> <xs:element type="xs:string" name="string" nillable="true"/> <xs:element type="xs:unsignedByte" name="unsignedByte" nillable="true"/> <xs:element type="xs:unsignedInt" name="unsignedInt" nillable="true"/> <xs:element type="xs:unsignedLong" name="unsignedLong" nillable="true"/> <xs:element type="xs:unsignedShort" name="unsignedShort" nillable="true"/> <xs:element type="tns:char" name="char" nillable="true"/> <xs:simpleType name="char"> <xs:restriction base="xs:int"/> </xs:simpleType> <xs:element type="tns:duration" name="duration" nillable="true"/> <xs:simpleType name="duration"> <xs:restriction base="xs:duration"> <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/> <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/> <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/> </xs:restriction> </xs:simpleType> <xs:element type="tns:guid" name="guid" nillable="true"/> <xs:simpleType name="guid"> <xs:restriction base="xs:string"> <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/> </xs:restriction> </xs:simpleType> <xs:attribute type="xs:QName" name="FactoryType"/> <xs:attribute type="xs:ID" name="Id"/> <xs:attribute type="xs:IDREF" name="Ref"/> </xs:schema> </wsdl:types> <wsdl:message name="ShipmentCreationRequest"> <wsdl:part name="parameters" element="tns:ShipmentCreationRequest"/> </wsdl:message> <wsdl:message name="ShipmentCreationResponse"> <wsdl:part name="parameters" element="tns:ShipmentCreationResponse"/> </wsdl:message> <wsdl:message name="LabelPrintingRequest"> <wsdl:part name="parameters" element="tns:LabelPrintingRequest"/> </wsdl:message> <wsdl:message name="LabelPrintingResponse"> <wsdl:part name="parameters" element="tns:LabelPrintingResponse"/> </wsdl:message> <wsdl:message name="PickupCreationRequest"> <wsdl:part name="parameters" element="tns:PickupCreationRequest"/> </wsdl:message> <wsdl:message name="PickupCreationResponse"> <wsdl:part name="parameters" element="tns:PickupCreationResponse"/> </wsdl:message> <wsdl:message name="PickupCancelationRequest"> <wsdl:part name="parameters" element="tns:PickupCancelationRequest"/> </wsdl:message> <wsdl:message name="PickupCancelationResponse"> <wsdl:part name="parameters" element="tns:PickupCancelationResponse"/> </wsdl:message> <wsdl:portType name="Service_1_0"> <wsdl:operation name="CreateShipments"> <wsdl:input name="ShipmentCreationRequest" message="tns:ShipmentCreationRequest" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreateShipments"/> <wsdl:output name="ShipmentCreationResponse" message="tns:ShipmentCreationResponse" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreateShipmentsResponse"/> </wsdl:operation> <wsdl:operation name="PrintLabel"> <wsdl:input name="LabelPrintingRequest" message="tns:LabelPrintingRequest" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/PrintLabel"/> <wsdl:output name="LabelPrintingResponse" message="tns:LabelPrintingResponse" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/PrintLabelResponse"/> </wsdl:operation> <wsdl:operation name="CreatePickup"> <wsdl:input name="PickupCreationRequest" message="tns:PickupCreationRequest" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreatePickup"/> <wsdl:output name="PickupCreationResponse" message="tns:PickupCreationResponse" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreatePickupResponse"/> </wsdl:operation> <wsdl:operation name="CancelPickup"> <wsdl:input name="PickupCancelationRequest" message="tns:PickupCancelationRequest" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CancelPickup"/> <wsdl:output name="PickupCancelationResponse" message="tns:PickupCancelationResponse" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CancelPickupResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding type="tns:Service_1_0" name="Service_1_0"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="CreateShipments"> <soap:operation style="document" soapAction="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreateShipments"/> <wsdl:input name="ShipmentCreationRequest"> <soap:body use="literal"/> </wsdl:input> <wsdl:output name="ShipmentCreationResponse"> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="PrintLabel"> <soap:operation style="document" soapAction="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/PrintLabel"/> <wsdl:input name="LabelPrintingRequest"> <soap:body use="literal"/> </wsdl:input> <wsdl:output name="LabelPrintingResponse"> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="CreatePickup"> <soap:operation style="document" soapAction="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreatePickup"/> <wsdl:input name="PickupCreationRequest"> <soap:body use="literal"/> </wsdl:input> <wsdl:output name="PickupCreationResponse"> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="CancelPickup"> <soap:operation style="document" soapAction="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CancelPickup"/> <wsdl:input name="PickupCancelationRequest"> <soap:body use="literal"/> </wsdl:input> <wsdl:output name="PickupCancelationResponse"> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="Service_1_0"> <wsdl:port name="Service_1_0" binding="tns:Service_1_0"> <soap:address location="https://ws.aramex.net/shippingapi/shipping/service_1_0.svc"/> </wsdl:port> </wsdl:service> </wsdl:definitions>