The SOAP (wsdl) has two service functions:
ServiceStatus:
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:tsas=“http://t.com/TSASERVICES”>
<soapenv:Header/>
<soapenv:Body>
<tsas:ServiceList>
<WebRequestCommon><password>${password}</password> <userName>${userName}</userName> </WebRequestCommon> <MONITORSERVICESType> <enquiryInputCollection> <columnName>${tableName}</columnName> <criteriaValue>${value}</criteriaValue> <operand>${operand}</operand> </enquiryInputCollection> </MONITORSERVICESType>
<</tsas:ServiceList>
</soapenv:Body>
</soapenv:Envelope>
ServiceRequest:
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:tsas=“http://t.com/TSASERVICES”>
<soapenv:Header/>
<soapenv:Body>
<tsas:ServiceList>
<WebRequestCommon><company>${company}</company> <password>${password}</password> <userName>${userName}</userName> </WebRequestCommon> <OfsFunction> <activityName></activityName> <assignReason></assignReason> <dueDate></dueDate> <extProcess></extProcess> <extProcessID></extProcessID> <gtsControl></gtsControl> <messageId></messageId> <noOfAuth></noOfAuth> <owner></owner> <replace></replace> <startDate></startDate> <user></user> </OfsFunction> <TSASERVICEMEBINPType id="${serviceName}"> <SERVICECONTROL>${serviceStatus}</SERVICECONTROL> </TSASERVICEMEBINPType>
</tsas:ServiceRequest>
</soapenv:Body>
</soapenv:Envelope>
I am able to use the “ServiceRequest” to automate my scripts. How do I use the “ServiceStatus”?
When I try to Load from WSDL, the script appears for all service functions. How do I separate them? Or does it mean that I need to re-use same parameterised variables for different service functions?
Apologies if my question is not making sense since I am new to API automation.