Problem with WCF-Custom adapter (WS HTTP Binding with reliable messaaging) - Error event logged, even though transaction completed Sucessfully

Hi All
I am using WCF-Custom (WS HTTP Binding) with Message security as Windows and using Reliable messaging in the send port. Its a static Port. 
Every thing works fine as expected for the interface. ie the transaction is success. After a min of the transaction completion. I am getting the following error
01. I have not checked Propagate Fault message (as a solution provided in another blog)
02. Its a static Port
03. I am using reliable messaging
The below error events are logged in the event viewer
The Message Engine Encountered an error while suspending one or more Messages ( ID 5677)
Event  ID : 5796
The transport proxy method MoveToNextTransport() failed for adapter WCF-Custom: Reason: “Messaging engine has no record of delivering the message to the adapter. This could happen if MoveToNextTransport() is called multiple times for the same message by
the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine”. Contact the adapter vendor
Should I have log this issue with Microsoft through Service request ? or is there any work around is there. Unfortunate is I cannot remove the reliable messaging from the service.
Arun

Hi,
Is there any solution to this problem?
I am getting the same issue "The transport proxy method MoveToNextTransport() failed for adapter WCF-NetTcp: Reason: "Messaging engine has no record of delivering the message to the adapter.
This could happen if MoveToNextTransport() is called multiple times for the same message by the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine". Contact the adapter vendor"
I checked this link http://rajwebjunky.blogspot.be/2011/09/biztalk-dynamic-request-response-port.html, but
in my case i am not using dynamic port.
In my scenario, i have a number of dehydrated orchestrations that become active every Monday 6:00 AM UTC and make to calls to a WCF service, to spread out the load I have implemented a load distribution logic where orchestrations send request to service
in every 1 minute (not at the same time). but still i get this error sometime.
I have opened a ticket with MS support but thought that someone might have already found the root cause.
Let me know if there is one.
Thanks,
Rahul
Best Regards, Rahul Dubey MCTS BizTalk Server

