Skip to Content

How to rout the based on source data????if data is single field.

Dec 11, 2017 at 09:29 AM


avatar image

Hi Experts

I have a scenario like 1 and 2 ,communication method is SOAP both are sender side.

Both two scenarios one sender(data also receiving on communication channel) and receivers are different.I need rout the based on content in sender data(they are sendeing on field Message type).

i am done the single field to XML using XSLT mapping ,so how i can achieve this scenario?

I am not able to crate the context object or Xpath because on in sender message type only on field.

Can you please on this..

Thank you,


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

pavan thiruveedula Dec 11, 2017 at 09:44 AM

Hi Sandeep,

Can you share your request structure

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Pavan,

Please find the structure below.ReceiveFromWM i am getting Whole XML.

esr.png (10.0 kB)
Muni M Dec 11, 2017 at 09:44 AM

can you show us that string value and condition? let us check if possible to handle with xpath codition.

else use extended receiver determination

handle your condition using mapping.

Show 11 Share
10 |10000 characters needed characters left characters exceeded

First of all thank you for your inputs.

I have doubts regarding this.

1. I am receiving whole XML in one string i am converting to xml.

2. I need to create the 2 IDOC based on condition.

How to to achieve this is this possible using Enhanced receiver determination?

If possible in my second mapping can i maintain the mapping logic?

esr.png (10.0 kB)

yes you can. please read the blog, you will understand.

Before going further, this is not enough what you shared. Please share the incoming xml and condition to select receiver one and receiver two.


Ok .

Here i am attaching two xml ,header is same both xml's message is different.

In header field message type is condition.

if message type pix i need to create one idoc else message type type ShipConfirm need to create separate Idoc.

Both are different structures.




Based on field in Header you want to split ?


can you try like this? dont have to select from context. use xpath. give the xpath value manually

provide prefix whatever you are getting the input xml, not the one i mentioned here and namespace.Try this condition first with PIX. if it works then add another receiver condition


I tried this case but it's not working (it means i am not able to find message type because of my sender structure is single string right i thing that is the region.).

I thing this case it not possible,earlier i tried this case only.


Please find attached for reference.

I the above picture i have only one field,is it possible to write to direct path like ../Message type it will accept in run time?

rules.png (15.0 kB)
sandeep palicherla

yes. write manually. also add namespace prefix


Thank you Muni, it's working.

sandeep palicherla

Good to hear. Could you please paste your config screenshots here. It will help others who come across with same issue.


Ok will try and get back to you guys.

Thank you guys for giving vestibule inputs.