createClassFromWsdl - Create MATLAB object based on WSDL file

Syntax

createClassFromWsdl(source)

Description

createClassFromWsdl(source) creates a MATLAB object based on a Web Services Description Language (WSDL) application program interface (API). The source argument is a string that 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:

See Also

callSoapService, createSoapMessage, parseSoapResponse

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS