InsertWebService
Inserts a new Web service project into the project's Web service folder. If i_bGenerateMappings is true, initial mapping documents for all ports get generated automatically. Note that Web services are supported only in MapForce Enterprise Edition.
Signature
InsertWebService(in i_strWSDLFile as String, in i_strService as String, in i_strPort as String, in i_bGenerateMappings as Boolean) -> ProjectItem |
Parameters
Name | Type | Description |
---|---|---|
i_strWSDLFile | String | Specifies the path of the WSDL file to add. |
i_strService | String | Specifies the name of the Web service to add. |
i_strPort | String | Specifies the port of the Web service to add. |
i_bGenerateMappings | Boolean | If this parameter is true, initial mapping documents for all ports get generated automatically. |
Errors
Error code | Description |
---|---|
1500 | The object is no longer valid. |
1501 | WSDL file can not be found or is invalid. Service or port names are invalid. Invalid address for the return parameter was specified. |
1503 | Operation not supported by current edition. |