InsertWebService

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  The MapForce API > Object Reference > Interfaces > Project > Methods >

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.

 

Signature

InsertWebService(in i_strWSDLFile:String, in i_strService:String, in i_strPort:String, in i_bGenerateMappings: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.


© 2019 Altova GmbH