Where to find requirements?
What to Send? (Web Service WSDL)
...
Info | ||
---|---|---|
| ||
Web Service Schema XSDWithin the WSDL you will also find an XSD Schema. This will inform you of the Information requirements of every call. http://support-ws.azurewebsites.net/Data/ChainIT/DataService.svc?xsd=xsd0 This information can also be found below "Web Service Functions/Calls" |
Preparing the Call
Where you are sending the information? (Endpoint)
...
What are the information requirements
All payload/body requirements of your soap call can be found within the WSDL. This has also been documented for you on 3) Web Service Calls - Function Definition
Info |
---|
*SoapUI automatically configures the Body Template based on the call being made. If you are using other applications you can use the "Example Body" from the required function definition below. Alternatively consult the Web Service Schema XSD (Link provided above) |
Example Call
Logging In
Info |
---|
In this instance I am making a call to log into my environment through postman, as I require my Session credentials to perform any further Web Service Calls. |
Endpoint: https://bau-uat-ws.azurewebsites.net/Data/ChainIT/DataService.svc
Headers:
- Key: Content-Type Value: text/xml
- Key: SoapAction Value: http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices/IChainITService/Login
Note | ||
---|---|---|
| ||
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> <!-- Requirements of each soapAction can be found http://support-ws.azurewebsites.net/Data/ChainIT/DataService.svc?xsd=xsd0 --> <!-- Example XSD Schema available for Login <xs:element name="Login"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> Example XSD Schema available for Login --> <!--Below Content Dependent on soapAction Selected --> <cha:Login> <!--Optional:--> <cha:userName>test@oneflo</cha:userName> <!--Optional:--> <cha:password>efm123</cha:password> </cha:Login> </soapenv:Body> </soapenv:Envelope> | ||||||||||
Info | ||||||||||
*SoapUI automatically configures the Body Template based on the call being made. If you are using other applications you can use the "Example Body" from the required function definition below. Alternatively consult the Web Service Schema XSD (Link provided above) |
3) Web Service Calls - Function Definition
...