Run SOAP request via jar Mohanraj,PS(Informatica Cloud)
Agenda SOAP UI Test. Run sample request Verify test with Jar
SOAP UI Test Create SOAP Project. http://www.webservicex.net/globalweather.asmx?WSDL Test “GetCitiesbyCountry” request for “Pakistan”
Run jar Command to run jar Java –jar GenericWSTest.jar <WSDL URL> <Request file.XML” Example: Java –jar GenericWSTest.jar http://www.webservicex.net/globalweather.asmx?WSDL ./Request_Ip.XML
Request_File.XML(Sample) <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetCitiesByCountry xmlns="http://www.webserviceX.NET"> <CountryName>India</CountryName> </GetCitiesByCountry> </soap:Body> </soap:Envelope>
THANK YOU