Does anyone know how to use this kind of interface file?
2020-05-25 09:14:32
0
2
1179

1. Interface description

Authorization ID and authorized account contact Baotongda business to obtain

Request address: http://open.btdair.com:8099/LogisticsService.svc?

wsdl request method: POST

Header contains:

Content-Type: text/xml; charset=utf-8

SOAPAction: "http:/ /tempuri.org/ILogisticsService/Method name"

Error example:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" >

<s:Body> <s:Fault> <faultcode>s:Client</faultcode> <faultstring xml:lang="zh-CN">Error message</ faultstring> <detail>

<FaultMessage xmlns="http://schemas.datacontract.org/2004/07/JSON.Logistics.Emmis.Entity"

xmlns:i= "http://www.w3.org/2001/XMLSchema-instance"> <Message>Error message</Message> <Type>Message format (Normal: Normal; Unlicensed: Invalid authorization)</Type> ;

</FaultMessage>

</detail>

</s:Fault>

</s:Body>

</s:Envelope> 2. Verify whether the user is valid

Method name: Verify

Submit data: <s:Envelope xmlns: s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Body> <Verify xmlns="http://tempuri.org/"> < ;clientId>Authorization ID</clientId> <clientAccount>Authorization Name</clientAccount>

</Verify>

</s:Body>

</s:Envelope>

Return data (for errors, please refer to the error example at the top): <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" >

<s:Body> <VerifyResponse xmlns="http://tempuri.org/"> <VerifyResult>true|false</VerifyResult>

< /VerifyResponse>

</s:Body>

</s:Envelope>

3. Get the logistics method

Method name: GetLogisticsWay

Submit data: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> < GetLogisticsWay xmlns="http://tempuri.org/"/>

</s:Body>

</s:Envelope>

Return data (For errors, please refer to the error example at the top): <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Body> < ;GetLogisticsWayResponse xmlns="http://tempuri.org/">

<GetLogisticsWayResult xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"

xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <a:string>Channel, for example: xianggangDHL general goods</a:string> <a: string>FedEx</a:string> <a:string>Swedish Registered</a:string> <a:string>Singapore Surface Mail</a:string>

</GetLogisticsWayResult>

</GetLogisticsWayResponse>

</s:Body>

</s:Envelope>

reply all(1)
唯you爱

This API interface should be easy to use. ***Q 895163012 can help you solve it

  • reply Boss, I’ve added it, let’s pass it.
    author 2020-05-26 19:38:28
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template