on 02-03-2009 10:11 AM
Hi,
I have following problem. Customer saves XML messages as string(CLOB) in DB. After picking up messeges with JDBC, I have to analyze messeges and decide, based on some tags in XML, to create IDOC XML or to create file XML. IDOC uses own BS, and file also own BS and com.chanel. What is the best way to realize something like that?
Hi,
For your interface create two message mappings and two interface mappings.And in receiver determination you will be having two receivers one for IDOC and one for file.Specify the conditions for each receiver using X-Path. An finally in interfcae determination specify the condition as when should your respective interface should be called.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
my input message looks like this:
<msg>
<row>
....xml message as string
</row>
<row>
....next xml message as string
</row>
.....
</msg>
so I first need to do some transformation from this messsage to messages where I extract tags that are important for further processing. So my first mapping produces message like this:
<msg>
<row>
<tag1> for first XML message
<tag2>
</row>
<row>
<tag1> for next XML message
<tag2>
</row>
.....
</msg>
based on this tags for each message I have to decied is it candidate for IDOC or for file. I'm trying to do this using BPM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, as said above it can be done by putting conditions in RD using xPath. In addition you need to create two message mapping & two Interface mappings according to your target structure.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
IDOC and file has its own BS and comm channel.So you can put condition in Receiver determination based on the xml tag and choose required BS.
Thanks
Prasad Nemalikanti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you create it like to scenarios and put a XPath-condition on receiver bus system at Receiver Determination and condition on Inbound Interface (including mapping) at Interface Determination.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.