Answered BizTalk SAP Adaptor issue

  • Thursday, April 19, 2012 6:21 PM
     
     

    Hi,

    I have an issue with a WCF-SAP recieve adaptor where by BizTalk 2010 seems to pickup the message from SAP, however it doesnt make it out of the XMLReceive pipeline into the orchestration.  In the windows application logs I get the following errors with an Event ID of 5740.  Does anyone have any ideas on this?  Thanls for any help in advance.

    The adapter "WCF-SAP" raised an error message. Details "System.Exception: Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly.

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkAsyncResult.End()

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance.EndOperation(IAsyncResult result)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance.Microsoft.BizTalk.Adapter.Wcf.Runtime.ITwoWayAsync.EndTwoWayMethod(IAsyncResult result)

       at AsyncInvokeEndEndTwoWayMethod(Object , Object[] , IAsyncResult )

       at System.ServiceModel.Dispatcher.AsyncMethodInvoker.InvokeEnd(Object instance, Object[]& outputs, IAsyncResult result)

       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeEnd(MessageRpc& rpc)

       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc& rpc)

       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)".

    And

    The adapter "WCF-SAP" raised an error message. Details "Microsoft.Adapters.SAP.RFCException: Details: ErrorCode=RFC_INVALID_HANDLE. AdapterErrorMessage=An exception has occurred on the listener while executing RfcWaitForRequest..

       at Microsoft.ServiceModel.Channels.Common.Design.AdapterAsyncResult.End()

       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterReplyChannel.EndTryReceiveRequest(IAsyncResult result, RequestContext& requestContext)

       at Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredInboundChannel`1.System.ServiceModel.Channels.IReplyChannel.EndTryReceiveRequest(IAsyncResult result, RequestContext& context)

       at System.ServiceModel.Dispatcher.ReplyChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext)

       at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext)".

    And

    The adapter "WCF-SAP" raised an error message. Details "The WCF service host at address sap://CLIENT=570;LANG=EN;@a/xysapqas2/00?ListenerGwServ=sapgw00&ListenerGwHost=XYSAPQAS2.xy01.xyratex.com&ListenerProgramId=GENERIC_ID&Id=2&RfcSdkTrace=False&AbapDebug=False has faulted and as a result no more messages can be received on the corresponding receive location. To fix the issue, BizTalk Server will automatically attempt to restart the service host.".

    And

    The adapter "WCF-SAP" raised an error message. Details "System.ServiceModel.CommunicationObjectFaultedException: The communication object, Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredInboundChannel`1[System.ServiceModel.Channels.IReplyChannel], cannot be used for communication because it is in the Faulted state.

       at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)

       at System.ServiceModel.Channels.CommunicationObject.Close()

       at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.Close()".


    GilesB

All Replies

  • Monday, April 23, 2012 2:40 PM
     
     Answered

    Did you deploy into BizTalk application, that contains receive port, assembly called Microsoft.Adapters.SAP.BiztalkPropertySchema.dll ? If not, you should do that in order to promote properties, contained in IDOC messages for instance.

    It may help you.

    Don't forget to activate EnableBizTalkCompatibilityMode property in wcf-sap adapter and restart services as well.


    Christophe BRANDO http://christophe.brando.free.fr