Main Content

callSoapService

(Removed) Send SOAP (Simple Object Access Protocol) message to endpoint

callSoapService has been removed. Use matlab.wsdl.createWSDLClient instead. For more information, see Compatibility Considerations.

Description

response = callSoapService(endpoint,soapAction,message) sends message to the soapAction service at endpoint.

Input Arguments

collapse all

URL identifying a built-in HTTP service, specified as a string.

Name of service, specified as a string.

Java document object model (DOM), specified as a string.

Output Arguments

collapse all

Result of soapAction, returned as a string.

Version History

Introduced before R2006a

collapse all

R2021b: callSoapService has been removed

Consider using the matlab.wsdl.createWSDLClient function instead of callSoapService. There is no direct function replacement for the callSoapService function, but when you create a WSDL interface, you have access to the Web service functionality.

To get started using matlab.wsdl.createWSDLClient,

  1. Download supported versions of the Java JDK™ and Apache® CXF programs. For more information, see Set Up WSDL Tools.

  2. Set the paths to these programs:

    matlab.wsdl.setWSDLToolPath('JDK',jdk,'CXF',cxf)

    where jdk is the path to the JDK installation and cxf is the path to the CXF program.

  3. Create the interface to the service located at url.

    matlab.wsdl.createWSDLClient(url)

Note

matlab.wsdl.createWSDLClient does not support RPC-encoded WSDL documents.