on 10-11-2006 3:28 PM
Hi All,
I have XML file to file scenario.
I may get 2 types of XML files, structure is same but content is diffrent, I may get any type of file.
Based on source content field, I have to identify the target interface and send message accordingly.
My design:
1) One Source interface and two target interfaces.
2) 2 target files should generate in the same business system, so that I used the same service twice in configured receivers.
3) In interface determination I tried to use condition on which it should select the right interface
Here I faced the problem, In X path I was unable to find any fields except root node of XML data.
Pls suggest what to do..
Thanks,
Venu.
hi,
try to use context object.
regards,
wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>>>In context object i didn't find any filed information of message.
Just create a context object and assign it in your interface. In interface determination, use the context object to check the value. It will contain the value only at run time.
Haven't tried XSD with XPATH.
Regards,
Jai Shankar.
Hi Venu,
Yes it is possible. You need to have 2 inbound interfaces. You should be able to see the source fields in Interface determination. Have a look at the blog
/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service
It addresses your scenario exactly.
Regards,
Jai Shankar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.