could someone please clarify why the following scenario isn't working. I must have a wrong understanding of how single OM with one MM and one Java, or I can't get my head around how to do this.
I have single incoming payload
Depending upon the value in FieldA
I need to pass the contents of the payload where FieldA = File, unchanged, to a File Adapter in Message1
I need to pass the contents of the payload.FieldD, where FieldA = Email, to Mail Adapter - some dynamic parameters are also set, in Message2
I can get it working up to this point perfectly, in a single MM.
Before the finish I need to send the target structure from Message2 through some Java mapping, to replace some text with other values. i.e. I need just the content of FieldD, which is the Email text, minus the xml headers and tags.
Service Interfaces in OM looks as below
.Source1, Target1&2 relate to MM
Source2, Target3 relate to java mapping
Source1 is occurrence 1 Target1 is 1:unbounded
Target2 is 1:unbounded (and structure is changed at this point to FieldD)
Source 2 is occurrence 1:unbounded (FieldD) Target3 is 1:unbounded (FieldD)
What that gives me as a run time error is as follows. I have no idea what this means, or how to find out more about it.
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
<SAP:Stack>Split-Mapping 24ns0:Messages(1) </SAP:Stack>
Thanks in advance for any help.