Nexial Automation

Test Automation Platform for everyone!

X

ws » soap(action,url,payload,var)

Description

This command is used to send a SOAP request where SOAP Service has SOAP Action name.

The soapAction url can be found in WSDL Document.

This command is similar as post(url,payload,var) command. But with soapAction url as an additional argument.

Parameters

  • action - this parameter is the soapAction url
  • url - the target URL
  • payload - the request payload, or (empty) if none required
  • var - the variable to hold the response

Example

This example is to get stock quote.

Script:

Output:

See Also