Testing of SOAP Web Service using Altova XMLSpy
In this blog, I will try to explain the testing of SOAP Web Service using Altova XMLSpy.
Step1: Creation of WebService is based on function module. Since the blog is all about testing, I will not cover the details on how the web service is created, rather will focus on configuration steps in SOAP and some authentication details.
Step2: Once the WebService is created, I will change the Authentication to Medium, As any way we are testing the web service based on SSO. So here we are not compromising on security by changing the authentication to Medium, it’s just to avoid providing User-ID and Password that may require on top of SSO details.
Step3: Tcode: soamanager – > Here we will configure the service based on ‘Simplified Web Service Configuration’.
Change the URL and remove the PORT details from WSDL URL and change The URL from http to https.
Login to Altova XMLSpy and create the new SOAP Request and provide the WSDL link and then select the service and SOAP Operation.
Double click on the link below “WSDL for Validation” and change the Server details to the Main server in case the landscape has Multiple Application Server.
Provide the details in the payload.
Send request to the server.
In Address and SOAP Setting, specify the consume web service endpoint. These details are automatically filled, but in case it’s missing, you can specify the one below.
urn:sap-com:document:sap:soap:functions:mc-style:<service_name in CAPS>:<servicename>
HTTP Security Setting
Specify the SSO details from Select Option
You will get the response back from the server once the call is successful.