Altova MapForce 2025 Enterprise Edition

CreateMappingForProject

Home Prev Top Next

Creates an initial mapping document for a Web service operation and saves it to i_strFileName. When using Project.InsertWebService you can set the i_bGenerateMappings flag to let MapForce automatically generate initial mappings for all ports.

 

Signature

CreateMappingForProject(in i_strFileName:String) -> ProjectItem

 

Parameters

Name

Type

Description

i_strFileName

String

Specifies the path where the mapping should be saved.

 

Errors

Error code

Description

1700

The object is no longer valid.

1701

Invalid address for the return parameter was specified.

1707

Cannot create new mapping. The project item does not support auto-creation of initial mappings or a mapping already exists.

1708

Operation not supported in current edition.

© 2018-2024 Altova GmbH