Use of Self Correlating direct bind in Orchestration send port

Hi All,
    I have seen examples for self correlating direct bind in receive side of orchestration which will be passed as parameter in Start orchestration shape to
get back the response. Could you tell me some scenario's where the self correlating will be used in send port of Orchestration.
Is there any other use of self correlation other than in start orchestration shape.
Thanks,
ChampBoss

If you want your called orchestration to behave like an API call i.e.; support a Request-Response pattern while NOT using a TWO-WAY orchestration port then you would need the self-correlation. How else would you respond to the same thread that called you?
Regards.

Similar Messages

  • Handling with WcfSendport-SqlAdapter Binding without Orchestration

    I have a WCfSendPort-SqlAdapterBinding created by binding file, which selects the 6 different views. I have created 6 different receive ports which uses Scheduler adapter to pulll data from these 6 views everyday. There are 6 other FILE send ports which
    maps to SelectResponse of the 6 views and will generate a flat file. I just wondering if I can do this without using orchestration and just to use the Filters and Outbound Map in the send ports. I tried just specifying the filters and outboundmaps, it gives
    error like
    "The adapter failed to transmit message going to send port "WcfSendPort_SqlAdapterBinding_Multiple_Custom". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.InvalidOperationException: An
    action mapping was defined but BTS.Operation was not found in the message context."
    Am I doing it wrong or cannot it be done without orchestration.
    Thanks

    Both the sqlBinding and oracleDbBinding have Polling built in.  No custom code is required.
    There's lots of docs and examples out there, here are a few:
    https://msdn.microsoft.com/en-us/library/dd788532.aspx?f=255&MSPPError=-2147217396
    http://social.technet.microsoft.com/wiki/contents/articles/24803.biztalk-server-sql-patterns-for-polling-and-batch-retreive.aspx
    http://btsguru.blogspot.com/2012/01/debatching-inbound-messages-from-wcf.html

  • 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.

  • 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

  • Expose an orchestration as WCF service with a Request-Response port set to Direct Binding

    Hello , 
      I'm trying to expose an orchestration as a WCF service (while the Request-Response port is set to Direct binding) . Is this possible ? (the issue will be correlating back the response to the synchronous WCF request after the response is posted back
    to the Message Box by the Direct Send logical port).
    I have no problem in exposing the orchestration while I'm setting the Binding port to 'Specify Later' (What I'm trying to do actually is to expose a orchestration using different adapters (like Http and Wcf ) in the same time ).
    Thanks

    Yes, you can publish an orchestration as WCF/Web service which has direct bound request-response port.
    Subscription works based on “EpmRRCorrelationToken”
    and “RouteDirectToTP”. When you enlist the orchestration which
    has the direct bound request-response port (also published as service), its subscription are based on above two context properties and they take care of correction.
    And also the response matches to the request part of the port due to the nature of two-way communication protocol.
    Create an Orchestration with direct-bound request-response port and publish it as service. This will work. Give it a try
    Regards,
    M.R.Ashwin Prabhu
    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.

  • Direct Binding Partner Ports

    Hi,
    I have a below requirement.
    Parent orchestration has to poll a table and get the record. In the record there is a column 'MeasureID' with comma seperated values. 
    For each of these measure ID, I execute set of SQL queries (I can execute only one query at a time, CRM's WCF Service)
    So In loop, I am querying DB & passing this result set to another child orchestration to consolidate the records.
    After the loop in parent orchestration, updating the table that all the measureids are processed.
    Currently, I have a orchestration which reads the measure id one by one & executes the query and sending to child orchestration  using Direct Binding partner ports.
    I am using Correlation: BTS.Partnerport. This is my child orchestration.
    It has to create only once instance even if I 've 3measure ids. For 3measureids, I am getting 3files. How can I set the correlation. It has to generate only one file.
    Thanks,
    Lakshmi

    Hi,
    You can create a correlation type and correlation on 'measure
    id' in Parent Orchestration and then initialize the same while persisting the message to MsgBox(at
    send shape). Then you use the same correlation type in the Child Orchestration and initialize a correlation in Child Orchestration.
    So the correlating property will be promoted by Parent Orchestration and the same will be used for subscription
    by Child Orchestration.
    Rachit

  • BizTalk: Bad Things: What is bad about usage of Direct Binding?

    Hey guys,
    I started series of AQ about BizTalk. Please, feel free to be impolite in this discussion, if you are frustrated about some implementation pattern in BizTalk apps, or about something you see frequently in code.
    Direct Binding, it looks pretty cool, smart and cool again! But is it always so? Have you ever seen how awfully it is used? Please, share your knowledge!
    Leonid Ganeline [BizTalk MVP] 

    One thing:
    Say, we have an orchestration with bounded send port. We cannot unenlist a send port if an orchestration is still enlisted. We've got an error:
    Which prevents us from leaving this orchestration without subscriber (this send port). 
    If we use direct bounded port here, the result would be unlovely. We unenlist the send port. There would not be an error, the messages sent by orchestration would be suspended with "no subscribers" error. 
    Binding prevents us from this error, it forces us to keep subscriber (the send port) running if publisher is running. 
    So in cases, when we want messages be passed from an orchestration exactly to this send port, the direct binding is a bad idea.
    Leonid Ganeline [BizTalk MVP] 

  • Field values directly binded to backend service are getting cleared.

    Hi,
    In HCM Forms & Process, for ex: in a form the header field values are directly binded to SAP_PA backend service and rest of the fields (dropdown list and free text fields) are getting from custom generic service. Now there is also a pushbutton in my form is used to calculate percentage of a field. Now when the form is displayed by default the header values are getting populated from SAP_PA backend service. When I click the push button with out selecting values(drop down list) getting from generic service all header field values are getting cleared. But if I select any dropdownlist value before selecting pushbutton and then if I click pushbutton all the header fields are retained with values. I am facing this problem for all the forms that I developed. I am looking for valuable answer.
    Regards,
    Nayani .

    So you are or are not using a user event? Sounded like you were which was firing when the user selecpiushed the "button" for calculating fields. Whatever "event" you have tied that button too seems to be your culprit. Are you doing this calculation in Javascript off the button "onClick" even or passing it to a HCM P&F "user event" in the backend? If it is to a HCM P&F "user event", that's where I would make sure your fields are selected.
    From the sounds of it, it seems when you do NOT select a dropdown list value, your generic service is not handling this gracefully and an error occurs. That would cause ALL other services NOT to run. It's an odd thing the framework does and often very frustrating to hunt down, but whenever any service errors, it will not run others.....hence no fields coming back correctly....even if those other services have NOTHING to do with yours (weird, I know).
    Hope this helps.

  • Sample projects on direct binding in osb 10.3.1

    Hi All,
    Can anyone suggest me some sample projects in osb 10.3.1 describing direct binding
    Thanks in Advance!!

    Hi Roshni,
    You can find examples for OSB 10.3.1 here, not sure if there's one for direct binding, but may be useful anyway...
    http://java.net/projects/oracleservicebus1031/downloads?page=1&theme=java.net
    Cheers,
    Vlad

  • SOAP fault propagation for Direct Binding

    Hello.We have following set-up
    Composite A --- OSB -- Composite B
    Composite A exposes HTTP interface (one-way operation) and refers to one-way operation of OSB (over direct binding) which again calls one-way operation of Composite B (again over soa-direct)
    Error in composite B is propagated properly to the OSB. I've tested same also with HTTP proxy on OSB, HTTP 500 returned in case of error in Composite B
    But Composiet A never raises error to the HTTP service. Thus Consumer is getting HTTP 200, regardless downstream error

    try with a non blocking invoke. That will cause a new invoke message to be generated, and a commit of the currently active transaction. So, while the new invoking transaction will be rolled back, a catchable fault will be thrown, and the running tx will commit.
    However, if you are not intending to use a transactional system integration, you could go the soap route as well.
    your call, my 2cents.

  • 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

  • Import Direct Binding Service WSDL in OSB

    I was wondering how to import direct binding service wsdl in OEPL. I tried the below but getting an error. Any help is greatly appreciated.
    File - Import - File System. .... After importing the WSDL, I'm getting an error. So I was not sure if I'm on the right track or not.
    Thanks
    NC

    If you have brought in the whole directory structure then you can simply drag the WSDL into the corrct directory that relates to your imports.
    Then you can delete the unwanted directories using the delete key.
    If you don't want the directory structory to import you need to be conscience every time that you need to uncheck a check box that is checked by default. Can't remember the exact name but basiclly something like import directory structure.
    Once the WSDL in correct folder and still having issues, open up and view the source. Make sure all references are correct for the project directory structure.
    cheers
    James

  • Dynamic Direct Binding reference

    Hi all,
    I've been searching for a way to modify the endpoint (address) of a direct binding reference in running time with no good results. I know that It's possible to use this property
    <bpelx:inputProperty name="endpointURI"
    variable="YaVoyEndPoint"/>
    to override the endpoint in WebService references. Does anyone know the way to do the same with direct binding references?
    Thanks in advance
    Edited by: luismi fernandez on Sep 14, 2012 5:39 AM
    Edited by: luismi fernandez on Sep 17, 2012 11:44 AM

    Hi luismi fernandez,
    Please follow the steps mentioned here:
    http://www.oracle.com/technetwork/articles/carey-090553.html
    Thanks,
    Deepak.

  • Error handling for Direct binding

    Hi
    Anybody handled Direct binding exceptions. I have a requirement if the direct binding service is down I have to catch it and do some action. when I have catch or catchAll not catching it. I am getting rollback fault so my bpel waits continuously in running mode. I have a mediator then bpel. mediator times out but bpel is in running mode.
    Thanks
    comp

    try with a non blocking invoke. That will cause a new invoke message to be generated, and a commit of the currently active transaction. So, while the new invoking transaction will be rolled back, a catchable fault will be thrown, and the running tx will commit.
    However, if you are not intending to use a transactional system integration, you could go the soap route as well.
    your call, my 2cents.

  • What are the limitations or disadvantages of SOA Direct Binding

    What are the limitations or disadvantages of SOA Direct Binding.

    When we call SOA service from another SOA service most of the time Local RMI call is used even you are using SOAP over http to invoke the service, this based on your SOA configuration - Refer the following url for more details on Local optimization.
    Albin's Blog: Configuring Local Optimization in Oracle SOA 11g
    SOAP binding will help us to invoke the service exposed with WSDL and accepts XML as request/response.
    HTTP Binding will help us to invoke any services that will accept HTTP GET/POST messages but there is restriction with input/output message type(refer this document for more details Getting Started with Binding Components - 11g Release 1 (11.1.1.7)).
    HTTP binding is light weight and provides better performance.
    I hope this will help you.
    Refer https://forum.java.sun.com/thread/2612466

Maybe you are looking for