none
WCF-OracleDb : Microsoft.ServiceModel.Channels.Common.MetadataException: Argument is invalid RRS feed

  • Question

  • Hi there,

    I am using Windows Server 2008 R2 + BizTalk Server 2010 on a x64

    Below are my specifications :

    polling statement : <GETINFOR         xmlns="http://Microsoft.LobServices.OracleDB/2007/03/xxx/Package/PKG_NOTIF_G2"/>
    polling action    : http://Microsoft.LobServices.OracleDB/2007/03/xxx/PollingPackage/PKG_NOTIF_G2

    And sadly I got the error : WCF-OracleDb : Microsoft.ServiceModel.Channels.Common.MetadataException:  Argument /xxxx/PollingPackage/PKG_NOTIF_G2 is invalid.

    This worked for me on BizTalk Server 2006 with no issue.

    What is wrong with my specifications?

    Below is the complete error description :

    The Messaging Engine failed to add a receive location "xxx.Oracle.NotifInterv.Loc" with URL "oracledb://xxxx/" to the adapter "WCF-OracleDB". Reason: "Microsoft.ServiceModel.Channels.Common.MetadataException: Argument /xxx/PollingPackage/PKG_NOTIF_G2 is invalid.
       at Microsoft.Adapters.OracleDB.AbsoluteNameParser..ctor(String absoluteName)
       at Microsoft.Adapters.OracleDB.RequestTypeHelper.GetRequestType(String operationId)
       at Microsoft.Adapters.OracleDB.OracleCommonMetadataResolverHandler.ResolveOperationMetadata(String operationId, TimeSpan timeout, TypeMetadataCollection& extraTypeMetadataResolved)
       at Microsoft.ServiceModel.Channels.Common.Design.MetadataCache.GetOperationMetadata(String uniqueId, Guid clientId, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.MetadataLookup.GetOperationDefinitionFromInputMessageAction(String action, TimeSpan timeout)
       at Microsoft.Adapters.OracleDB.OracleDBInboundContract..ctor(OracleDBConnection connection, IOracleCommonUDTHelper oracleUdtHelper, MetadataLookup metadataLookup)
       at Microsoft.Adapters.OracleDB.OracleDBConnection.Microsoft.ServiceModel.Channels.Common.IConnection.BuildHandler[TConnectionHandler](MetadataLookup metadataDictionary)
       at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnectionHandler[TConnectionHandler](Guid clientId, TimeSpan timeout, MetadataLookup metadataLookup, String& connectionId)
       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener`1.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext, IBTTransportProxy transportProxy, ControlledTermination control)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url, IPropertyBag adapterConfig, IPropertyBag bizTalkConfig)".

     

    Regards,

    Stefan


    BizTalk Consultant in France

    Thursday, August 11, 2011 2:08 PM

Answers

  • I found the solution by my self, just in case someone has the same issue :

    in the Polling Action you need to specify ttp://Microsoft.LobServices.OracleDB/2007/03/xxx/PollingPackage/PKG_NOTIF_G2/GETINFOR

    Regards,


    BizTalk Consultant in France
    Thursday, August 11, 2011 3:59 PM

All replies