Bitalk mapper error.

I get following error while validating map through visual studio.

error btm1046: Output validation error: The element 'SingleResponse' has invalid child element 'Id'. List of possible elements expected: 'fromEmail'.

I am not able to upload the snap shot of mapper. What could be reason of above pr

August 27th, 2013 3:49am

This means that fromEmail element is a mandatory field and you need to let your map to create this field else

you need make the Min Occurs property of fromEmail elment 0 to make it optional

Hope this will help

Free Windows Admin Tool Kit Click here and download it now
August 27th, 2013 3:57am

Hi Pabitra,

In XSD there are indicators as to how the elements should appear.

xs:Choice

xs:Sequence

xs:all

So when we use xs:sequence then it is expected to have elements as in the schema as per the sequence .

Thus if you have incoming message without a element or extra element or incorrect sequence then you get error .

August 27th, 2013 4:29am

This error occurred because the output message which is created when you tested the map doesnt have the 'fromEmail'. Your map hasnt populated the 'fromEmail' element.

To solve this you have some options,

Make the element as optional, by setting its Min occurs property to 0 (zero). This will make the 'fromEmail' element optional

Or

Go to the properties of the map > Set 'Validate Testmap Output' to False. This disables to validate your test output message.

Free Windows Admin Tool Kit Click here and download it now
August 27th, 2013 4:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics