| MATLAB® | ![]() |
createClassFromWsdl(source)
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
@myWebService folder in the current directory
method1.m — M-file for method1
method2.m — M-file for method2
display.m — Default M-file for display method
myWebService.m — Default M-file for the myWebService MATLAB object
For more information about WSDL and Web services, see the following resources:
callSoapService, createSoapMessage, parseSoapResponse
![]() | create (RandStream) | createCopy (inputParser) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |