Mapforce service

Mapforce service

MapForce service

The MapForce service is a service in which a MapForce generated mapping can be loaded. The result of the service is the result of the mapping on the configured MessagePart.

You can upload a mapping by pressing the upload-button  in the properties by mapping classname. You will get the pop-up below to select a zip file with the MapForce java source.

Drop your MapForce zip file in the box to upload it to ConnectPlaza.

MapForce java sources you upload using the description above, are compiled in the background: In the zip-file is a java source code which can be generated by MapForce. This  will be transformed to java byte code by ConnectPlaza.

After uploading your .zip file the resources will show you the functions in the mapforce.jar we just uploaded via the .zip file. You can select these functions and drag them to your Mapping Classname field if you like.

In the table below, you will find an explanation about these properties. All attributes with a ‘*’ are mandatory.

Attribute

Description

Name*

By default, we fill this out with the technical ‘tag’, followed by a serial number. Changing the name is optional.

Enabled

Set this value to true, if you want this service to be enabled.

Mapping Classname*

Name of the class to run when using Mapforce mappings.

Output Message Type

The type of the message passed to the next service.

MessagePart-In

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.

When using a Multi-Input Mapping you have to use ALL to specify that all MessageParts have to be used.

READ THIS

The messageparts used must be in order of the messagepart-number. So if you have 2 parts you want to use as input, have msgprt0 and msgprt1. With other words, use msgprt0 to msgprt <total messages - 1>

MessagePart-Out

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.