Similar Messages

  • Issue with WCF-Custom adapter polling Oracle db

    Hi,
    I have a scenario where BizTalk connects to Oracle db using WCF-custom adapter with OracleDbBding which has queries at P below properties:
    PolledDataAvailableStatement
    PollingStatement
    PostPollStatement
    The interface was working for more than 2 years, but when oracle server is moved from prod to DR server, it started throwing crazy errors.I have gone thru many blogs there seems to no definitive answer or solution for this.
    I have been getting below errors:
    The adapter "WCF-Custom" raised an error message. Details "The faulted WCF service host at address oracledb:// could not be restarted, and as a result no messages can be
    received on the corresponding receive location. BizTalk Server will continue trying to start the service host until it succeeds or the receive location is disabled.
    The adapter "WCF-Custom" raised an error message. Details "The faulted WCF service host at address oracledb://xxxxx/?PollingId= could not be restarted, and as a result
    no messages can be received on the corresponding receive location. BizTalk Server will continue trying to start the service host until it succeeds or the receive location is
    disabled.
    To fix the problem, you may choose to:
    1. Use the error information given to fix the problem.
    2. Restart the receive location.
    3. Keep waiting for BizTalk to recycle the service host. Another event will notify if the service host is successfully started.
    Detailed error information: Microsoft.ServiceModel.Channels.Common.ConnectionException: Connection request timed out ---> Oracle.DataAccess.Client.OracleException Connection
    request timed out    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object
    src, String procedure)
       at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
       at Oracle.DataAccess.Client.OracleConnection.Open()
       at Microsoft.Adapters.OracleCommon.OracleCommonConnectionWrapper..ctor(String connectionString, OracleCommonExecutionHelper executionHelper)
       at Microsoft.Adapters.OracleDB.OracleDBConnection.Microsoft.ServiceModel.Channels.Common.IConnection.Open(TimeSpan timeout)
       --- End of inner exception stack trace ---
       at Microsoft.Adapters.OracleDB.OracleDBConnection.Microsoft.ServiceModel.Channels.Common.IConnection.Open(TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnection(Guid clientId, TimeSpan timeout)
       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 System.ServiceModel.Channels.CommunicationObject.Open()
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.RecycleServiceHost(Object unused)".-------------------------
    The adapter "WCF-Custom" raised an error message. Details "System.ServiceModel.CommunicationObjectFaultedException: The communication object,
    Microsoft.ServiceModel.Channels.Common.Channels.AdapterInputChannel, 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()".

    "Oracle.DataAccess.Client.OracleException Connection  request timed out    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object 
    src, String procedure)"
    Looks like it's the Oracle client that can't connect. Can you run any queries from the Oracle tools?

  • BizTalk 2010 - WCF-Custom Adapter with sqlbinding - rror was encountered while attempting to transmit the message

    BizTalk 2010 RTM version with SQL 2008 R2 .
    An intermittent issue with the WCF-Custom adapter with sqlbinding, calling a SQL stored proc as below
    Message gets suspended in BT Admin console  with "An internal server error was encountered while attempting to transmit the message" .
    Event log shows 
    A message sent to adapter "WCF-Custom" on send port "xxx" with URI "mssql://server/db?" is suspended.  Error details: Unknown Error Description 
    Any advice please. Thanks
    Sullu.
    http://biztalkguide.blogspot.com/ Please mark as answer if this solved the issue.Thanks

    Hi Chen
    Is there any update on this please ?
    I have applied the latest CU and have noticed the following issue.
    BizTalk 2010 Enterprise Edition with BizTalk 2010 CU6 and CU3 for BizTalk Adapter Pack works fine , no issues noticed.
    However ,
    On a DEV VM ,BizTalk 2010 Developer Edition with BizTalk 2010 CU6 and CU3 for BizTalk Adapter Pack still gives the error mentioned in this post.
    In addition Microsoft BizTalk Adapter Pack ,Microsoft BizTalk Adapter Pack(x64) & WCF LOB Adapter SDK are also installed .
    Below is the Error message.
    Message gets suspended in BT Admin console  with "An internal server error was encountered while attempting to transmit
    the message" .
    A message sent to adapter "WCF-Custom" on send port "xxx" with URI "mssql://server/db?" is
    suspended.  Error details:
    Unknown Error Description 
    Could you please check and advice what needs to be done to resolve this ? Thanks .
    Regards,
    Sullu
    http://biztalkguide.blogspot.com/ Please mark as answer if this solved the issue.Thanks

  • Accessing Java webservice (XML over http) via WCF or HTTP adapter with content-type and authorization HTTP headers with POST method

    Hi Team,
    I need to access Java web service which is simple service and accepts and returns XML over HTTP. No credentials are needed to access the service. We need to pass following two HTTP headers (Content-Type and Authorization) along with XML request message:
    <GetStatus> message is being constructed in the orchestration and URI is constant to access.
    Which adapter shall I use to get the response back? I tried using WCF-WSHttp with Security Mode = Transport, and different options of client credential types but every time, error returned stating:
    System.Net.WebException:
    The HTTP request is unauthorized with client authentication scheme 'Basic'. The
    authentication header received from the server was 'Basic realm='.
    Authentication failed for principal Basic. Message payload is of type:
    String 
    In Fiddler, request looks line following
    POST <https://URL/GetServiceReopnse HTTP/1.1
    Content-Type: application/xml
    Authorization: Basic cmVmU3RhdHN2Y19kgeRfsdfs=
    Host: <Server name>
    <GetStatus XMLNS="http://server.com/.....">
    <OrgId>232323</OrgId>
    <HubId>3232342323</HubId>
    </GetStatus>
    MMK-007

    First, you should not use the HTTP Adapter because it's been deprecated and replaced by WCF.
    Start with the WCF-Custom Adapter and select the customBinding.
    You should start with the textMessageEncoder and httpTransport and go from there.

  • Can Wcf-Custom Adapter implement Wcf-WebHttp Functionality?

    Can the Wcf-Custom adapter implement the same functionality as the Wcf-WebHttp adapter in BizTalk 2013? In particular, can it provide the same functionality as the operation map and the variable map? If not, is there any other way to provide Wcf-WebHttp
    functionality without hosting an adapter in IIS with an isolated host?
    Thanks!

    Yes, but...
    You can set the mappings on outgoing messages with some new Context Properties.  This describes how to do it on a Dynamic Port, but it should work the same on a static port. 
    http://masteringbiztalkserver.wordpress.com/2013/11/11/calling-restful-service-using-dynamic-send-ports-biztalk-2013/
    The receive side is a bit different since I'm 97% sure all the mapping happens in the BizTalk Adapter (WS-WebHttp) not any of the binding elements.
    However, you can essentially replicate that functionality with a Custom Pipeline Component.  In that case you would use the WCF-Custom Adapter with the webHttpBinding.

  • Nonce property in WCF custom adapter

    Hello All,
    How to configure Nonce property in WCF Custom Adapter in Biztalk.
    I have created custom assembly as mentioned in other blogs(http://weblog.west-wind.com/posts/2012/Nov/24/WCF-WSSecurity-and-WSE-Nonce-Authentication), where we can create UsernameToken to specfy it, but how to use it?
    I have added it into GAC, but biztalk is not referring it.
    Pooja Jagtap Software Engineer KPIT Cummins

    Hi,
    You should look into the following articles first:
    http://msdn.microsoft.com/en-us/library/ms731075.aspx
    http://msdn.microsoft.com/en-us/library/dd203050(v=bts.10).aspx#BKMK_ConsumeWCFSvc
    You don't even necessarily need to code a new binding. Using the WCF-Custom adapter, you can choose your binding as customBinding (in the bindings tab of the port configuration), and then specify which binding elements should constitute your binding.
    Of course, another workaround is to call a WSE 3.0 service using a developed external assembly in an orchestration.
    Hope the information helps.
    Best regards,
    WenJun

  • Biztalk 2013 WCF-WebHTTP Adapter - Outbound HTTP Headers

    Hi
    I have a requirement to connect to a service using the WCF-WebHTTP adapter that requires authentication to be passed in the Headers.
    A usercode and password is sent in the intial header and a security token is returned in the response header.
    This security token is then used in the header of each subsequent call to the service.
    I could not find anything in the documentation about getting and setting the "HTTP Header" data using maps or variables or using variables in the "Outbound HTTP Headers" on the adapter transport properties.
    Any help on this would be gratefully received.
    Malcolm

    You can set the outbound HTTP header in WCF-WebHTTP adapter by 2 ways
    1) At adapter level Change adapter properties
    2)Changing Message context property at Orchestration or at pipeline
    Its been well documented here
    http://blog.codit.eu/post/2013/04/30/Using-HttpHeaders-with-WCF-WebHttp-Adapter-on-Biztalk-2013.aspx
    Thanks
    Abhishek

  • WCF Custom Adapter

    Hi all,
    I am facing the below mentioned issue  while configuring the WCF custom Adapter in Biztalk Server 2013 
    WCF-Custom Transport Properties
    Error saving properties.
    (System.ArgumentException) Invalid binding.
      (System.IO.FileNotFoundException) Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
    Any one please suggest
    OK   

    Dear Biztalk007,
    I also faced the same issue but on Biztalk 2010. Here is what I did.
    The issue may be three fold. You must have following installed in addition to your stand alone biztalk installation
    1) Biztalk  WCF Adapter pack
    2) Biztalk LOB adapter pack
    3) Appropriate Oracle Client.
    But you must take care of the thing that a proper Oracle Client suitable to your needs. I am working on Biztalk 2010 and I intsalled Oracle 11g.
     I am pretty sure ,yur error will be resolved after their installation.
    Regards,
    Mandar Dharmadhikari
    Please mark as answer if this helps to answer your question.

  • Difference between Direct binding ,  Web service Adapter and HTTP Binding

    Can any one help what is the differnce between
    *1) Direct binding*
    *2) Webservice Adapter*
    *3) HTTP Binding*
    I am trying to use the above service adapters as references in BPEL.
    I had invoked a web service hosted in OSB from BPEL via web service adapter and was successful
    On going through few docs came through the other two service adapters but was not able to figure out what exactly is the differnce .
    I learnt +"*Direct binding*"+ can be used to call OSB+ . How does it vary from Webservice Adapter+

    hi Eric ,
    Thanks for clarification ..
    OSB does not generate WSDL and web service adapter in BPEL mandates WSDL .
    I had to create WSDL separately and then feed into Web service adapter in BPEL to call OSB Proxy service. Though successful , felt its not an better approach.
    Please advice is there any way thatWSDL is generated in OSB itself . .if i try to create webservice on Proxy service the wsdl resulted from it has only binding and porty type .
    Is it the same case for ++Direct binding++ .I assume it should not be the case

  • Used wrong charger with ipod classic, now it wont turn on, displays the low battery icon even though its connected to the wright adapter

    used wrong charger with ipod classic, now it wont turn on, displays the low battery icon even though its connected to the wright adapter.
    Can anyone help ?
    please?

    WHow long have you left it to charge?  Have you tried resetting it after a short period of time to see if that can help jumpstart the charging process? To do this, press and hold both the Select/Center and Menu buttons together long enough for the Apple logo to appear.
    B-rock

  • HT2292 hello i'm facing  problem  i downloaded iTunes version 11 32bit  and after i installing the set up when i opened the iTunes a massages  occur saying i tunes could not connect to iTunes store an unknown error occurred (-3212) even  though my interne

    Hello i'm facing  problem  i downloaded itunes version 11 32bit for windows 7 and after i installing the set up when i opened the iTunes a massages  occur saying i tunes could not connect to iTunes store an unknown error occurred (-3212) even  though my internet is on

    Try this...
    Triple click anywhere in the line below to select it and press Ctrl+C to copy it.
    cmd /k netsh winsock reset
    Press the WinLogoKey+R to open the run dialog, then Ctrl+V to paste, then press enter/return.
    You should get something similar to this:
    Reboot the computer and the problem should be resolved.
    If it doesn't work then perhaps a full tear down and rebuild of iTunes will fix things. See Troubleshooting issues with iTunes for Windows updates for details.
    tt2

  • For some reason osx mountain lion has disappeared from my purchases and now when i want to install mountain lion on another mac with the same apple id it wants to charge me for the program even though i have already purchased it. what do i do?

    for some reason osx mountain lion has disappeared from my purchases and now when i want to install mountain lion on another mac with the same apple id it wants to charge me for the program even though i have already purchased it. what do i do?

    Open the Mac App Store on the other Mac and in the Quick Links sign into your account. See if the Mountain Lion purchase is among hidden apps in the iCloud area of your account info.

  • Error in WCF-Custom adapter (sqlbinding)

    There is a stored procedure tempdbo.dbo.InsertArTrxTyp.  I used the Add Generated Items wizard to create the schema and binding file for the stored procedure.  Import the binding file and get a send port, type WCF-Custom, with sqlbinding.  When
    the port action header is 
    <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Operation Name="InsertArTrxTyp" Action="Procedure/dbo/InsertArTrxTyp" />
    </BtsActionMapping>
    The event log shows error
    <Operation Name="InsertArTrxTyp" Action="Procedure/dbo/InsertArTrxTyp" /></BtsActionMapping>" was not understood.
    If I reduce the action header to 
    Procedure/dbo/InsertArTrxTyp
    the event log shows
    Object [dbo].[InsertArTrxTyp] of type StoredProcedure does not exist
    In the second case, SQL Profiler shows the code sent to the sql server querying for the existence of
    @ORIGINALOBJECTNAME=N'InsertArTrxTyp',@ORIGINALSCHEMANAME=N'dbo'
    If I run that code, I get results that indicate the existence of that object.
    Why is the fist action mapping wrong?  Why does the second action mapping result in no object found?  I've read this
    post but don't see how it applies to this situation as I'm not using an orchestration.

    Hi,
    Try and check following points:
    1. Update the SQL URI with the complete SQL instance name, if you are using the a named instance.
    2. Verify if the user, under which BizTalk host instance in running, have suffecient rights on the target DB to execute the SP.
    Hope this will help.
    HTH,
    Sumit
    Sumit Verma - MCTS BizTalk 2006/2010 - Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

  • TS1398 im having real problems connecting to my home wifi, it keeps coming up saying unable to join even though the password is correct, this has been ever since i updated software to ios6

    Im having real problems connecting to my home wifi from my i phone 4s, it just keeps saying unable to join even though the password is correct,
    I have tried resetting my network settings but to no avail,
    yesterday I reset all settings then it actually worked, however today the problem started again so I repeated the reset but it still isn't working
    This has only started happening since i upgraded software to ios6
    Please help

    Here is what I would do:
    Shutdown all computers connected to the router.
    Power off the router.
    Power off the modem (cable or DSL).
    Wait 30 seconds.
    Power on the modem. Ensure all lights are lit and the modem is online.
    Power on the router. Ensure it's communicating to the modem.
    Turn on your Macbook Pro first (the one experiencing the issue. Check it's connection. If it's still having issues, removed the networks it can attach to, turn off WiFi; then turn WiFi back on and reconnect to your WiFi network.
    Turn on other Macs in household. Check their connections.
    Sometimes "rebooting" the modem and router fixes connectivity issues.

  • In which order operations will execute in Composit Operation by WCF-Custom adapter with SQLBindings?

    Suppose my Composite opertaion request schema is as below:
    <?xml version="1.0" encoding="utf-8" ?>
    <Request xmlns="http://[PROJECT_NAME].[COMPOSITE_SCHEMA_NAME]">
      <Insert xmlns="http://schemas.microsoft.com/Sql/2008/05/TableOp/[SCHEMA]/[TABLE_NAME]">
        <Rows>
          <[TABLE_NAME]>
            <[FIELD1_NAME]>[Value1]</[FIELD1_NAME]>
            <[FIELD2_NAME]>[Value1]</[FIELD2_NAME]>
          </[TABLE_NAME]>
        </Rows>
      </Insert>
      <[SP_NAME] xmlns="http://schemas.microsoft.com/Sql/2008/05/Procedures/[SCHEMA]" />
      <Delete xmlns="http://schemas.microsoft.com/Sql/2008/05/TableOp/[SCHEMA]/[TABLE_NAME]">
        <Rows>
          <[TABLE_NAME]>
            <[FIELD1_NAME]>[Value1]</[FIELD1_NAME]>
          </[TABLE_NAME]>
        </Rows>
      </Delete>
    </Request>
    Query is that in which order the requset message will be execute? Which one statement (Insert, SP or Delete) will execute first and
    Which one (Insert, SP or Delete) will execute in last?

    they will execute in the same order which you mentioned in the composite schema. Means they will execute order by nodes in the composite message
    have a look
    here , see below snap from that URL.
    in your case, the order will be
    1. INSERT
    2. SP
    3. Delete
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • Can you run two Ipods, one older, one newer, on the same version of Itunes?

    I have a second generation Ipod Shuffle, and I have a fourth generation 40gb Ipod. When I installed the Shuffle, I had to upgrade my Itunes. Now it won't recognize my older Ipod at all. I plug it in, and it doesn't do anything. The shuffle works fine

  • Best Practice for storing a logon to website in a desktop java app

    Hoping someone well versed in java related security best practices can point me in the right direction. I have a small java PC application that uses the Soap API to send various data to a 3rd party. Currently I am storing the logon credentials for th

  • MBP Reina Kernal Panics

    My laptop keeps crashing. Most of the time over night or at some point wile lid is closed not being used. here is one of the reports Interval Since Last Panic Report:  1306537 sec Panics Since Last Report:          9 Anonymous UUID: D4588A0D-7B9C-D68

  • Change IndexColorModel to create palette effect?

    Here's one for you... Is there an easy way to change the palette in the IndexColorModel of a BufferedImage? Here's what I'm doing: I've got an 8-bit IndexColorModel with some palette values set. I use that to create the BufferedImage, and then get a

  • Upgrade from trial pages to licenced

    i have recently purchased pages from the app store,but im unable to upgrade from trial to licenced, i recieved email but no licence number can anybody tell me how to retrieve my licence number please.