Setting an endpoint dynamically for a business service

I need to set an endpoint for a business service dynamically in the message flow of a proxy service. I'm basically doing what it says in this article(page 9 under heading - Registry per Individual Domain):
http://e-docs.bea.com/alsb/docs26/pdf/deploybestprac.pdf
I've gone to the link to the User guide that it gives in there for "Using Dynamic Routing". And I've pieced together most of what I need to do. I have a dummy business service with a dummy URL. I'm making a service callout and getting and endpoint back and saving that endpoint address to a variable. (that's all in a stage in a pipeline node.) Then I dynamically route it to dummy business service. The part I don't know how/where to do is reassign the dummy business service's endpoint to the endpoint I got back from my service callout.
Can anyone help me with this?
Thanks,
Brittany

Try with a 'Dynamic publish to service' action with:
<ctx:route isProxy="false">
<ctx:service>{ $yourBusinessService }</ctx:service>
</ctx:route>
where $yourBusinessService is the variable hosting the uri of your business service.
Regards
ferp

Similar Messages

  • Log endpoint URI of  a Business Service OSB

    Hi,
    I want to log the endpoint URI of a business service (OSB) that I'm calling from a proxy service. Can anybody tell me how to do this?
    Thanks in advance!
    Martín.-
    Edited by: 876766 on Aug 16, 2011 7:31 AM

    In the response (pipeline) you have this attribute: $outbound/ctx:transport/ctx:uri.

  • Dynamic routing for a Business Service with multiple operations

    I have two business services with multiple operations. Business service A (bsA) has operations OpA1 and OpA2. Business service B (bsB) has operations OpB1 and OpB2.
    Depending on incoming Proxy message and operation, I have to do one of the following
    1. If someValue = A and operation= Op1 then invoke operation opA1 of bsA
    2. If someValue = B and operation= Op1 then invoke operation opB1 of bsB
    3. If someValue = C and operation= Op1 then invoke operation opA1 of bsA AND* operation opB1 of bsB and return aggregate data of both invocations
    1. If someValue = A and operation= Op2 then invoke operation opA2 of bsA
    2. If someValue = B and operation= Op2 then invoke operation opB2 of bsB
    3. If someValue = C and operation= Op2 then invoke operation opA2 of bsA AND* operation opB2 of bsB and return aggregate data of both invocations
    Using a dynamic route node or dynamic routing options, I am able to achieve cases 1, 2, 4, and 5.
    But for cases 3 & 6, I can not use a route node. When I use a Service call out instead, then I am forced to create a Operational branch but that does not seem like the best design since for every new operation added to the business services, I have to add a new branch to the Operational branch and redo all the functionality for that branch.
    Basically, I am looking to achieve the functionality of the Route node ( no need to specify the operation ).
    Any thoughts/ideas on what the best design would be?
    thanks

    For cases 3 & 6, why don't you route to another proxy service where you can simple do two service callouts, merge output data somehow and return them to the first proxy?
    If you look for "special route feature", that could possibly call two services for a single message, I'm afraid you won't succeed.

  • OSB : Endpoint URI problem in business service

    I have to invoke a http service from OSB where endpoint uri is http://<ip>:<port>/Resource.
    At invocation time OSB is adding "?" to the end of URI, in that case http message is becoming like following:
    POST /Resource? HTTP/1.1
    External service is considering it as a bad request and giving 500 response code with following comments:
    Error occured: 500, Cannot find local resource: /Resource?
    But I am getting proper response when I am calling from java program with http message POST /Resource HTTP/1.1
    It is not possible to change the external system, now how can I solve the problem??
    Please help.
    Thanks
    Afzal
    Edited by: uttam on May 2, 2012 9:49 PM

    Open your business service and navigate to HTTP Transport configuration page and check what is the http type is enabled.
    Look to me its with GET method, change it to POST and re-try.
    If the above solution is not helping, try to check the Follow HTTP redirects check box below the Advanced Setting in same page.
    Thanks,
    Vijay

  • Same logiical system for 2 Business Service

    Hi All,
              Can two business services use the same Logical system name.
    Regards,
    XIer

    <i>We have a scenario where we want to send files and also another scenario where we have to send a file.</i>
    Not sure I got the point here
    Logical System Names make sense only when dealing with SAP systems when trying to post an Idoc. For File System's they have no use at all.
    Regards
    Bhavesh

  • SOAP proxy for RESTful business service

    Hi,
    I have a requirement to consume a 3rd-party RESTful web service from within WebLogic Integration 9.2.3.
    My organisation also has an OSB 10.3 installation which is lucky since WLI 9.2.3 does not readily support RESTful service consumption.
    My plan is therefore to proxy the RESTful service via the OSB with a SOAP proxy service and consume the proxy from WLI.
    Can anyone provide guidance on how I might go about this?
    Cheers,
    Rob

    I want to give it a try :)
    1. Create a business service with the 3rd-party RESTful web service WSDL and point it to the URL where it is currently deployed/hosted.
    2. Create a Proxy Service to invoke the 3rd-party RESTful web service via the business service. (I think you will need to define a simple WSDL to be able to use this service from WLI)
    3. Then import the ProxyService WSDL in WLI and invoke the same via the WebServiceControl.
    I hope this works out well for you.
    Thanks,
    Patrick.

  • Setting column count dynamically for a Group

    Hi Experts,
    i want to set the column count dynamically for a group.
    Thnks,
    Ramani.

    You probably mean you want to change the colCount value for a GridLayout (assigned to a Group), right?
    To change this property from a view controller method, you can
    - create a boolean context attribute "changeColCount" and set it to true in the controller method
    - check this flag in method wdDoModifyView(), access the GridLayout instance and change the colCount value
    - reset the flag afterwards
    Armin

  • How to set up Pymnt Method for different business units

    Hi,
    Can anyone shed some light as to how to set up P Method in FBZP in a way that one type can be identified according to its Business Unit?
    To clarify, FBZP is currently set up in a repeated way:
    Pymnt Methods:
    T - Transfer - Business Oil
    S - Transfer - Business Engineering
    V - Transfer - Business Equipment
    A - Boleto - Business Oil
    N - Boleto - Business Engineering
    C - Boleto - Business Equipment
    As you can see, we are repeating same payment method as it is needed for business to identify which business unit this refers to.
    Is there a way of setting up only one type of Transfer and one type of Boleto and how this will categorize the type of Business Unit ??
    Any input is welcome
    Regards
    Roger

    Hi Roger:
    How about some enhancement on F110? The logic would be something like read all the proposal lines, group by profit center and then re-assign the payment method based on profit center. There are couple of user exits available starting with RFFOX###, depending on the payment method and the program you using.
    Something similar to substitution rules user exit.
    Not sure if there is any other standard configuration to combine lines by profit center.
    Thanks.
    Rahul

  • Set Output Dir Dynamically for File Adapter

    Hi,
    How can we set the output dir depending on a variable from the BPEL process the to write a file to a dynamic directory?
    As we can do for the filename...
    Please advise
    Thanks
    JO

    judging by the lack of responses to your post, i think it's safe to assume that it is not currently possible to dynamically set the directory used.
    Toby

  • Please help me in setting the Mobile server for mobile filed services

    hi,
    We want to set the oracle mobile server, Oracle mobile filed service, can any body help out what are the mandatory setups and flow of the setup.
    Can you also let me know the list of patch and requried services information too.
    Thanks & Regard
    Abdul Hafeez Shaik

    Thank you Kevin,
    I have already gone through this document.
    My actual problem is like, After starting the Mobile server when I tried to run this url <url:/portnumber>/webtogo/setup Am getting the webpage with junk values.
    What other patch's or what other setups we need to do to have the functionality like when ever we run the above given url it will install the client side software (webtogo + oracle lite database)
    Please if you can give me the quick setups which we need to do that would be help full to us.
    Best Regards
    Abdul Hafeez Shaik

  • Set field cataglog dynamically for an editable table

    Hi All,
    I have a requirement where to show a table whose field catalog will be changed conditionally( dynamically )  and that table has to be editable, in that table few columns could be  Drop down fields and few columns are disabled and few can be normal editable fields.
    What is the best way to do it, this i can achieve very well by in dynpro with CL_GUI_ALV_TABLE  class, i am new to WDA , so i couldn't find the good solution.. whether to use direct table element or ALV component. can i acheive the above functionality with either of the option.
    Appreciate your help.
    Regards,
    Shiva.

    Hi Shiva,
    Visible Colums:
      DATA: ALV_CONFIG_TABLE  type REF TO CL_SALV_WD_CONFIG_TABLE.
      DATA: wd_table_usage TYPE REF TO if_wd_component_usage.
      DATA: wd_table TYPE REF TO iwci_salv_wd_table.
      DATA: column_settings TYPE REF TO if_salv_wd_column_settings,
                 column  TYPE REF TO cl_salv_wd_column.
    Create an instance of ALV component created ALV_COMP is usage name
      wd_table_usage = wd_this->wd_cpuse_alv_comp( ).
      IF wd_table_usage->has_active_component( ) IS INITIAL.
        wd_table_usage->create_component( ).
      ENDIF.
      wd_table = wd_this->wd_cpifc_alv_comp( ).
      alv_config_table = wd_table->get_model( ).
      column = column_settings->get_column( 'MANDT' ).
      column->set_visible( if_wdl_core=>visibility_none ).
    There are many other Methods in class cl_salv_wd_column.
    For editable Colums (and DropDown e.g.) have a look at this tutorial:
    [SND-Tutorial - Conditionally Assigning Colors and Input Enable to ALV Columns|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0625002-596c-2b10-46af-91cb31b71393]
    Hope it helps!

  • How to set queue names dynamically for MQ Adapter - SAP XI

    Hi Friends
      I have a scenario where I should send a message to multiple queues ( more like broadcasting ) using a single communication channel of MQ Adapter. The scenario is like this
    1. If the message content contains value '111' then message should go into Queue A, Queue B, Queue C
    2. If the message content contains value '222' then message should go into Queue A, Queue B
    I will store the content values inside a table ( value and queue names ) and can pick it up inside BPM but want to know how to change the queue name property of MQ series adapter. I will do this inside a loop so the message can be sent to multiple queue names but want to know how to change the queue name property of receiver communciation channel.
    I appreciate the help in providing the answer.
    thanks
    Kannan

    Amaresh
      Thanks for your answer but my question is specifically targeted towards MQ adapter and the queue name which has to be dynamically changed. I can do the dynamic changes for file adapters but want to know how to change the queue names in message mapping or inside BPM.
    regards
    Kannan

  • Setting Page Break dynamically for oracle reports10g

    Hi..
    I need to get patient details in same page or different patient details in different pages based on User parameter
    I am using Oracle Reports 10g.
    I need it as soon as possible.
    Thnx in advance..
    noc

    Hi I achived this requirement. Thanks.

  • Oracle Service Bus - Business Service Endpoint URI - Dynamic

    Hi,
    I'm trying to find a way to avoid hard-coding the endpoint URI in a business service. The reason I need to achieve this is because for the different environments (development, testing, production, etc...) the URI will be different.
    I have spent the past 2 days searching the oracle forum and documentation but have come up with nothing. Is there a way to achieve this?
    Preferably, is there a way to store the endpoint URIs in a configuration/properties file which can be changed when needed?
    Any help is much appreciated!
    Best Regards,
    Adel Haider

    Hi Adel,
    Customization file will be the best solution for your problem. You may generate a environment specific customization file. To know more, please refer -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/customization.html#wp1129087
    Simplest solution would be to generate a customization file and replace the existing URI's with the required one's using replace all option of textpad. Run this customization file at target environment, after importing the OSB configuration.
    Regards,
    Anuj

  • Oracle Service Bus - Business Service Endpoint URI - Change at runtime

    Hi,
    Is there a way of changing/passing the endpoint URI to a Business Service at runtime? The reason for my question is that depending on the content of the message in a Proxy Service that calls this Business Service I may need to change the URI.
    Kind Regards,
    Adel

    Adel,
    Is there some use-case limitation that would stop us from using Dynamic routing ?
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1100135.
    DynamicRouting /Dynamic publish can be considered depending on the use-case.
    Other option is to use Routing options: Modify any or all of the following properties in the outbound request: URI, Quality of Service, Mode, Retry parameters, Message Priority.
    Manoj

