importWSDL(wsdlFileName: String; consumerName: String; generateAsynchronousMethods: Boolean; useNewPrimitiveTypes: Boolean; superclassName: String; classNamePrefix: String; methodNamePrefix: String; propertyNamePrefix: String; renameFileName: String): String;
The importWSDL method of the Schema class creates a Web service consumer by importing a specified WSDL file.
This method returns an empty string if it executes successfully or an error message if it fails.
The importWSDL method parameters are listed in the following table.
Parameter | Description |
---|---|
wsdlFileName | The name of the WSDL file on which to base the Web service consumer. The name can be a URL if the WSDL is available on the Web. |
consumerName | The name of the Web service consumer, which must begin with an uppercase letter. |
generateAsynchronousMethods | true if methods for consuming the Web service asynchronously are generated in addition to the methods for synchronous execution, and false otherwise. |
useNewPrimitiveTypes | true if methods generated from the WSDL use the primitive types |
superclassName | The name of the superclass of the classes created for the Web service consumer. If an empty string is specified, the superclass is Object. |
classNamePrefix | The prefix for the classes created for the Web service consumer. If an empty string is specified, the class names do not have a prefix. |
methodNamePrefix | The prefix for the methods created for the Web service consumer. If an empty string is specified, the method names do not have a prefix. |
propertyNamePrefix | The prefix for the properties created for the Web service consumer. If an empty string is specified, the property names do not have a prefix. |
renameFileName | Reserved for future use. (This parameter will enable generated JADE classes to be renamed.) |
You can import a JADE or external WSDL file that is in Document/Literal Bare or Document/Literal Wrapped SOAP message style format.