on 05-19-2008 7:27 AM
Hello all,
I have the requirment like i need to select two different Message type at the source target and i need to map them with different message type at target side. But i need to use only single interface mapping.
Messagetype1 -
>messagetype1_target
Messagetype2----
> messagetype2_target
Can i achieve it by a single interface mapping. or i should go for seperate interface mapping.
I have tried out this but getting error while testing ( I am getting error in root node of xml )
Thanks
Sachin
hi Sachin
if U r using one message mapping for all message types it is
possible means if u have Two Message types at sender side
and two message types for receiver side(Multi Mapping for u r
case) it is possible, if u r using Two message mapping means
One message type for sender and one for receiver it is not
possible in u r case.
If u have two message Mappings it will not possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Sachin,
Its not about achieving this or not...
Depends on the Requirement,we need to ,for example in a
Proxy -->Webservices Scenario,
You need to do two message mappings
One for
1)Request_Proxy to Request_WebService
2)Response_Webservice to Response_Proxy
in Sync Situation ...
But ,you only need one Interface mapping ,which invloves these two MEssage mappings.
Hope its clear...
*************Reward points,if found useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin,
Yes, you can have both the mappings in one single Interface Mapping, But if you are getting error then we can try to find out the problem... Kindly explain teh error you got ....
Regards,
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am geting error " Cannot produce target element check xml instance".
this is the error i am getting while testing the interface mapping..
I think this is due to because the sceond mapping which i am using not communication with first mapping. We need to consolidate the mapping and then we can use it among all the differnt message type in source as well as in target.
Please focus some light on this also...
thanks
Sachin
Hi Sachin,
You are correct that we need to consolidate the all the messsages on source side so the structure for you case should be like this :
<Messages>
<Message1>
<Messagetype1>
....
</Messagetype1>
</Message1>
<Message2>
<Messagetype2>
....
</Messagetype2>
</Message2>
</Messages>
Similar way target should be appeared....if all this is correct then we will look into it...
Regards,
Priyanka Sharma
Hi,
u can achieve with single interface mapping provided
Your Messagetype1 and Messagetype2 structure will be same
Messagetype1_target and messagetype2_target structure will be same
If structures are different u have to go for different interface mapping.
Regards,
Pradeep A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.