Posted: Fri Mar 16, 2007 11:32 pm Post subject: How to send an ICS Business Object to MQ
Newbie
Joined: 17 Aug 2006 Posts: 8
Hi All,
Could some help me write a java application which could post a business object to MQ. I tried sending the XML generated from the business object but the MQ adapter is not able to pick it up.
Attached the error i got.
[Time: 2007/03/17 12:41:03.781] [System: ConnectorAgent] [SS: WebSphereMQ] [Thre
ad: WorkerThread : 0 (#1180146015)] [Type: Error] [MsgID: 25000] [Mesg: Data han
dler com.crossworlds.DataHandlers.text.xml failed to convert message (ID:414d512
0576562537068657265494353773afa4520000b01) to business object (any). It reported
the following error: CxCommon.Exceptions.BusObjSpecNameNotFoundException:Unable
to find version "*.*.*" of business object definition "XMLTEST_HelloASBO".. ]
Posted: Sat Mar 17, 2007 5:30 am Post subject: why write it in java???
Master
Joined: 26 Oct 2004 Posts: 235
this is what your MQ adapter does... check your MQ adapter and see if "XMLTEST_HelloASBO" is a BO it support (and check agent support as it's your ASBO and create your mappings between the two)...
Hi All ,
I was able to write the application to post messages in MQ . Below is the code snippet .
I have used a mq adapter with a com.crossworlds.DataHandlers.text.delimited as the datahandler
. My requirement was ASBO name HelloASBO with verb create
and I had two fields to poulate customerId and customerName
try{
Posted: Mon Mar 19, 2007 9:36 am Post subject: hey
Voyager
Joined: 30 Mar 2006 Posts: 90
It seems from your first post the BO Prefix in the MO datahandeler configuration is set to "XMLTEST_", thats whay its giving the mesntioned error
"It reported
the following error: CxCommon.Exceptions.BusObjSpecNameNotFoundException:Unable
to find version "*.*.*" of business object definition "XMLTEST_HelloASBO".. ]
"
Read more abt how to configure your MO Object from Infocenter... its staright forward.
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