...
Info |
---|
In this instance I am making a call to Find All locations in my uat environment through postman, I require my Session credentials and my ConsignmentId from my previous example to continue. *Learn how to chain this call in 5) Creating Chained Requests |
Endpoint: https://bau-uat-ws.azurewebsites.net/Data/ChainIT/DataService.svc
...
- Key: Content-Type Value: text/xml
- Key: SoapAction Value: http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices/IChainITService/CancelConsignment
...
...
Header declaration is not required for SoapUI. *SoapUI does this automatically
Body:
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cha="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices"> <soapenv:Header/> <soapenv:Body> <cha:CancelConsignment> <!-- Session Credentials Available By following the "Login Web Service Call" <!--Optional:--> <cha:session> <!--Optional:https://flipgroup.atlassian.net/wiki/spaces/FLIP/pages/703102977/2a+Example+Web+Service+Call+Login--> <cha:session> <cha:AccountID>115860</cha:AccountID> <!--OptionalMandatory:--> <cha:DistributorID>101605</cha:DistributorID> <!--OptionalMandatory:--> <cha:Expires>2020Expires>2018-08-09T1516T15:2615:5755.87<89</cha:Expires> <!--OptionalMandatory:--> <cha:Key>5158851EKey>E36D344D-1D9CDCA9-47D745B8-A3848FCD-55690F4A0B1E<2F049B1E73B3</cha:Key> <!--OptionalMandatory:--> <cha:UserID>64796</cha:UserID> </cha:session> <!--Mandatory:--> <!--Optional:-->/cha:session> <cha:consignmentID>80423074</cha:consignmentID> </cha:CancelConsignment> </soapenv:Body> </soapenv:Envelope> |
Info |
---|
<cha:consignmentID> can be found 2 ways
|
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<CancelConsignmentResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
<CancelConsignmentResult>true</CancelConsignmentResult>
</CancelConsignmentResponse>
</s:Body>
</s:Envelope> |
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <CancelConsignmentResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices"> <CancelConsignmentResult>false</CancelConsignmentResult> </CancelConsignmentResponse> </s:Body> </s:Envelope> |
3) Call/Function Definition and Requirements
...
2-1) Example Web Service Call (Login)
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...