Access SOAP Operations / REST Resources
SoapUI FAQ
(Continued from previous question...)
Access SOAP Operations / REST Resources
This example accesses SOAP Operations in the Sample Project.
1.import com.eviware.soapui.impl.wsdl.WsdlInterface
2.myInterface = (WsdlInterface) testRunner.testCase.testSuite.project.getInterfaceByName("SampleServiceSoapBinding")
3.myOperation = myInterface.getOperationByName("login")
4.myRequest = myOperation.getRequestByName("Request 1")
Other Interview Questions
|