Main Content

parseSoapResponse

(Removed) Convert response string from SOAP (Simple Object Access Protocol) server into MATLAB types

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

Description

data = parseSoapResponse(response) extracts data from SOAP server response and converts to MATLAB® types.

Input Arguments

collapse all

Data from SOAP server, specified as a string.

Output Arguments

collapse all

Output of SOAP service call, returned as a cell array of any valid MATLAB type.

Version History

Introduced before R2006a

collapse all

R2021b: parseSoapResponse has been removed

Consider using the matlab.wsdl.createWSDLClient function instead of parseSoapResponse. There is no direct function replacement for the parseSoapResponse 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 the 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.