Maybe you are looking for

  • How to add Line items to Accounting Doc

    Hi All, I want to capture the amount of inventory to a separate GL accounts while doing GR. Accounting Document should look like this:- Inventory a/c 1000 BSX GR/IR a/c           1000- WRX 1New line a/c  1000 2New line a/c    1000- How can we achieve

  • How can I use the same object in the different jsp files?

    I am doing a project. I have finished my jave source files and compiled them successfully. And I also wrote a main method to test my classes, they also worked well. Now I am trying to use my jave code in the jsp files. But I meet a problem, in my met

  • E63 I can no longer update my Calendar. Can the ca...

    On returning to work  from a holiday in South Wales I have be unable to sync my work PC to update my phone's Calendar from Outlook 2007. If I try to update my phone's calendar from my phone (in simplest terms manually) this also fails - error message

  • Iphone 4s ios 6 crashing

    I updated to iphone iOS 6 on my Iphone 4s, it worked fine for the hour i used it. When i woke up a few hours later every single app started crashing, from safari to maps, after a few seconds the app crashes and i would have to go back in. The crashin

  • Sound malfunction.

    I have got an iPhone 4s I have a problem with it's sound sometimes it makes sound and sometimes it stops making sound while I use apps or music. Can anyone help me out with this? thanks in advance..