Skip to Content

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.

/wp-content/uploads/2015/06/1_722968.png

Step3: Tcode: soamanager – >   Here we will configure the service based on ‘Simplified Web Service Configuration’.

/wp-content/uploads/2015/06/2_722991.png

Step4:

Change the URL and remove the PORT details from WSDL URL and change The URL from http to https.


WSDL : 

https://<SERVER_NAME>/sap/bc/srt/wsdl/flv_10002A111AD1/srvc_url/sap/bc/srt/scs/sap/<Service_name>?sap-client=001


Step5:

Login to Altova XMLSpy and create the new SOAP Request and provide the WSDL link and then select the service and SOAP Operation.

/wp-content/uploads/2015/06/3_723041.png

Step6:

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.

/wp-content/uploads/2015/06/4_723042.png

/wp-content/uploads/2015/06/5_723043.png

Step7:

Provide the details in the payload.

/wp-content/uploads/2015/06/6_723050.png

Step8:

Send request to the server.

/wp-content/uploads/2015/06/7_723054.png

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.

Address:

https:// <SERVER_NAME>/sap/bc/srt/scs/sap/<service_name>?sap-client=001

SOAP Setting:

urn:sap-com:document:sap:soap:functions:mc-style:<service_name in CAPS>:<servicename>

HTTP Security Setting

Specify the SSO details from Select Option

/wp-content/uploads/2015/06/8_723052.png

/wp-content/uploads/2015/06/9_723053.png

Step9:

You will get the response back from the server once the call is successful.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply