External Interfaces Reference Previous page   Next Page
createClassFromWsdl

Create MATLAB object based on WSDL file

Syntax

Description

createClassFromWsdl('source') creates a MATLAB object based on a Web Services Description Language (WSDL) application program interface (API). The source argument specifies a URL or path to a WSDL API, which defines Web service methods, arguments, and transactions. It returns the name of the new class.

Based on the WSDL API, the createClassFromWsdl function creates a new folder in the current directory. The folder contains an M-file for each Web service method. In addition, two default M-files are created: the object's display method (display.m) and its constructor (servicename.m).

For example, if myWebService offers two methods (method1 and method2), the createClassFromWsdl function creates

Remarks

For more information about WSDL and Web services, see the following resources:

Example

The following example calls a Web service that returns the book price for an International Standard Bibliographic Number (ISBN).

See Also
callSoapService, createSoapMessage, parseSoapResponse


Previous page  callSoapService createSoapMessage Next page

© 1994-2005 The MathWorks, Inc.