|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
BAPI call failed - InvalidMetadataException - WMB6.1 |
« View previous topic :: View next topic » |
Author |
Message
|
Duke |
Posted: Fri Jul 25, 2008 12:57 am Post subject: BAPI call failed - InvalidMetadataException - WMB6.1 |
|
|
 Apprentice
Joined: 09 Mar 2004 Posts: 49 Location: Belgium
|
Hi all,
We are using WebSphere Message Broker V6.1 and would like to call BAPI on our SAP.
I have used the adapter connector wizard to generate the business object that corresponds to the BAPI function to call.
The message set and the adapter are correctly created.
I have create a message flow with a mapping node and the SAPRequest node. I populate the wrapper business object in the mapping node.
The call fails and in the service trace, I have the following error:
javax.resource.ResourceException: com.ibm.j2ca.extension.metadata.exceptions.InvalidMetadataException: The business object level metadata could not be retrieved for the object.
Can any one had already have this exception?
More trace are given here after:
2008-07-24 16:46:22.410577 23520 >> { ImbMbAdapterSinglePhaseTrxnContext::ImbMbAdapterSinglePhaseTrxnRegistration::ImbMbAdapterSinglePhaseTrxnRegistration , 'BAPI_CostCenter_OutBound'
2008-07-24 16:46:22.410587 23520 >> } ImbMbAdapterSinglePhaseTrxnContext::ImbMbAdapterSinglePhaseTrxnRegistration::ImbMbAdapterSinglePhaseTrxnRegistration
2008-07-24 16:46:22.410596 23520 >> } ImbMbAdapterSinglePhaseTrxnContext::registerWork , 0
2008-07-24 16:46:22.410606 23520 >> } ImbMbAdapterSinglePhaseTrxnProxy::registerMbAdapterWorkPerformed
2008-07-24 16:46:22.410615 23520 >> } ImbMbAdapterJNISinglePhaseTrxn::Java_com_ibm_broker_adapter_transaction_singlephase_MbAdapterSinglePhaseTrxnHandler_registerWorkperformed
2008-07-24 16:46:22.410634 23520 >> } com.ibm.broker.adapter.transaction.singlephase.MbAdapterSinglePhaseTrxnHandler@19521952.startOutboundTransaction DynamicSubscriptionEngine DynamicSubscriptionEngine , DynamicSubscriptionEngine
2008-07-24 16:46:22.410699 23520 >> { com.ibm.broker.classloading.DummyClassLoader@73c073c0.isEndordedStandardPackage DynamicSubscriptionEngine DynamicSubscriptionEngine , 'com.ibm.websphere.j2c.InteractionMetrics', DynamicSubscriptionEngine
2008-07-24 16:46:22.410720 23520 >> } com.ibm.broker.classloading.DummyClassLoader@73c073c0.isEndordedStandardPackage DynamicSubscriptionEngine DynamicSubscriptionEngine , 'endorsed=false', DynamicSubscriptionEngine
2008-07-24 16:46:22.411264 23520 >> com.ibm.j2ca.aspects.OutboundPerformanceMonitor.AftergetWBIInteractionListener DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINER' , ' after getWBIInteractionListener aspect called to obtain interactionMetrics listener', DynamicSubscriptionEngine
2008-07-24 16:46:22.411296 23520 >> com.ibm.j2ca.sap.SAPInteraction.SAPInteraction DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINER' , 'Exiting method.', DynamicSubscriptionEngine
2008-07-24 16:46:22.411420 23520 >> com.ibm.j2ca.extension.monitoring.CEI.impl.EventPointLoggerImpl.isEnabled DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINEST' , 'Start invoking EventPointImpl.getEventSource ', DynamicSubscriptionEngine
2008-07-24 16:46:22.411479 23520 >> com.ibm.j2ca.extension.monitoring.CEI.impl.EventPointLoggerImpl.fire DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINEST' , 'Start invoking EventPointImpl.getEventSource ', DynamicSubscriptionEngine
2008-07-24 16:46:22.411508 23520 >> com.ibm.j2ca.sap.SAPInteraction.execute DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINER' , 'Entering method.', DynamicSubscriptionEngine
2008-07-24 16:46:22.411546 23520 >> com.ibm.j2ca.sap.SAPInteraction.execute() file:F:\build\S610_P\src\DataFlowEngine\NativeTrace\ImbNativeTrace.cpp line:143 message:3484.BIPv610 DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:INFO' , 'input is of type com.ibm.j2ca.sap.records.SAPBapiRecord@0', DynamicSubscriptionEngine
2008-07-24 16:46:22.411546 23520 >> UserTrace BIP3484E: ''input is of type com.ibm.j2ca.sap.records.SAPBapiRecord@0''
An adapter component has written the diagnostic message included here.
Refer to the appropriate WebSphere Adapters message in the WebSphere Brokers documentation.
2008-07-24 16:46:22.411563 23520 >> com.ibm.j2ca.sap.SAPInteraction.execute() DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:INFO' , 'input is of type com.ibm.j2ca.sap.records.SAPBapiRecord@0', DynamicSubscriptionEngine
2008-07-24 16:46:22.411594 23520 >> com.ibm.j2ca.sap.SAPInteraction.execute() DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINE' , 'getting interface_type using getObjectType() from com.ibm.j2ca.extension.metadata.internal.sdo.SDOType@4c23c40f', DynamicSubscriptionEngine
2008-07-24 16:46:22.411613 23520 >> com.ibm.j2ca.sap.SAPInteraction.getObjectType DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINER' , 'Entering method.', DynamicSubscriptionEngine
2008-07-24 16:46:22.411630 23520 >> SAPASIRetriever.getBapiBOType DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINER' , 'Entering method.', DynamicSubscriptionEngine
2008-07-24 16:46:22.411645 23520 >> SAPASIRetriever.getBOASI DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINER' , 'Entering method.', DynamicSubscriptionEngine
2008-07-24 16:46:22.413656 23520 >> SAPASIRetriever.getBOASI file:F:\build\S610_P\src\DataFlowEngine\NativeTrace\ImbNativeTrace.cpp line:143 message:3484.BIPv610 DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:SEVERE' , 'CWYBS0011E: The Resource Bundle com.ibm.j2ca.sap.LogMessages using Locale nl_BE does not contain any text for key 7103.', DynamicSubscriptionEngine
2008-07-24 16:46:22.413656 23520 >> UserTrace BIP3484E: ''CWYBS0011E: The Resource Bundle com.ibm.j2ca.sap.LogMessages using Locale nl_BE does not contain any text for key 7103.''
An adapter component has written the diagnostic message included here.
Refer to the appropriate WebSphere Adapters message in the WebSphere Brokers documentation.
2008-07-24 16:46:22.413692 23520 >> SAPASIRetriever.getBOASI DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:SEVERE' , 'CWYBS0011E: The Resource Bundle com.ibm.j2ca.sap.LogMessages using Locale nl_BE does not contain any text for key 7103.', DynamicSubscriptionEngine
2008-07-24 16:46:22.413810 23520 >> com.ibm.j2ca.extension.monitoring.CEI.impl.EventPointLoggerImpl.isEnabled DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINEST' , 'Start invoking EventPointImpl.getEventSource ', DynamicSubscriptionEngine
2008-07-24 16:46:22.413873 23520 >> com.ibm.j2ca.extension.monitoring.CEI.impl.EventPointLoggerImpl.fire DynamicSubscriptionEngine DynamicSubscriptionEngine 'MbLogHandler:FINEST' , 'Start invoking EventPointImpl.getEventSource ', DynamicSubscriptionEngine
2008-07-24 16:46:22.415372 23520 >> com.ibm.broker.adapter.deploy.MbAdapterAccess.execute DynamicSubscriptionEngine DynamicSubscriptionEngine 'throwing InternalException' , 'javax.resource.ResourceException: com.ibm.j2ca.extension.metadata.exceptions.InvalidMetadataException: The business object level metadata could not be retrieved for the object.
at com.ibm.j2ca.sap.SAPInteraction.execute(SAPInteraction.java:243)
at com.ibm.broker.adapter.deploy.MbAdapterAccess.execute(MbAdapterAccess.java:139)
at com.ibm.broker.adapter.nodes.MbAdapterRequestNode.requestData(MbAdapterRequestNode.java:368)
at com.ibm.broker.plugin.MbRequestTemplateNode.requestData(MbRequestTemplateNode.java:51)
Caused by: com.ibm.j2ca.extension.metadata.exceptions.InvalidMetadataException: The business object level metadata could not be retrieved for the object.
at com.ibm.j2ca.sap.asi.SapASIRetriever.getBOASI(SapASIRetriever.java:60)
at com.ibm.j2ca.sap.asi.SapASIRetriever.getBapiBOType(SapASIRetriever.java:7
at com.ibm.j2ca.sap.SAPInteraction.getObjectType(SAPInteraction.java:720)
at com.ibm.j2ca.sap.SAPInteraction.execute(SAPInteraction.java:198)
... 3 more
Caused by: java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'sapBAPIBusinessObjectTypeMetadata' not found. _________________ Pierre Richelle
Engineer
IBM Certified MQSeries Developper V5.3
IBM Certified WMQ Administration V6 |
|
Back to top |
|
 |
Duke |
Posted: Thu Aug 07, 2008 11:17 pm Post subject: |
|
|
 Apprentice
Joined: 09 Mar 2004 Posts: 49 Location: Belgium
|
We have solved the issue.
It seems that there is a deffect in the toolkit.
We can't have two adapter connection project within the same workspace.
We have first test the ALE interface before testing the BAPI.
Creating a new workspace for the BAPI test solved the issue. _________________ Pierre Richelle
Engineer
IBM Certified MQSeries Developper V5.3
IBM Certified WMQ Administration V6 |
|
Back to top |
|
 |
crossland |
Posted: Mon Dec 21, 2009 1:00 am Post subject: |
|
|
Master
Joined: 26 Jun 2001 Posts: 248
|
Is this still the case?
If so, how do you test a flow that uses two adapter connections?
Thanks,
Tim |
|
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
|
|
|
|