|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Associating maps in connector congifurator |
« View previous topic :: View next topic » |
Author |
Message
|
jeetendra |
Posted: Sat Feb 09, 2008 1:49 am Post subject: Associating maps in connector congifurator |
|
|
Newbie
Joined: 09 Feb 2008 Posts: 4
|
Hi,
I am new to WBI. I am trying a simple example of transferring an employee object from one connector to another connector using GBO employee.
I have created 2 BOs EmpA and EmpB and a GBO GenEmp. Then I created 4 maps EmpA_GenEmp, GenEmp_EmpA, EmpB_GenEmp, GenEmp_EmpB.
Next I created 2 connectors TestCon1 and TestCon2. Associated EmpA (AgentSupport checked) and GenEmp BOs with TestCon1 and closed connector configurator. Similarly, associated EmpB (AgentSupport checked) and GenEmp BOs with TestCon2 and closed connector configurator.
After this as per the documentation, when I open TestCon1, I should see the appropriate maps on the Associated Maps tab. In this case map EmpA_GenEmp against EmpA for TestCon1 and map GenEmp_EmpB against GenEmp for TestCon2. But I do not see them on the associated maps tab page.
Is this ok? If not what could be the reason.
Next, I associated the appropriate maps explicitly.
I created a simple collaboration with Create scenario, bound the connectors and deployed everything on ICS.
Now, When I send EmpA.Create from TestCon1, I receive EmpB.Create in TestCon2, but it has no data. All attributes are null/empty.
I guess the mapping is not being processed.
Do maps get invoked automatically or in the collaboration we need to invoke them explicitly?
If we need to invoke them explicitly, then why the Associated Maps tab page is required?
Thanks in advance.
Jeetendra |
|
Back to top |
|
 |
eai_guy |
Posted: Sun Feb 10, 2008 9:35 pm Post subject: |
|
|
Voyager
Joined: 18 Oct 2007 Posts: 90
|
see that all the business Object names are correct and and u have given agent support the all the ASBOs ............. This mainly happens wen u make some mistake with business objects associated with the maps.... |
|
Back to top |
|
 |
eai_guy |
Posted: Sun Feb 10, 2008 9:41 pm Post subject: Re: Associating maps in connector congifurator |
|
|
Voyager
Joined: 18 Oct 2007 Posts: 90
|
jeetendra wrote: |
Hi,
Do maps get invoked automatically or in the collaboration we need to invoke them explicitly?
If we need to invoke them explicitly, then why the Associated Maps tab page is required?
Thanks in advance.
Jeetendra |
Maps are not getting invoked in collaboration.... always remember that only GBO is operated upon in collaboration ....... mapping takes place at the connectors............and having GBO is the best practice, because if in future source or destination is changed we only have to change the connector configurations........and not the business logic.... |
|
Back to top |
|
 |
jeetendra |
Posted: Sun Feb 10, 2008 9:53 pm Post subject: |
|
|
Newbie
Joined: 09 Feb 2008 Posts: 4
|
Thanks.
I got the answer.
I was making the very basic mistake.
In the connector configurator I have assigned ASBOs correctly.
But in the collaboration I was again assigning ASBOs to the ports Hence the map was not getting invoked. I have now changed the BO in port configuration to GBO and everything is working fine.
But I wonder, this very basic but very important thing is not mentioned explicitely anywhere in the documentation for collaboration.
Thanks again.
Jeetendra |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|