Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Received response [
- <?xml version='1.0' encoding='utf-8'?>
- <soap:Envelope
- xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <m:CalcResponse
- xmlns:m="http://www.cargo3.ru">
- <m:return
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <m:Key>Calc</m:Key>
- <m:List>
- <m:Key>Destination</m:Key>
- <m:Fields>
- <m:Key>SenderGeography</m:Key>
- <m:Value xsi:type="xs:string">d9881bba-442b-11dc-9497-0015170f8c09</m:Value>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>RecipientGeography</m:Key>
- <m:Value xsi:type="xs:string">d358f7d0-442b-11dc-9497-0015170f8c09</m:Value>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>Urgency</m:Key>
- <m:Value xsi:type="xs:string">18c4f207-458b-11dc-9497-0015170f8c09</m:Value>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>TypeOfCargo</m:Key>
- <m:Value xsi:type="xs:string">4aab1fc6-fc2b-473a-8728-58bcd4ff79ba</m:Value>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>Weight</m:Key>
- <m:Value xsi:type="xs:decimal">0.4</m:Value>
- <m:ValueType>float</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>Qty</m:Key>
- <m:Value xsi:type="xs:decimal">1</m:Value>
- <m:ValueType>float</m:ValueType>
- </m:Fields>
- <m:List>
- <m:Key>Tariff</m:Key>
- <m:Value xsi:type="xs:string">5a8ec125-92ac-11dc-86de-0015170f8c09</m:Value>
- <m:Fields>
- <m:Key>Total</m:Key>
- <m:Value xsi:type="xs:decimal">782.5419</m:Value>
- <m:ValueType>float</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>Currency</m:Key>
- <m:Value xsi:type="xs:string">ff3f7c38-4430-11dc-9497-0015170f8c09</m:Value>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>Service</m:Key>
- <m:Value xsi:type="xs:string">Московская обл.</m:Value>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>Urgency</m:Key>
- <m:Value xsi:type="xs:string">18c4f207-458b-11dc-9497-0015170f8c09</m:Value>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>UrgencyName</m:Key>
- <m:Value xsi:type="xs:string">Срочная</m:Value>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>MinPeriod</m:Key>
- <m:Value xsi:type="xs:decimal">2</m:Value>
- <m:ValueType>float</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>MaxPeriod</m:Key>
- <m:Value xsi:type="xs:decimal">4</m:Value>
- <m:ValueType>float</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>UrgencyDescription</m:Key>
- <m:Value xsi:type="xs:string"/>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>COD</m:Key>
- <m:Value xsi:type="xs:boolean">true</m:Value>
- <m:ValueType>boolean</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>Return</m:Key>
- <m:Value xsi:type="xs:boolean">true</m:Value>
- <m:ValueType>boolean</m:ValueType>
- </m:Fields>
- <m:Fields>
- <m:Key>Agent</m:Key>
- <m:Value xsi:type="xs:string"/>
- <m:ValueType>string</m:ValueType>
- </m:Fields>
- </m:List>
- </m:List>
- </m:return>
- </m:CalcResponse>
- </soap:Body>
- </soap:Envelope>] for request [
- <?xml version='1.0' encoding='UTF-8'?>
- <soapenv:Envelope
- xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
- <soapenv:Header/>
- <soapenv:Body>
- <Calc
- xmlns="http://www.cargo3.ru">
- <login>ФОРВАРД ЛИЗИНГ</login>
- <password>*****</password>
- <data>
- <Key>Destinations</Key>
- <List>
- <Key>Destination</Key>
- <Fields>
- <Key>SenderGeography</Key>
- <Value
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">d9881bba-442b-11dc-9497-0015170f8c09
- </Value>
- <ValueType>string</ValueType>
- </Fields>
- <Fields>
- <Key>RecipientGeography</Key>
- <Value
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">d358f7d0-442b-11dc-9497-0015170f8c09
- </Value>
- <ValueType>string</ValueType>
- </Fields>
- <Fields>
- <Key>TypeOfCargo</Key>
- <Value
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">4aab1fc6-fc2b-473a-8728-58bcd4ff79ba
- </Value>
- <ValueType>string</ValueType>
- </Fields>
- <Fields>
- <Key>Urgency</Key>
- <Value
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">18c4f207-458b-11dc-9497-0015170f8c09
- </Value>
- <ValueType>string</ValueType>
- </Fields>
- <Fields>
- <Key>Weight</Key>
- <Value
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:float">0.4
- </Value>
- <ValueType>float</ValueType>
- </Fields>
- <Fields>
- <Key>Qty</Key>
- <Value
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">1
- </Value>
- <ValueType>int</ValueType>
- </Fields>
- <Fields>
- <Key>DeliveryType</Key>
- <Value
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:decimal">1
- </Value>
- <ValueType>decimal</ValueType>
- </Fields>
- </List>
- </data>
- <parameters>
- <Key>Parameters</Key>
- </parameters>
- </Calc>
- </soapenv:Body>
- </soapenv:Envelope>]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement