|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Ariba acknowledgements - attribute error |
« View previous topic :: View next topic » |
Author |
Message
|
jacqueline stevenson |
Posted: Thu Jul 27, 2006 12:27 am Post subject: Ariba acknowledgements - attribute error |
|
|
Newbie
Joined: 10 Feb 2006 Posts: 4
|
Hi,
I am running the ariba adapter v3 on adapter framework v2.6. and have generated and imported to WBIMB v5 the message definitions both for the messages the broker will receive from Ariba and for those it will send to Ariba as acknowledgements.
The messages are all namespace based, and the receipt of messages by the broker is working fine.
However, when I send acknowledgements back to Ariba, I get an error and all messages are rejected.
The error message referes to the order of the attributes in the message (verb, delta etc. I assume). I am populating them in the order of the message definition, but this is not acceptable to the adapter apparently!
Interestingly, the messages output from Ariba populate the verbs in an order different from that of the definition, though the broker is able to cope with this, and raises no error. I have tried setting the return attributes in the order that they are output by the adapter, but that makes no difference.
There is one obvious difference between the input and output messges. On the input messages, each change of namespace level has the namespace definition detailed, and each has its own set of verbs. On the output, all namespace definitions are detailed at the top level, and are referred to in the remainder of the message.
START OF INPUT MESSAGE
<Q1:BA_GBP_PurchaseOrderPush
xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_GBP_PurchaseOrderPush" version="3.0.0" verb="Retrieve" locale="en_GB" delta="false">
<Q1:Variant>BA</Q1:Variant>
<Q1:ReplyKey>Node2_1153318619418</Q1:ReplyKey>
<Q1:RequestSchema>
<Q17:BA_ariba_integration_param_PurchaseOrderPush xmlns:Q17="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_integration_param_PurchaseOrderPush" version="3.0.0" verb="Retrieve" locale="en_GB" delta="false">
<Q17:EventSource>BA:GBP:PO</Q17:EventSource>
<Q17:Partition>GBP</Q17:Partition>
<Q17:Variant>BA</Q17:Variant>
<Q17:ERPOrder>
<Q23:BA_ariba_purchasing_core_ERPOrder_Export xmlns:Q23="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_purchasing_core_ERPOrder_Export" version="3.0.0" verb="Retrieve" locale="en_GB" delta="false">
<Q23:TimeCreated>19-Jul-2006 15:16:59</Q23:TimeCreated>
<Q23:TimeUpdated>19-Jul-2006 15:16:59</Q23:TimeUpdated>
<Q23:UniqueName>DBA33</Q23:UniqueName>
<Q23:Name>ack test purchase order - duns</Q23:Name>
<Q23:StatusString>Ordering</Q23:StatusString>
<Q23:CreateDate>19-Jul-2006 15:16:58</Q23:CreateDate>
<Q23:ApprovedDate>19-Jul-2006 15:16:58</Q23:ApprovedDate>
<Q23:VersionNumber>1</Q23:VersionNumber>
OUTPUT MESSAGE
<?xml version="1.0"?><NS1:BA_GBP_PurchaseOrderReplySubscribe xmlns:NS1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_GBP_PurchaseOrderReplySubscribe" xmlns:NS2="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_AMER_GeneralLedgerReplySubscribe" xmlns:NS3="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_AMER_PurchaseOrderReplySubscribe" xmlns:NS4="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_AMER_ReceiptReplySubscribe" xmlns:NS5="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_GBP_GeneralLedgerReplySubscribe" xmlns:NS6="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_GBP_ReceiptReplySubscribe" xmlns:NS7="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_approvable_core_Comment" xmlns:NS8="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_approvable_core_RemoteAttachment" xmlns:NS9="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_base_core_ClusterRoot" xmlns:NS10="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_base_core_NamedPair" xmlns:NS11="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_basic_core_CommodityCode_Reference" xmlns:NS12="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_basic_core_Currency_Reference" xmlns:NS13="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_basic_core_Money" xmlns:NS14="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_basic_core_UnitOfMeasure_Reference" xmlns:NS15="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_common_core_Address_Reference" xmlns:NS16="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_common_core_ExtrinsicTableEntry" xmlns:NS17="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_common_core_PartitionedCommodityCode_Reference" xmlns:NS18="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_common_core_PaymentTerms_Reference" xmlns:NS19="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_common_core_SplitAccounting" xmlns:NS20="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_common_core_SplitAccountingCollection" xmlns:NS21="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_common_core_SupplierLocation_Reference" xmlns:NS22="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_common_core_Supplier_Reference" xmlns:NS23="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_core_Account_Reference" xmlns:NS24="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_core_Company_Reference" xmlns:NS25="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_core_CostCenter_Reference" xmlns:NS26="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_core_Product_Reference" xmlns:NS27="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_core_Region_Reference" xmlns:NS28="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_core_SubAccount_Reference" xmlns:NS29="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_procure_core_LineItemProductDescription" xmlns:NS30="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_purchasing_core_ERPOrder" xmlns:NS31="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_purchasing_core_POLineItem" xmlns:NS32="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_receiving_core_Receipt" xmlns:NS33="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_receiving_core_ReceiptItem" xmlns:NS34="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ariba_receiving_core_ReceivableLineItemCollection_Reference" xmlns:NS35="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_ba_CapitalProject_Reference" xmlns:NS36="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_config_java_ba_JEHeader" xmlns:NS37="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BA_config_java_ba_JELine" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.0.0" verb="ABUpdate" locale="en_GB" delta="0"><NS1:SubscribeSchema><NS30:BA_ariba_purchasing_core_ERPOrder><NS30:UniqueName>DBA33</NS30:UniqueName><NS30:ERPPONumber>DBA33</NS30:ERPPONumber></NS30:BA_ariba_purchasing_core_ERPOrder></NS1:SubscribeSchema><NS1:Partition>GBP</NS1:Partition><NS1:Variant>BA</NS1:Variant><NS1:ReplyKey>Node2_1153318619418</NS1:ReplyKey><NS1:TopicName>BA_GBP_PurchaseOrderReplySubscribe</NS1:TopicName><NS1:ObjectEventId>BuyerConnector_1153318620101_2</NS1:ObjectEventId></NS1:BA_GBP_PurchaseOrderReplySubscribe> |
|
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
|
|
|
|