Main Content

createSoapMessage

R2026b

(Removed) Create SOAP (Simple Object Access Protocol) message to send to server

createSoapMessage has been removed. Use matlab.wsdl.createWSDLClient instead. For more information, see Version History.

Description

message = createSoapMessage(namespace,method,values,names,types) creates a SOAP message.

message = createSoapMessage(namespace,method,values,names,types,style) creates message with specified style.

Input Arguments

collapse all

Location of Web service, specified as a string in the form of a valid Uniform Resource Identifier (URI).

Name of Web service operation, specified as a string.

Input arguments for method, specified as a cell array.

Parameter for method, specified as a cell array.

XML data types for values, specified as a cell array.

Style for structuring the SOAP message, specified as one of these values. Use a style supported by the service specified in namespace.

'rpc'

Remote Procedure Call (RPC) encoding

'document'

Document-style encoding

Output Arguments

collapse all

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

Version History

Introduced before R2006a

collapse all