使用 WSDL 从 MATLAB 调用 Web 服务
WSDL 文档使用标准格式来描述服务器的操作、参量和事务处理。要在 MATLAB® 中使用服务器 API,请使用 matlab.wsdl.createWSDLClient
函数,该函数会创建 MATLAB 类。
函数
matlab.wsdl.createWSDLClient | 创建基于 SOAP 的 Web 服务的接口 |
matlab.wsdl.setWSDLToolPath | WSDL 工具的位置 |
主题
- Set Up WSDL Tools
This example shows how to find information to install the programs required to use a WSDL web service in MATLAB.
- Display a World Map
This example shows how to access imagery from the United States Geological Survey (USGS) National Map SOAP server.
- Access Services That Use WSDL Documents
How to access a service that uses WSDL documents.
- XML-MATLAB Data Type Conversion
MATLAB SOAP functions automatically convert XML data types used in SOAP messages to and from MATLAB types.
- Using WSDL Web Service with MATLAB
How to use a web service based on Web Services Description Language (WSDL) document technologies.
疑难解答
Troubleshooting programs accessing WSDL documents.
Limitations to WSDL Document Support
RPC-encoded WSDL documents, documents that the Apache® CXF program cannot compile, and documents that import other WSDL documents that contain WSDL type definitions are not supported.
用于 HTTP 错误的 W3C 状态代码