matlab.wsdl.createWSDLClient
(To be removed) Create interface to SOAP-based web service
matlab.wsdl.createWSDLClient
will be
removed in a future release. Use the MATLAB® RESTful functions (webread
and webwrite
) or the MATLAB HTTP interface instead. For information about this interface, see Call Web Services from MATLAB Using HTTP. (since R2025b)
Syntax
Description
matlab.wsdl.createWSDLClient(
creates an interface to a service based on a Web Services Description Language (WSDL)
document specified by wsdlURL
)wsdlURL
. This function creates a MATLAB class file for each Simple Object Access Protocol (SOAP) binding in the WSDL
in the current folder. If necessary, the function creates additional support files. You
can package and distribute these files to other users.
You must install the WSDL tools, Java®
JDK™ and Apache® CXF software, then set the tool paths using the
matlab.wsdl.setWSDLToolPath
function.
You must have write permission for the current folder.
matlab.wsdl.createWSDLClient(___,
specifies additional information needed to access the WSDL document. You can use this
syntax with any of the input argument combinations in the previous syntaxes.options
)
classname = matlab.wsdl.createWSDLClient(___)
returns a
handle to the created class. If multiple classes were created, the function returns a cell
array of handles. You can specify an output argument with any of the input argument
combinations in the previous syntaxes.
To get information on using the class, call the MATLAB help
function
on the class name.
Examples
Input Arguments
Limitations
Tips
If you create WSDL files in multiple locations on your computer, avoid confusion by deleting the class files from duplicate locations, and then call
clear java
.