on 07-02-2009 12:35 PM
My input message is
xmlns:ns0="http://xyz">
<ScheduleData>
<line>test1</line>
</ScheduleData>
<ScheduleData>
<line>test2</line>
</ScheduleData>
</ns0:Receive_Schedules_Notification>
I want the target message like this:
xmlns:ns0="http:/xyz">
<ScheduleData>
<line>test1</line>
<line>test2</line>
</ScheduleData>
</ns0:Receive_Schedules_Notification>
How can I achive this in message mapping? Please help!
Thanks
Gopal
Edited by: GOPAL BALIGA on Jul 2, 2009 1:35 PM
input message
ns0:Receive_Schedules_Notification
ScheduleData 1-----unbounded
linen 1
target message
ns0:Receive_Schedules_Notification
ScheduleData 1
linen 1-----unbounded
Do the mapping as follows
ScheduleData (source )---- ScheduleData (target)
linen(source)----remove context ---line(target)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try out by changing the context at node level .....
And Use remove context followed by Split by value to target
Best Regards,
Sainath
Edited by: Sainath Chutke on Jul 2, 2009 4:08 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi GOPAL
It' not complicated. only need map like this.
Target Source
ScheduleData Use [Const] or maybe use ScheduleData - [collapse contex]
line Use line- [RemoveContext]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Map line (Source) -
> line (Target)
raise the Context of the source line node to a node above the ScheduleData (in your case it sems to be Receive_Schedules_Notification)....check it and let me know...
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Mapping will be like this
Constant ---> scheduel
item ---> Remove Context(node function) ---> item
I agree with Swetambari's reply.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please try this:
1. Maping for <ScheduleData>: constant -
> <ScheduleData>
2 .Mapping for <Line>: <line>(From source, change the context to the root node(higher then scheduleData))----><line> of the traget
Alternate for the 2nd.
<line>(From source,)---Remove context node function--
><line> of the traget
Regards,
Shweta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopal,
below is the Map
ScheduleData ---> Collapse Context ---> ScheduleDate
line ---> RemoveContext -
> Line
regards,
Chandra Shekhar
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 | |
10 | |
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.