on 11-14-2007 1:19 PM
Hi @ll;
I try to realize a scenario using a integrationprocess.
In this process two mappings should be conducted.
A message mapping, that works fine and a java mapping, that raises a error.
Following error message is displayed
<Trace level="2" type="T">Java mapping com/sap/xi/tf/_configuredOrder_2_EHORDERS_ completed. (executeStep() of com.sap.xi.tf._configuredOrder_2_EHORDERS_ </Trace>
<Trace level="3" type="T">Mapping step 1 has been executed. </Trace>
<Trace level="3" type="T">Finished executing mapping sequence. </Trace>
<Trace level="1" type="T">Parsing error after multi mapping.Expected Message<i> instead of IDOC </Trace>
Obviously the output message of the java mapping doesn´t meet the requirements of the specified message interface.
But what`s wrong with it?
I tested the mapping in the Integration Builder (Design) and it works fine.
Is there a different structure at Runtime (compared to the structure shown on the test tab in the graphical mapping editor)?
Thanks in advance
Jochen
what is your scenario?
if you are sending the Idoc then might be possible that some mendatory fileds are not present in the source message...
Are you posting Idoc??
Thanks
Farooq.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jochen,
the errors seems to be obvios: "Expected Message<i> instead of IDOC "
The multimapping output must have something like "Message1" on direct under root, but your mapping put there "IDOC"
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ll;
unfortunately this item is still open.
I changed my Java Mapping to produce the neccessary output structure.
It looks like this
<?xml version="1.0" encoding="UTF-8"?>
<Messages>
<Message1>
<ns0:configuredOrder xmlns:ns0="http://endress.com/xi/orderIntegration">
<IDOC BEGIN="1">
...
</IDOC>
</ns0:configuredOrder>
</Message1>
</Messages>
I tested the mapping in the Interface Mapping test tab and it works fine.
At runtime it seems that the mapping is done well. The process view in the sxmb_moni shows following details for this step in the BP.
MESSAGES_IN => 2 Entries
MESSAGES_OUT => 1 Entry
I´m able to look at the 2 input messages, but when I try to open the result messages I get the following Error "No messages available for selection"
At the last step of my test I try to wirte out the result as a File, but this also fails.
The Container shows among ohter things following expression
MESSAGE_SENT
It seems to me that my mapping generates no output.
I hope anybody can help to solve this issue.
Thanks in advance
Jochen
Use this link to monitor the BPB.
Thanks
Farooq.
Hi
While Mapping map all the mandatory fields or else Disable the Mandatory fields
Yuga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi;
thanks for your advice.
I checked this but without success.
I changed the scenario.
I make a simple target structure like this
<testConfig>
<abs></abs>
</testConfig>
without any mandatory field.
I changed my Java Mapping to deliver a suitable XML message
But all I get is the same error
<Trace level="2" type="T">Java mapping com/endress/infoserve/xi/mapping/MergeConfigStore_IdocOrder completed. (executeStep() of com.endress.infoserve.xi.mapping.MergeConfigStore_IdocOrder </Trace>
<Trace level="1" type="T">Parsing error after multi mapping.Expected Message<i> instead of i </Trace>
There is no Output Message created
Any ideas whats the failure?
Thanks
Jochen
Hi Experts;
i think the reason of the error is the wrong structure of the input message to my Java Mapping.
My idea was to handle a structure that follows the structure specified in test tab of the message mapping when i define a message mapping with 2 input messages.
this is my expectation
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ResponseWebService />
</ns0:Message1>
<ns0:Message2>
<IDOC />
</ns0:Message2>
</ns0:Messages>
Seemingly at Runtime the Message structure is different.
Can anyone please telle me how the structure have to look like?
Thanks in advance
Kind regards
Jochen
Hi Stefan;
thanks for your response.
I think you are wright.
I already change my Java Mapping.
The output follows following structure
<?xml version="1.0" encoding="UTF-8"?>
<Messages>
<Message1>
<ns0:configuredOrder xmlns:ns0="http://endress.com/xi/orderIntegration">
<IDOC BEGIN="1">
...
</IDOC>
</ns0:configuredOrder>
</Message1>
</Messages>
I tried the Integrationprocess using thie Java Mapping but strange error arised anyway. But I don´t remember the error message.
Unfortunately the Apllication delivering the data as a WebService is currently not available.
I´ll try once more the Integrationprocess as soon as possible and will then I post the error message.
Once more thank you for your help
Kind regards
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.