Send Port Subscription issue on Failure

WalmartIn > WalmartOut
JohnIn > JohnOut
WalmartOut subscribes where RecieveLocationName == WalmartIn.
JohnOut subscribes where RecieveLocationName == JohnIn
I have an orchestration involved to send emails for error/tracking etc. Whenever WalmartOut fails the file is sent to JohnOut. What am I missing? 

In this case,
ReceiveLocationName is Promoted. 
I used a correlation set on the send port to promote ReceiveLocationName 
http://btsguru.blogspot.com/2011/09/how-to-expose-promote-bts.html

Similar Messages

  • Send port subscription

    Hi,
    From what I know, Send port subscribes the message if it bind to the given orchestartion or based on its filter condition.
    Is there any other way to subscribe the message? I have a scenario where Send port desn't have either of this.
    I want to know how it subscribes the message.
    Thanks, Girish R. Patil.

    There are two types of subscriptions Instance and Activation.
    Activation subscriptions are created when you do enlistment of your send ports.
    Instance subscriptions are generated by the runtime like subscriptions created by orchestrations which have a non-activation receive on some correlated property.
    In your case, you said it neither has filters nor related to any orchestration so then obviously NO, you cannot subscribe to any message using that send port.
    My doubt is, when you don't have any of those, then why was that send port created at all? i mean where is it being used?
    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.

  • Composite schema for Oracle send port - Binding Issue

    Hi this is my composite schema has 2 operations : the first is a generated view that has filter and column tags and the second one is a SQLEXECUTE operation. my problem is I think with the Binding of the composite schema.
    this is the schema:
    <?xml version="1.0" encoding="utf-16"?>
    <xs:schema xmlns="http://Comverse.ConcertoSyncSST.QueryOracleComposite" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns:ns1="http://Comverse.ConcertoSyncSST.MaxDateQuerySQLEXECUTE" xmlns:ns0="http://Comverse.ConcertoSyncSST.OracleDBBindingAPPS.View.CNS_CONCERTO_PROJECTS" targetNamespace="http://Comverse.ConcertoSyncSST.QueryOracleComposite" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import schemaLocation=".\MaxDateQuerySQLEXECUTE.xsd" namespace="http://Comverse.ConcertoSyncSST.MaxDateQuerySQLEXECUTE" />
    <xs:import schemaLocation=".\OracleDBBindingAPPS.View.CNS_CONCERTO_PROJECTS.xsd" namespace="http://Comverse.ConcertoSyncSST.OracleDBBindingAPPS.View.CNS_CONCERTO_PROJECTS" />
    <xs:annotation>
    <xs:appinfo>
    <b:references>
    <b:reference targetNamespace="http://Microsoft.LobServices.OracleDB/2007/03" />
    <b:reference targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    <b:reference targetNamespace="http://Comverse.ConcertoSyncSST.OracleDBBindingAPPS.View.CNS_CONCERTO_PROJECTS" />
    <b:reference targetNamespace="http://Comverse.ConcertoSyncSST.MaxDateQuerySQLEXECUTE" />
    </b:references>
    </xs:appinfo>
    </xs:annotation>
    <xs:element name="Send">
    <xs:annotation>
    <xs:appinfo>
    <b:properties>
    <b:property distinguished="true" xpath="/*[local-name()='Send' and namespace-uri()='http://Comverse.ConcertoSyncSST.QueryOracleComposite']/*[local-name()='Select' and namespace-uri()='http://Comverse.ConcertoSyncSST.OracleDBBindingAPPS.View.CNS_CONCERTO_PROJECTS']/*[local-name()='COLUMN_NAMES' and namespace-uri()='http://Comverse.ConcertoSyncSST.OracleDBBindingAPPS.View.CNS_CONCERTO_PROJECTS']" />
    <b:property distinguished="true" xpath="/*[local-name()='Send' and namespace-uri()='http://Comverse.ConcertoSyncSST.QueryOracleComposite']/*[local-name()='Select' and namespace-uri()='http://Comverse.ConcertoSyncSST.OracleDBBindingAPPS.View.CNS_CONCERTO_PROJECTS']/*[local-name()='FILTER' and namespace-uri()='http://Comverse.ConcertoSyncSST.OracleDBBindingAPPS.View.CNS_CONCERTO_PROJECTS']" />
    <b:property distinguished="true" xpath="/*[local-name()='Send' and namespace-uri()='http://Comverse.ConcertoSyncSST.QueryOracleComposite']/*[local-name()='SQLEXECUTE' and namespace-uri()='http://Comverse.ConcertoSyncSST.MaxDateQuerySQLEXECUTE']/*[local-name()='SQLSTATEMENT' and namespace-uri()='http://Comverse.ConcertoSyncSST.MaxDateQuerySQLEXECUTE']" />
    </b:properties>
    </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ns0:Select" />
    <xs:element ref="ns1:SQLEXECUTE" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="Receive">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ns0:SelectResponse" />
    <xs:element ref="ns1:SQLEXECUTEResponse" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    and this is the error received :
    A message sent to adapter "WCF-Custom" on send port "WcfSendPort_OracleDBBinding_APPS_View_CNS_CONCERTO_PROJECTS_Custom" with URI "oracledb://test11i/" is suspended. 
     Error details: Microsoft.ServiceModel.Channels.Common.MetadataException: Argument ngAPPS.View.CNS_CONCERTO_PROJECTS/Select is invalid.
    Server stack trace: 
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result) 
     MessageId:  {29E348F3-BA09-43E8-A8A2-AB499DD856C4}
     InstanceID: {82378FAC-9C2E-4D5B-ACB6-18C479A58F3A}
    any suggestions?

    Hi Yotam,
    Do you have Select statement in your Procedure used for SQLEXECUTE? Using "SET NOCOUNT OFF" in your procedure might work for you.
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to reject ACK/NACK from other Send Ports to Orchestration

    Hi Everyone,
    I have a below scenario, Please let me your ideas how can we avoid ACK from other send ports (If there is any failures), in my current scenario getting issues or conflicts because of this
    AckRequired.
    Key points in my scenarios
    SendPort_A is pointing to SAP
    SendPort_B is pointing to SQL
    Flow
    Receive MessageA and Transform to MessageB format, send MessageB to SendPort_A which directly bind to orchestration with transmitted property enabled.
    SendPort_B subscribes the same message, output of map with message type as filter condition (we are not expecting any Acknowledge from sendPort_B, because it’s a generic send port for some scenario).
    Problem
    When I see the context properties both send ports has AckRequired
    Property to true (so getting ACK/NACK from both send ports).
    I want acknowledgement only form SendPort_A which is bind to orchestration with transmitted property enabled, but not from the SendPort_B which subscribes just with message type.
    I have tried the below points but no luck
    Created custom pipeline with custom pipeline component to set / overwrite
    AckRequired Property to false (Pipeline component is working fine, but nothing is overwriting in context, getting acknowledge back to orchestration for any failure in SendPort_B)
    #region IComponentUI
    public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
    pInMsg.Context.Write("AckRequired", "http://schemas.microsoft.com/BizTalk/2003/system-properties", false);
    return pInMsg;
    #endregion
    Below images gives some info on the same scenario.
    Appreciate your suggestions.
    Thanks, SMS Vikas K

    Hi Vikas,
    Let me know if I understood correctly.
    SendPort_B subscribes the same message, output of map with message type as filter condition (we are not expecting any Acknowledge from sendPort_B, because it’s a generic send port for some scenario).
    Problem
    You have a send port B which is subscribing to the same message using the message type.
    You can set additional filters to ignore Acknowledgement-
    Ex- Mgtype= "" AND
    AckRequired!=True OR
    AckRequired!=False 
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • Word couldn't send mail because of MAPI failure, Unspecified error.

    This issue is crossposted in Microsoft Answers Word and OUTLOOK.  I am posting here in hopes that someone at Mircrosoft may have a solution or at least elevate the issue to someone who does.
    http://answers.microsoft.com/en-us/office/forum/officeversion_other-word/word-could-not-send-mail-because-of-mapi-failure/f62678fe-ef1d-42b5-8cfe-1e43d6a1d609
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/word-couldnt-send-mail-due-to-mapi-failure/1f03cf74-9258-411b-9e2b-e41cb5006d71
    I dabble with VBA and write and maintain several amateur Word Add-Ins.  Accordingly, I have Word 2003, 2007, 2010 and 2013 installed on my PC.  They get along fine.  However, I am unable to "Share" or "Send" an open Word
    document as an E-mail attachment in any version!  In each case Word returns an error mesage "Word couldn't send mail because of a MAPI failure, Unspecified error (the same issue occurs with Excel and Powerpoint except the error dialog is a bit different.)
    Using Word 2003, I (CAN) "Send to (Mail recipient for review)" in which case OUTLOOK is opened with the document as an attachment.  I can also "Send to Mail Recipient" from Windows Explorer, in which case the Word file is attached to
    an OUTLOOK message, and I can create an instance of OUTLOOK and send mail from Word using VBA.
    I have repaired all Office versions.  I have removed the registry keys for all office versions and repaired all versions again.  I have run "fixmapi" until I am blue in the face. I have renamed the MAPI32.DLL files and ran sfc \scannow
    to ensure that the MAPI32.DLL file is not corrupt.  In view of these actions and in view of what I can do, something tells me that the MAPI files are fine.
    So what is this "Unspecified error?"  This problem is rife on the internet and most of the "canned" solutions have been marked "Answered" by some MS support engineer.  These "canned" solutions might have
    fixed the issue at one point, but they don't work now.  At least not for me.
    Thanks.
    Greg Maxey Please visit my website at: http://gregmaxey.mvps.org/word_tips.htm

    Hello Greg,
    I noted that there are 2 knowledge articles that describe scenarios where you may encounter this error.
    KB 291152 You receive a "Word couldn't send mail because of MAPI failure" error message when you try to send a Word document as an e-mail attachment in Word 2002
    http://support.microsoft.com/kb/291152/EN-US
    KB 929362 You cannot send a file by clicking Send in a different program when Outlook 2007 is running as administrator
    http://support.microsoft.com/kb/929362/EN-US
    Please let me know the following:
    1. What version of Outlook are you using?
    2. Do you have Outlook open when you attempt the File > Share > Email as attachment from Word? If not, does the error occur if you open Outlook, open Word and then try to send the email?
    3. If you close/reopen Word and then try the send again, do you get the same error?
    4. Are you running either Outlook or Word in an elevated mode?
    5. What happens if you start both Outlook and Word as "Run As Administrator". You may have to right-click each applications' .exe file to be able to choose the "Run As Administrator" option.
    6. Do you get the same error when using File > Share > Email as attachment using Excel?
    7. In Internet Explorer, open the Internet Options. On the General tab within the browsing history, delete your temporary Internet files and website files
    8. Does the issue occur in selective startup mode?
    Steps to setup selective startup mode:
    Click on the Windows Start button, in the Search box type msconfig and then hit enter. This should open up the System Configuration Utility. Make the following adjustments within each tab.
    Services Tab:
      - Check the option 'Hide All Microsoft Services'
     - Click on button 'Disable All'
    Startup Tab:
     - Click the button 'Disable All'
     - Go back through the list and enable any Microsoft items
    Click Ok. It will say “You must restart your computer for some of the changes
    made by System Configuration to take effect”. Hit the ‘Restart’ button.
    When the PC reboots try to run your test again.
    To return back to a normal boot launch msconfig again and choose 'normal startup' on the general tab, click Ok and then reboot the PC.
    Regards,
    Dennis

  • No Service for System SAPECC(Sender Port), Client800(R/3 system client 800)

    Hi friends,
    I am new to XI/PI I am working with IDOC to Flat file scenario I am facing the folllowing error.
    No Service for System SAPECC(Sender Port), Client800(R/3 system client 800) in integration Directory.
    can any one tell what was the reason for this error.
    Thanks in Advance,
    Ravi Yasoda.

    Hi Ravi,
    Have you imported the Business System in Integration Directory?
    Check whether  you see the logical system name in adapter specific identifiers or not...
    Also check from integration directory that cache notification was done and also check SXI_CACHE in the abap stack.
    See this thread...
    No service for system SAP***, client 001 in Integration Directory
    Please go through below content from sap note  for your issue...
    Error message: No service for system SAPABC client 123 in the integration directory
    Solution:
    You send IDocs from system ABC to XI. In the control record of the IDoc,the SNDPOR field contains the value "SAPABC". The client of the sending system is determined by the MANDT field of the control record. The system ID and client are then used to determine a service without party of the
    type (business-system/business-service):
    Business system
    -> Activities in the System Landscape Directory (SLD)(Create technical
    system):
    Create a technical system for system ABC in the SLD, and create the client for this. Do not forget to assign an "ALE logical system" (for example, "ABCCLNT123") to this technical system.
    SLD (Business system):
    You can now explicitly assign a business system to this client. For more details, refer to the SLD documentation.
    Activities in system ABC (self-registration in the SLD):
    Alternatively, you can register the system in the SLD in system ABC with Transaction RZ70. You will find detailed information about the SLD registration of systems on the SAP Service Marketplace for the
    "Exchange Infrastructure" in the document "Exchange_Installation_Guide.pdf".
    In system ABC, you can check your configuration with Transaction SLDCHECK.
    Activities in Integration Directory (import business system from SLD):
    You will find the business systems under Services Without Party in the Integration Services. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical
    system under "Objects"->"Adapter-specific identifiers". Use the Import/Update button to copy the data from the SLD, to create business systems, or to update their identifiers.
    Business service
    -> Activities in the Integration Builder directory:
    You want to create a service without party that is not part of your system infrastructure and is therefore not maintained in the SLD. In the Integration Builder directory, you will find the "Business-Services" under Services Without Party. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical system under "Objects"->"Adapter-specific
    identifiers".
    Activate the change list in Integration Directory.
    In system ABC, you can restart the incorrect entry from Transaction SM58 .
    Regds,
    Pinangshuk.

  • BizTalk 2013 SFTP Adapter Dynamic SFTP send port exception: Open remote file for write error

    I am using BizTalk 2013 SFTP adapter. I defined a Dynamic One-Way
    send port on BizTalk server administration.
    Below is the error I'm getting on BizTalk while trying to write files to a designated folder on a client's SFTP server.
    When defining the same path and properties on a Static One-Way send port everything works properly and the files are being saved on the SFTP server.
    A message sent to adapter "SFTP" on send port "ComverseSFTP_1.0.0.0_ComverseSFTP.SendFileToSFTP_SendFileToSFTPServer_f6b86b86a22079f8" with URI "SFTP://abc.xyz.com:22/upload/%SourceFileName%"
    is suspended.
    Error details: Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for write error.
     Server stack trace:
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpInvoker.OpenRemoteFileWrite(String fileName, Int32 fileOffset)
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpFileWriterStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at Microsoft.BizTalk.Adapter.Sftp.SftpOutputChannel.Send(Message message, TimeSpan timeOut)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
     Exception rethrown at [0]:
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
     Exception rethrown at [1]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IOutputChannel.EndSend(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendCallback(IAsyncResult result)
    MessageId:  {926F44F2-9180-4B33-96FF-9E4CBC459382}
    InstanceID: {36A50A7F-63C4-48D9-903D-A33C85DDAE36}
    Can you please assist with explaining why are we getting this exception?
    Thank you for your help.

    Below is the error I'm getting on BizTalk while trying to write files to a designated folder on a client's SFTP server.
    When defining the same path and properties on a Static One-Way send port everything works properly and the files are being saved on the SFTP server.
    A message sent to adapter "SFTP" on send port "ComverseSFTP_1.0.0.0_ComverseSFTP.SendFileToSFTP_SendFileToSFTPServer_f6b86b86a22079f8" with URI "SFTP://abc.xyz.com:22/upload/%SourceFileName%"
    is suspended.
    Error details: Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for write error.
    Hi Yaeli1,
    From the error message above,  please check the permission for file writing , it seems that this issue is related to access permission.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error when using 64-bit host in send port

    Guys,
    I am trying out a simple message routing scenario. I have created a send pipeline and have used the MIME/SMIME component in the encoding stage of the pipeline. My application has a receive and a send port with receive port configured to receive *.xml documents
    and is using XMLReceive pipeline. My send port uses the pipeline I have explained above and contains a filter to BTS.ReceivePortName=="[receive port in the application]". The send port is also configured to use a certificate. The send handler is the 64-bit
    BizTalk host. When I drop a message in the receive port, message in the send port gets suspended with error "Retrieving the COM class factory for component with CLSID {254B4003-2AA7-4C82-BB2E-18BA7F22DCD2} failed due to the following error: 80040154
    Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    " However when I use a 32-bit host message on the send port gets encrypted as I expect. Has anyone faced this issue before and found a solution? BTW I am using BTS 2010 on 64-bit machine

    http://msdn.microsoft.com/en-us/library/aa559177(BTS.10).aspx
    This occurs because the MIME pipeline component is not supported in a 64-bit host instance. To resolve this, the host associated with the send and receive handler for the file adapter must be configured as a 32-bit only host. For more information on this
    see How to Modify Host Properties. If you already have a 32-bit only host configured on the system and want to use it see Configuring the File Adapter for instructions on configuring the host(s) associated to the file adapter’s send and receive handler.
    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

  • Outbound IDoc Error: Status Code 37  'Sender Port' is invalid

    Hi
    I have an Error when the Outbound IDoc is triggered.
    It shows that 'Sender Port in Control Record is invalid'.
    Status Code: 37.
    I know that there are some issues with the Sender Port Definition.
    Please help me out to solve this problem using some checkpoints at each and every step.
    Reward Points Assured.
    Regards,
    Baburaj

    Hi Baburaj Manickam
    Good
    Follow this simple procedure
    1) Send an outbound IDOC data(MATMAS) to a flat file on client1(SENDER).
    -  Create File Port (WE21) for outbound file.
    -  Maintain Distribution Model (BD64) for sender ->receiver system.
    -  Create Partner Profile (WE20) for logical system.
    -  You can use this program RBDSEMAT (t/code BD10) to generate IDoc MATMAS file(s). 
    _  Then you can FTP the file(s) to receiver system.
    2) Upload the flat file as an IDOC on the inbound sytem
    which is Client2(RECIEVER).
    -  Create File Port (WE21) for inbound file.
    -  Maintain Distribution Model (BD64) for receiver -> sender system.
    -  Create Partner Profile (WE20) for logical system.
    -  You can use this program RSEINB00 to upload IDoc MATMAS file(s). 
    INBOUND IDOC PROCESSING:
    Firstly attach your idoc to a process code.
    In the process cod you can tell the system that the specified program should be triggered whenever an idoc of that type comes to the system.
    Then you want to have a Z-function module for your idoc processing, if I understand correctly.The steps should be:
    1. Create a z function module for idoc inbound posting (copy from a function module idoc_input_*).
    2. Set Function Modules as Inbound: - Transaction BD51
    3. Assign Function Modules to Logical Messages and Idoc types:- Transaction WE57
    4. Create process codes : Transaction WE42, and link the z-function module.
    5. Create partner profile: transaction WE20 and attach the message type and process code.
    6. In the Z- function module, extract data from the idoc segments, do whatever processing you want to do, and then call BAPI_CREATE_SALES_ORDER_FROMDAT2.
    Try the Trasaction WE19 for testing your inbound and outbound IDOCs
    Good Luck and Reward me for the same
    Thanks
    Ashok.N

  • Dynamic Send Port : The FILE send adapter cannot open file C:\Temp for writing. Details: Access is denied.

    Hi All,
    We have requirement of using ESB toolkit and transforming incoming xml file to edi format. So, we are using ItinerarySelectReceiveXML pipeline for receiving the input from the input location and "EDISend" pipeline for transforming it into EDI and
    send it to destination.
    Now, the receive pipeline is picking up the file, but it is not processed and sent to destination.
    And, we are getting an Access Denied error from Dynamic send port.
    Error Description : 
    The FILE send adapter cannot open file C:\Users\Public\Temp for writing.
     Details: Access is denied.
    Any Immediate solutions/suggestions are appreciated...Thanks.
    Anand

    The difference between dynamic and static port would be send handler. For dynamic port, default send handler will be used and for static port the one configured on the port will be used, could you validate this configuration.
    Also sometimes, administrative privileges are not "real" administrative privileges and company admins will have limited permissions on C Drive folders. Try writing to some other folder to isolate the issue.
    Regards, Ajeet Kumar MCTS Biztalk Server

  • Problems trying to correlate BAM over multiple Send Ports

    I am having an issue with BAM in BizTalk 2010.  I have a Messaging only solution using 3 Receive Ports and 3 Send Ports.  The Processing received an XML file which contains Inventory updates for product items.  The flow is as follows:
    1) Receive a file via a send port.  The file is mapped via an inboud map to canonical form which includes inbound filename. The inbound message contains a DocumentId.
    2) Send msg file via a send port filtered on 1). This port demotes the source filename into the outbound message.
    3) Receive the file written by 2).  Flatten the message on into multiple records and strip the file path from the source file name.  This means each record is the same with the exception of PartNumber and Inventory Level.
    4) Send the message received by 3) to a SQL database via the WCF-Custom adapter.  The Adapter calls a stored procedure that reads the flattened messages out of the XML and inserts them into a Staging table.
    5) A WCF-SQL receive port reads the messages 1024 at a time from the staging table and submits them to the MessageBox.
    6) A WCF-SQL send port filters the messages received from 5) and submits them to another database which updates inventory figures.
    I have a BAM Activity which records:
       DocumentId, VendorId,  TotalItemsProcessed, InboundFileName, ReceivedTime, PreProcessedTime, StagedTime, and ProcessedTime.
       DocumentId, VendorId, TotalItemsProcessed are read from the inbound message on 1)
       InboundFileName is read from inbound message on 3)
       ReceivedTime - PortEndTime on 1)
       PreProcessedTime - PortEndTime on 2)
       InboundFileName - InboundFileName on Message received on 3)
      StagedTime - PortEndTime on 4)
       ProcessedTime - PortEndTime on 6)
    Because there are multiple ports I have to create multiple continuations in the TPE.  They are as follows:
    Cont1 - InterchangeId on ReceivePort for 1)
    Cont1 - InterchageId on Send Port for 2)
    I believe this should get me all the text data items except InboundFileName, ReceivedTime, and PreProcessedTime
    Cont2 - DocumentId from 1)
    Cont2 - DocumentId from 3)
    This should get me the InboundFileName
    Cont3 - InterchangeId from 3)
    Cont3 - InterchangeId from 4)
    This should be me the StagedTime
    Cont4 -  InterchangeId from 5)
    Cont4 - InterchangeId from 6)
    My problem is - everything seems to work except Cont4.  I query the <ActivityName>_AllInstances Vew in BAMPrimaryImport.  I see a record with all the data except ProcessedTime with a single ActivityId.  It records the ProcessedTime
    in the  table but under a different ActivityId.  I can look in the TrackedMessageEvents and see the messages for 5) and 6).  They have the same InterchangeId.  I even used one of the text data items to record the InterchangeId of the 6)
    message and it was the same as 5) except for the GUID was lowercase versus uppercase in MessageTracking.
    I am at a loss and would appreciate any help.

    I am not calculating a time duration.  I am reporting the Port End Time.  Merely a measure.  That is not the problem.  As I stated, I am getting the port end time, just in a separate record. 

  • BizTalk Server 2013 and deployment MSI with dynamic send ports

    Hello community, wonder if any help out there for this odd problem.
    Deployment of application msi fails into BizTalk 2013 prod environment, fails when deploying the project dll that contains all the orchestrations,
    and reports a failure to apply early bindings.  The only early bindings in this project are dynamic send ports.  I cannot recreate the problem in in my QAS environment where deployments of the same msi works fine.  
    I can build an msi without any bindings at all except for the dynamically created ones, and this also display the same behaviour on import.  
    I have test deployed a 2nd unrelated app that also uses dynamic send ports, and this displays the problem.  
    Adding the assembly directly to BizTalk console displays the same behaviour.
    Deployment of msi apps without dynamic send ports are ok.
    The dynamic ports use a pipeline including a custom pipeline component which I can confirm is available in the correct directory
    C:\Program Files (x86)\Microsoft BizTalk Server 2013\Pipeline Components
    No specific further detail is available in the error except.
    Import Wizard[09/05/2014 08:20:47]: Error in Importing Application
    Import Wizard[09/05/2014 08:20:47]: Change requests failed for some resources.
    BizTalkAssemblyResourceManager failed to complete end type change request.
    Unable to deploy early bindings.
    Failed to update binding information.
    Error in the application.
    Other information that may be relevant:
    The main difference between QAS and PROD is that PROD is a two node cluster.  Import behaviour is the same if attempted on either node.  Assemblies are installed in both nodes currently.
    The dynamic ports are set on handlers that are non-clustered hosts (all are for adapter type SMTP).
    I have ensured that all the adapter handlers are identically setup in both environments.
    The project files were migrated to BizTalk 2013 from BizTalk 2010, imported and then converted using VS 2012.
    The msi has installed the assemblies as per usual and they do exist in the .net 4 gac
    There is a reference to a shared resource in a different application, this application is installed and imported ok.
    I’m a bit stuck at what to try now, I have option where I could recreate the dynamic ports from scratch in the orchestrations and redeploy to dev in the hope it’s something that VS2012 didn’t handle too gracefully
    when converting the project.  I could move the functionality into a helper class and forget about using dynamic sends, rather not go down that route.  I'm still suspecting this is small difference in setup
    of the group between QAS and PROD but I can't see anything jumping out.
    Any comments are most welcome.

    The dynamic ports use a pipeline including a custom pipeline component which I can confirm is available in the correct directory
    C:\Program Files (x86)\Microsoft BizTalk Server 2013\Pipeline Components
    I’m a bit stuck at what to try now, I have option where I could recreate the dynamic ports from scratch in the orchestrations and redeploy to dev in the hope it’s something
    that VS2012 didn’t handle too gracefully when converting the project. 
    Two things.
    1. That's what I would do first, recreate (really just change and reset the properties) the Orchestration Ports in Visual Studio.
    2. Probably not related but, Custom Pipeline Components should not be placed in the Pipeline Components folder.  All Custom Pipeline Components should be in the GAC only.  The Pipeline Components folder
    is a compatibility vestige from BizTalk Server 2004.

  • Timeouts on WCF-BasicHttp send port

    I have set the retry count 3 at the sed port for the interval of 5 minutes, but message is getting timed out at first attempt within a minuets. Can some one suggest me the possible reason.

    Hi,
    Please configure WCF-BasicHttp Send Port properties mentioned below to an appropriate value
    SendTimeout
    OpenTimeout
    CloseTimeout
    They have default have value set to 1 minute. I suspect the issue you are facing is because of these default settings.
    Link:- http://msdn.microsoft.com/en-us/library/bb226467(BTS.20).aspx
    Rachit
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful
    by clicking the upward arrow mark next to my reply.

  • Send port with same file name as receive

    I have a filename "abc.docx". I need to create a send port where I should set the file name in a such a way that I should have the same file name as received.
    I have set the filename in the send port as "%SourceFileName%" but it does not seem to be working.
    How to set the send port to have the same file name as received by the receive port? Send location should hold the same file name

    could you please also mention what is happening when you set
    %SourceFileName% .  what kind of output filename are you getting then when used %SourceFileName%
    ?  incase if you are not getting any file at all in the output, then its not the issue with %SourceFileName%
     macro.
    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.

  • HL7 Unconsumed zombie ack messages suspended on MLLP R&R receive port from MLLP R&R send port.

          I have a content message routing scenario with request/response mllp receive and send port . Below are the points which describes the situation :-
          1) mllp message received from upstream application on receive port which sends back the direct synchronous ack .
          2) Message is routed to send port which sends the message to the downstream app and receive the ack from the downstream app.
          3) The ack received from downstream app is handled using a file type send port which dumps these acks to a folder.
          Now the issue which is occurring intermittently, is that the ack message received from the downstream application get suspended on the receive port with the below error -
          "The instance completed without consuming all of its messages. The instance and its unconsumed messages have been suspended." Error code - 0xC0C01B4C.
          This issue doesn't occur for all the messages. It seems the ack messages received by the send port, is searching the receive port instance which submitted the message to message box. But interestingly, not all the ack messages
    are suspended.
          If anybody have any idea about this behavior , kindly respond..

    I also need this question answering!
    Comment from my host:
    To prevent SPAM activity we have blocked the ability to send messages from our system where the FROM address is spoofed to anything other than the original sender's ID. The work around in your situation is to change the REPLY-TO address or switch to SMTP authentication.

Maybe you are looking for

  • Purchase of Fixed Asset through Cash Journal

    Please let me know whether it is possible to purchase a Fixed Asset through Cash Journal without the Internal Order route?

  • Error Playing .wav file on RHEL 4 using JMF

    Hi, We are using jmf api to play wav files on our application deployed on rhel version 4. But we are receiving the following error **"Cannot find a Processor for: myfolder/myAudio.wav" ---> this exception is comming from javax.media.Manager throw new

  • RV042 configuration with QuickVPN in Windows 7

    Hi, I've been working on getting a client to Gateway configuration going for quite some time now.  Had it working with a different Cisco single wan router that failed.  The user replaced the router with an RV042 and we are trying to get the QuickVPN

  • How can I get podcasts to update automatically?

    My iTunes podcasts used to update automatically, but lately they don't until I hit the Refresh button. I have quite a few that are set to check hourly -- for example, the NPR Hourly News. But I can be on the computer for an hour or two and it won't u

  • Choice of design pattern for data acquisition system

    Hello all I have a trouble about selecting the suitable design pattern / architecture for a data acquisition system.  Here is the details of the desired system: There is data acquisition hardware and I need to use it by observing parameters on User i