Created
January 23, 2012 01:08
-
-
Save tatey/1659783 to your computer and use it in GitHub Desktop.
Temando Test API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -H 'Content-Type: application/soap+xml;charset=UTF-8;' -d '<?xml version="1.0" encoding="UTF-8"?> | |
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <soapenv:Header> | |
| <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"> | |
| <wsse:UsernameToken> | |
| <wsse:Username>temandotest</wsse:Username> | |
| <wsse:Password>password</wsse:Password> | |
| </wsse:UsernameToken> | |
| </wsse:Security> | |
| </soapenv:Header> <soapenv:Body> | |
| <tem:getQuotesByRequest xmlns:tem="http://api.temando.com/schema/2009_06/server.xsd"> | |
| <anythings> | |
| <anything> | |
| <class>Vehicle</class> | |
| <subclass>Car</subclass> | |
| <qualifierVehicleMake>Ford</qualifierVehicleMake> | |
| <qualifierVehicleModel>Mustang</qualifierVehicleModel> | |
| <qualifierVehicleDescription>GT Convertible 2dr Auto 3sp | |
| 289</qualifierVehicleDescription> | |
| <qualifierVehicleRunning>Y</qualifierVehicleRunning> | |
| <qualifierVehicleRegistered>N</qualifierVehicleRegistered> | |
| <qualifierVehicleYear>1965</qualifierVehicleYear> | |
| <quantity>1</quantity> | |
| </anything> | |
| </anythings> | |
| <anywhere> | |
| <itemNature>Domestic</itemNature> | |
| <itemMethod>Door to Door</itemMethod> | |
| <originCountry>AU</originCountry> | |
| <originCode>4000</originCode> | |
| <originSuburb>Brisbane</originSuburb> | |
| <destinationCountry>AU</destinationCountry> | |
| <destinationCode>2000</destinationCode> | |
| <destinationSuburb>Sydney</destinationSuburb> | |
| <destinationIs>Residence</destinationIs> | |
| <destinationResNotifyBefore>N</destinationResNotifyBefore> | |
| <destinationResLimitedAccess>N</destinationResLimitedAccess> | |
| <originIs>Business</originIs> | |
| <originBusNotifyBefore>Y</originBusNotifyBefore> | |
| <originBusLimitedAccess>N</originBusLimitedAccess> | |
| </anywhere> | |
| <anytime> | |
| <readyDate>2009-07-01</readyDate> | |
| <readyTime>PM</readyTime> | |
| </anytime> | |
| <general> | |
| <goodsValue>2000.00</goodsValue> | |
| </general> | |
| </tem:getQuotesByRequest> | |
| </soapenv:Body> </soapenv:Envelope>' http://training-api.temando.com/soapServer.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Procedure 'getQuotesByRequest' not present</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment