Commerce Server BizTalk Orders Adapter

Hi,

I am using a commerce server orders adapter with BizTalk. It is running fine however everyday I get an error from the Commerce server orders adapter and I have to reset the host as this error fails BizTalk. The error I get is below;

The Messaging Engine received an error from transport adapter "CommerceServerOrders" when notifying the adapter with the BatchComplete event. Reason "Object reference not set to an instance of an object.”


Then I get this error message that follows;

Failed submitting message to BizTalk.  Message: .  Stack trace:    at Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodException(Exception ex, SoapHttpClientProtocol serviceProxy)
   at Microsoft.CommerceServer.Internal.Orders.OrderServiceProxy.AuthorizedInvoke(String methodName, Object[] parameters)
   at Microsoft.CommerceServer.Internal.Orders.OrderServiceProxy.SearchPurchaseOrdersWithCount(XmlElement searchClause, SearchOptions searchOptions, Int32& recordsMatched)
   at Microsoft.CommerceServer.Adapter.Orders.OrdersReceiveEndpoint.GetOrderGuids(Cookie commerceServerCookie, ArrayList& orderGroupIds)
   at Microsoft.CommerceServer.Adapter.Orders.OrdersReceiveEndpoint.SubmitBatch().

For more information, see Help and Support Center at 

Does anyone know what the cause of this message is





Answer this question

Commerce Server BizTalk Orders Adapter

  • DeadDante

    The order web adapter will run for a few hours and it will pick up orders and submit them to BizTalk and then will get the above error. I can't see any corresponding error messages on the commerce server.

  • Pr09aN1g0d

    Is there some corresponding load on the CS server or the network that would contribute to a timeout
  • StevenR2

    The receive endpoint will wake up periodically an issue a search to the web service for the set of objects that should be transferred to BizTalk. This stack trace indicates that this call is failing.

    What do you mean when you say 'It is running fine...' Does the receive endpoint sometimes send orders but other times doesn't Are there corresponding errors on the CS machine


  • Commerce Server BizTalk Orders Adapter