generateWSDL(applicationName: String; exposureName: String; fileName: String; urlScheme: String; urlMachineName: String; urlVirtualDirectory: String; urlSupportLibrary: String) updating;
The generateWSDL method of the Schema class creates a WSDL file for an existing JADE Web service provider application.
The generateWSDL method parameters are listed in the following table.
Parameter | Description |
---|---|
applicationName | The name of an existing Web service application. |
exposureName | The name of an existing Web service exposure definition. |
fileName | The name of the WSDL file to be created, which must be a valid file name. |
urlScheme | The Web service protocol; http by default and tcp for direct Web services. |
urlMachineName | The machine name or Internet Protocol (IP) address to which the Web service requests should be directed. |
urlVirtualDirectory | The virtual directory where the support library resides (as defined in IIS or Apache). |
urlSupportLibrary | The support library (jadehttp) for communication with IIS or Apache. |
If the validation or update fails, an exception is raised. The
The following example shows the use of the generateWSDL method.
currentSchema.generateWSDL("CustomerServicesApp","ErewhonCustomer", "d:\wsdls\erewhoncustomer.wsdl", "http", "localhost", "jade", "jadehttp.dll");