OSB : dynamic URL change

hi
my requirement is as following:
PS hits BS. BS has URL-1. So PS hits URL-1 location.
Now, if URL-1 is not working, it should automatically retry to URL-2.
If I put both URL-1 and URL-2 as business service BS URLs, then URL-1 and URL-2 are hit randomly (sometimes URL-1 is hit, sometimes URL-2 is hit). I want PS to hit at URL-2 only if URL-1 is not working. So it should work in sequential manner, first try URL-1 and only if it is down then try URL-2.
Tool: Oracle Service Bus 11g
How can I do this?
Thanks and Regards,
Swapnil Kharwadkar

you should play with the "retry" parameter
http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/operations/endpointurimgmt.html
I am pretty sure it works the way it's described in the doc, because I have tested it.
it should definitely NOT do round robin load balancing, if you configure correctly
(uuh, funny, Prabu posted at the same time as me, and of course we posted both the same document)

Similar Messages

  • Dynamic URL in SOAP Receiver adapter

    Hi all,
    I have a scenario where I am using a SOAP receiver adapter to send a cXML document to some vendors. I need to change the URL based on the vendor number (passed by sender SRM system). So I have created a user-defined function and used in message mapping to assign the right URL to the variable TServerLocation. But the communication channel still prompts for a static URL which appears to be a mandatory field. Even though the DynamicConfiguration tab in Message Monitoring shows that the TServerLocation was correctly assigned, the scenario does not work when I put some dummy in the static URL field like 'dummy' or '*'. Any ideas on how to make the communication channel go for the dynamic URL field and ignore the static URL field? I have already selected the'Use Adapter Specific Message attributes' and 'Variable Transport Binding' check boxes. Am I referring to the correct variable that references the target URL? Also other than the two checkboxes that I mentioned, I am not displayed anything else under "Adapter Specific Message Attributes" section in the comm. channel.
    Thanks

    James,
    I ve just been digging into SAP help, and have tried it too ... Looks like it doesnt work the way it is supposed to.
    Anotheer point i found was, in the FILE ADAPTER, when we say ADAPTER SPECIFI ATTRIBUTES , we can select the attirbutes.. This is not possible in a SOAP adapter...
    Maybe, we can only access the ADAPTER SPECIIFC ATTIRIBUTES of a SOAP adapter, but cannot set them dynamically.
    Let me know if you find something on this issue.
    Regards,
    Bhavesh

  • Dynamic URLs in WebIntelligence BO 4.0

    HI together,
    I´ve got a WebIntelligence Document with a table.
    One Column of the table should be a opendocument Link to another webi. The Content of the cell should be part of the
    openDocument link.
    I tried the following steps:
    On the selected column -> Linking  -> Add Hyperlink -> Here I´ve added the URL -> Button Parse
    Now I can "Customize the following dynamic elements of the URL" ; when I choose select object for  a parameter the URL contains the object I´ve selected:
    The URL looks like:
    http://server:port/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=4342323944sd444&sIDType=CUID&sRefresh=Y&lsRParameter=(
    [Kontonr]
    The Object
    [Kontonr]
    is also the value of the column.
    I can´t confirm this change with "OK" -> Nothing happens.
    Has anyone an idea to build a correct dynamic URL?
    Kind regards
    Lars
    Edited by: Lars Ohm on Jan 24, 2012 6:45 PM

    Hi Lars,
    Too late to reply, though might help the future visitors !!
    This how it should be parsed :
    http://server:port/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=4342323944sd444&sIDType=CUID&sRefresh=Y&lsRParameter=(=[Kontonr])
    Thanks,
    Kaarthi

  • Dynamic URL Submission

    Hi All,
    I have a requirement like,
    I have a button in my apex3.2 region when i click the button.
    I have to generate the dynamic URL. actually its a SMS generate URL.
    Ex: http://sms.test.com/phone=1233444/message=test
    Like that there i am passing the phone number and also message.
    I have a loop to send a multiple user at a single time.
    If i use the redirect to URL its calling the URL. i dont want to see that page but i want tp process that URL for a multiple user in a single click.
    Is it possible in APEX3.2???
    Can anyone suggest me in this???
    Thanks in Advance.
    Cheeers.
    Shan

    >
    If i use the redirect to URL its calling the URL. i dont want to see that page but i want tp process that URL for a multiple user in a single click.
    Is it possible in APEX3.2???
    >
    This seems more like a PL/SQL question than something that is APEX-specific. If I've understood the requirement correctly&mdash;that you want to make an HTTP request in the background without changing the user's browser location?&mdash;then look at <tt>utl_http</tt>. There are index owned by another user.
    If this URL actually represents a web service, then it would be worthwhile investigating APEX's web service capabilities.

  • Dynamic URL Smartforms

    Hi all,
    I've to insert a DYNAMIC url in a Smartform behind a label.
    Some topics to consider:
    - The Url is created in running time.
    - The Smartform is called by a Standard Program, so, I can not change the Impressor Program.
    - I want the url behind the word "LINK"
    For example:
    CONCATENATE: 'www.' sy-mandt 'sap' sy-datum '.com' into lv_url.
    so I want insert it behind a text "LINK"
    When SAP sends the form by email the user could click on "LINK" and go to the url before created.
    Thanks a lot
    Regards
    Rodrigo
    ABAP HCM

    I've used this Solution for E-Rec Forms too. Its a little old, you've to adapt it for the new SAP version. I mean, using a Enh Spot for the corresponding Enh.
    Example:
    In the SmartForm, this link:
    We are currently processing your application. We appreciate
        your patience and will contact you again as soon as possible.
        HTTP://[CLIENT URL]:8000/sap/bc/bsp/sap/hrrcf_start_ext/application.do?sap-client=300&BspClient=300&sap-language=E&BspLanguage=E&rcfSpId=0002&rcfContext=ATT&sap-themeRoot=/sap/public/bc/ur/Design2002/themes/att_theme
    Becomes this:
    We are currently processing your application. We appreciate
        your patience and will contact you again as soon as possible.
    Click here to continue to E-Recruiting.
    Step 1:
    Copy the function group HRRCF00_CALLBACK, renaming it ZHRRCF00_CALLBACK.  Also, rename the functions within this group as well.( ZHR_RCF_SF_URL_CALLBACK, ZHR_RCF_SF_URL_PREPARE_CALLBAC, and ZHR_RCF_SF_URL_REFRESH_GT)
    Step2:
    In the function ZHR_RCF_SF_URL_CALLBACK, change this code accordingly:
      READ TABLE data WITH KEY code = 'ST' INTO ls_name.                  
      CHECK sy-subrc = 0.                                                                               
    lv_name = ls_name-string.                                                                          INSERT                                                                               
    READ TABLE gt_url INTO ls_urlkey WITH KEY name = lv_name.       INSERT    
      CHECK sy-subrc = 0.                                                                               INSERT    
      DELETE gt_url INDEX sy-tabix.                                                               INSERT                                                                               
    READ TABLE data WITH KEY code = 'LK' INTO ls_url.                  
      CHECK sy-subrc = 0.                                                
      DELETE data WHERE code = 'LK'.                                                                               
    lv_name = ls_name-string.                                                 COMMENT    
    READ TABLE gt_url INTO ls_urlkey WITH KEY name = lv_name.  COMMENT    
    CHECK sy-subrc = 0.                                                      COMMENT    
    DELETE gt_url INDEX sy-tabix.                                            COMMENT                                                                               
    l_str = ls_urlkey-url.
    Where INSERT is inserting the code in blue, and COMMENT is commenting out the code in blue, respectively.   This change makes sure that an alias has a URL associated with it.
    Step 3:
    Two standard classes must be modified in order to produce the alias.  These classes are: CL_HRRCF_CS_DOC_CAT_APPL as well as CL_HRRCF_CS_DOC_CAT_INVITATION.  Code must be added to the method GENERATE_DOCUMENT in both classes:
    u2026u2026.
    CONCATENATE l_prot '://' l_host ':' l_port '/' INTO l_base_url.                                                                               
    ls_xsf_param-name = 'BASE-URL'.                                           
    ls_xsf_param-value = l_base_url.                                          
    APPEND ls_xsf_param TO me->sf_output_options-xsfpars.                                                                               
    me->sf_output_options-urlcall = 'ZHR_RCF_SF_URL_CALLBACK'.         INSERT
                                                                                    CALL FUNCTION me->sf_properties-function_module                           
       EXPORTING                                                               
         control_parameters = me->sf_control_pars                
    Step 4:
    In the SmartForms, code must be added to the u2018Initializationu2019 portion in the u2018Global Definitionsu2019 section.  Also, data types must be defined in BOTH the u2018Global Datau2019, and the u2018TYPESu2019 section as well.
    In the TYPES section, define these variables:
    TYPES ls_recruiting_team_member type rcf_s_cs_di_recruiting_team.
    TYPES: BEGIN OF ty_url,
                    name(80) TYPE c ,
                    url  TYPE string,
                  END OF ty_url.
    TYPES: ty_urltab TYPE TABLE OF ty_url.
    TYPES: GD_URL TYPE string.
    TYPES: DISPLAY_URL TYPE string.
    In the u2018Global Definitionsu2019 section, define these variables:
    GS_URL     TYPE          TY_URL
    GT_URL     TYPE          TY_URLTAB
    GD_URL     TYPE          STRING
    DISPLAY_URL     TYPE          STRING
    Also, here you can define any other constant aliasu2019 you would like to use (e.g. G_ALIAS_TEST type STRING with Constant value 'Test Link').
    In the u2018Initializationu2019 of the SmartForm, the correlation between the link and the alias is defined:
    gs_url-url  = CANDIDATE-PERS_PAGE_URL.
    gs_url-name = 'Persönliche Seite'.
    APPEND gs_url TO gt_url.
    or
    gs_url-url  =u2019http://whatever.comu2019.
    gs_url-name = 'Testlink'.
    APPEND gs_url TO gt_url.
    In our case, we generated the URL in a string, then assigned the dynamic string to the URL:
       concatenate
          ls_protocol '://'
          ls_host ':'
          ls_port
          '/sap/bc/bsp/sap/'
          'hrrcf_start_ext/application.do'
          '?sap-client=' sy-mandt
          '&BspClient=' sy-mandt
          '&sap-language=' sy-langu
          '&BspLanguage=' sy-langu
          '&rcfSpId=0002'
          '&rcfContext=ATT'
          '&sap-themeRoot=/sap/public/bc/ur/Design2002/themes/att_theme'
          into GD_URL.
    gs_url-url  = GD_URL.
    gs_url-name = 'Testlink'.
    APPEND gs_url TO gt_url.
    The link MUST be defined within the SmartForm.
    Next, make the call to the custom function:
    CALL FUNCTION 'ZHR_RCF_SF_URL_PREPARE_CALLBAC
                  TABLES
                         pt_url = gt_url.
    Now we link the DISPLAY_URL to the name that we defined in gs_url-name.
    display_url   = gs_url-name.
    This will make the text whatever you define it in the code above, and also makes the actual URL whatever you defined it as.
    Step 5:
    In the Main Window of the SmartForm (under Pages and Windows), you must define the DISPLAY_URL as a variable to be displayed.  Using the INSERT FIELD button on the page, type in:
    &DISPLAY_URL&
    Then, highlight the variable, and then click the HYPERLINK button to make it a hyperlink.  The variable should now become highlighted in blue.
    Let me know if you need some help
    Regards
    Rodrigo

  • Dynamic URL - multiple email addresses

    Hi
    We would like to send an email to multiple users in a SharePoint list with a specific InfoPath URL which would only be accessible to an individual user.
    The list contains the users email addresses with the web address to that individual's specific form URL. We managed to create a form which the users can select multiple addresses to send the email alerts to. The email addresses all string together with ; and
    are sent correctly.
    I would just to like to send a dynamic URL to each user which changes depending on the email address that we used. For example, Mike is associated with a url - mikesform in the list. I email Mike and John and I would like in the body of the mail, a single address
    which changes - mikesform/johnsform. Is this possible?
    I hope my explanation makes sense and I would really appreciate any suggestions>
    Thanks
    Tony

    I'm having a hard time wrapping my head around the details honestly..
    Have you looked into SharePoint Designer? You're able to send emails that include list column variables. For example, you can send an email to "Assigned to," and include the "form URL" list column. This way, each email that is generated uses the information
    from the list item it's triggered on.
    Maybe that can at least get you down the right path :)

  • Open a Dynamic URL from a Table column link

    Hi,
    Jdev Version (11.1.1.6.0)
    I have requirement to open a dynamic URL from table column. Any time I click on link, it should generate dynamic URL based on column attribute and open in popup or browser. Can someone pls suggest how to achieve this.
    Thanks
    Ank

    1)If you have any parameters that needs to be passed to build that dynamicURL, just set a propertyListener on the column attribute and get the value.
    2)Then on the af:commandLink action, build your dynamicURL with the required parameters.
    3) If you URL is all together a different application which doesn't share your transaction, you can open it as below
    In the below code, urlWithParams will be your dynamicURL.
    ExtendedRenderKitService erks =
    Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
    StringBuilder sbURL = new StringBuilder();
    sbURL.append("window.open(\"" + urlWithParams + "\");");
    erks.addScript(facesContext, sbURL.toString());
    You can also try the above response by user 948181.
    Hope it helps.

  • How create  dynamic URL for every row  shown in the report?

    Hi,
    Iam new to this Application. I created one interactive report to find the number of bugs logged for every product and its sub component for past one year. The report will look like below structure in the application.
    Product Subcomponent Total
    P1 S1 10
    P2 S2 4
    P2 S21 15
    Now i want to pick the value of Prouct and sub component for every row dynamiaclly and want to generate the URL with the conditions and make it as hyperlink for the Total Column.
    Iam able to make hyperlink for the Total column using the edit options for the total attribute, but it is opening the same page for all the rows in the total column. I want to generate dynamic URL by picking the value prodcut and sub componenet dynamically from the report for every row and want to make it as hayperlink for every row individually.
    Please tell me how to do this?
    Please revert back if you are not clear. Appericiate for your quick help.

    Hello <unknown user>,
    So you already set the Column Link attributes for your Total column. Should all links go to the same page, but with different parameters (ProductID, SubcompID)? Or to another page? And how can you determine that page?
    Assuming you'll go to a sort of detail page or form:
    Target = [Page in this app]
    Page = <your target page no>
    Item1 = <ProductID field in target page>
    Value = #PRODUCTID#
    Item2 = <SubcompID field in target page>
    Value = #SUNCOMPID#
    (you can use the ' flashlight' for getting the correct values)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Dynamic URL value at runtime

    Hi,
    We have created an iView of type "com.sap.portal.appintegrator.sap".
    In URL template property we have set the following value:
    <System.protocol>://<System.server>:<System.port><System.uri>?parameter=value&parameter=value&...
    That's to say, it is a dynamic URL that is built at runtime.
    My question is: How can we find out the value of URL when we preview the iView, that is, the URL value at runtime?
    Helpful answers will be rewarded!!
    Thanks in advance,
    Samantha.

    Hi Samantha,
    If I am understanding the issue properly.
    the solution is:
    there is no way you can get the url for iView.
    You need to assign the iView to Role. and assign it to a user.
    When you open the iView then from title bar select Add to Favorites, this will save it in the Browser favorites and when you go to the link and see the properties you get the Short URL.
    In Portal terminology the Dynamic URL is called Short URL.
    And to find the short url navigate to
    System Administration->Navigation-> Short URLs
    Hope this helps you.
    Pramod
    -award points if helpful

  • How to call a dynamic URL on 'button press' event, in MVC-based BSP

    Hi,
    My requirement is as below:
    On selecting a row in table view, and pressing a button, I need to open a browser.
    The Browser URL depends on the row selected.
    The key field from table view, is added at the end of the URL string.
    Shortly, I can say that, I am getting a value on row selection & want to pass it to button event.
    In Views Section, there are 2 tags- (1)table view & (2)button.
    Right now, I have put the code for getting the key field, in DO_HANDLE_DATA method.
    In Button's OnClientClick method, I have called the Javascript to open the browser.
    If I now write the code to concatenate the key field value to form the dynamic URL in 'OnClick' method,
    it will be called only after the browser is opened.
    (as OnClick event is executed only after OnClientClick event is executed)
    Could anyone please tell me what event (and in which tag) can be used to solve this.
    Is there any event which is triggered, as soon as the row is selected, &  before the button press event is triggered ?
    Would really appreciate responses made to this query.
    Thanks,
    Nisha Vengal.

    Hi Nisha,
    The crux of your issue here is that you want to call the event triggered with onClick before calling the event triggered on onClientClick. This can be achieved by the following code in the function called on the onClientClick.
    function fn_button()
               htmlbSL(this,2,'b_row_selection:onInputProcessing()');
               window.open("new_page",target="BLANK");
    Here, fn_button is the javascript function called on button click, and b_row_selection is the event triggered on the onClick event of row selection.
    Try this out and let us know if it works for you.
    Regards,
    Saurabh

  • Dynamic URL for HTTP receiver adapter

    Hi all,
    when the XI send the http request to the target system, the format maybe like this:
    header + body the body is including: Prolog, payload and Epilog
    here is about the target system have a 'input' parameter(maybe string type)
    is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
    i mean is it possible to set the dynamic URL for http receiver adapter like this:
    http://host:port/path?input=<the header and body>
    i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
    and the similar threads in the forum
    please give me some advice
    thanks in advance

    When a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
    Could you check this?
    Regards
    Stefan

  • Dynamic URL for Recv HTTP (Adapter spec attribute enabled)

    Hi,
    I need to have a dynamic URL for one of my cases been worked. the URL is
    httlp://:<host>/perform/XTA?serv=*&action=start
    the event "action" can accept either start/stop or restart. i wanna to control this dynamically and went for recv http enabled with adapter specific message attributes. here i had enabled the check box "URL" and in parameter 1 i had given the name as "action".
    in my message payload the "action" will be start/stop or restart which is handled by UDF for which the code is below:l
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey trig = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "UrlParamOne");
    conf.put(trig,action);
    return "";
    this udf is mapped to the root node of the target...but when execute the case i get the following error
    "Dynamic Header - Missing Message Attributes: URL/HTTP Destination"
    when i execute the url
    httlp://:<host>/perform/XTA?serv=*&action=start
    in browser it works fine and also with fully qualified name in http recv works fine but not with dynamic settings.
    any help on it pls?

    Hi Prabhu,
    Enable Adapter-Specific Message Attributes(ASMA) in receiver HTTP channel.
    Dont enable checkboxes for "URL or HTTP Destination".
    Enable checkbox "Apply URL Parameters"
    for parameter1 textbox give value action
    Regards,
    Praveen Gujjeti

  • Dynamic URL for SOAP receiver adapter

    Hey!
    I've been looking all over the forum for this issue. What I have seen is many good suggestions, but no one seems to have made this work.
    I have tried with message mapping and TServerLocation, but when the scenario is executed, Target URL in the communication channel always overrides the suggested URL from the mapping.
    Is is possible to do this dynamic configuration? Do I have to use HTTP adapter and create envelope with mapping instead? Anyone in here actually got this dynamic URL working?
    Thanks a bunch!
    regards Ole

    Hello Cengiz Aytemir,
    I am stuck with a similar issue that you faced earlier. I've configured the scenario as you have suggested (Both the UDF and the CC settings). I've hard coded the Target URL as http://
    I can see the dynamic URL set correctly in the MONI but the request that I am sending is not reaching the web service.
    Below is the error that I am getting:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>RecoverableException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:453)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    When I hard code the Target URL as Test, the error that I get is different. (Detailed error shown below)
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>RecoverableException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: no scheme
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:453)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    I am on PI 7.0.
    Any help in this regard is highly appreciated.
    Best Regards,
    Vijay

  • HTTP Adapter with dynamic URL

    Hi all
    Could you please to help. I need to use receiver with HTTP adapter which in this adapter that I need to pass dynamic URL into this. I had try follow this document
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    but when I test it I got this error
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER"><b>ATTRIBUTE_MISSING_URL</b></SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Dynamic Header - Missing Message Attributes: URL/HTTP Destination</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    I think my XML source message format that is incorrect. This is my XML source message
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_OB xmlns:ns0="http://xxxx.com:db6">
       <type>
          <TargetURL>http://xx.xx.xx.xx</TargetURL>
       </type>
    </ns0:MT_OB>
    Could you please to suggest.
    Thanks
    Park

    Hi,
    Use the UDF in mapping to create the dynamic URL.
    DynamicConfigurationKey keyURL =  DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", <b>XXXXX</b>);
    // access dynamic configuration
    DynamicConfiguration conf = (DynamicConfiguration) param.get (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    // set value
    conf.put(keyURL, url);
    See the belowlinks
    dynamic URL - adapter specific properties (http receiver adapter)
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    Regards
    Chilla

  • Dynamic URL creation in Adapter Module

    I have a situation in which I need to create a dynamic URL to send data using an HTTP POST ( using  HTTPS).
    I created an UDF to use Dynamic Configuration, this works fine for the UrlParam in the HTTP CC and the TServerLocation in the SOAP CC.
    My issue is that both variables have the same limitation of 200 chars max, and sometimes the URL is longer than 200 chars (I have to pass more than 20 parameters in the URL). The message mapping with the UDF fails whenever I try to put more than 200 chars in the Dynamic Configuration Variables. Therefore I cannot use Dynamic Configuration.
    I'm now thinking of creating an Adapter Module which creates an URL out of the XML message passed to the adapter, and use this value to overrule the URL defined in the Communication Channel. The URL field in the Communication Channel does not have a  200 chars limitation.
    Does anybody know how to do this? Is it possible to replace the value of the URL field in the Communication Channel with another  value in an Adapter Module?
    I have to pass the data as parameters in the URL, not as Header fields in the message.
    Thanks,
    Andre

    Hello Chris,
    The error is:
    RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_paymentClusterCreate_ Thrown: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /ns0:mt_newPaymentClusterData/merchant_name; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (471/200):
    It's even in the SAP Help:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce299c3a8e5430e10000000a42189b/frameset.htm
    The length of the attribute value is defined by the XI message protocol. Values can be a maximum of 200 characters long. If, for example, you assign longer values in the mapping or adapter modules then this can lead to processing errors at runtime or the values are shortened to 200 characters. This shortening can also lead to a processing error. The processing error that occurs depends on the components that access the attributes.

Maybe you are looking for

  • Open in adobe reader option doesn't appear

    I am unable to open PDFs in safari on my iPad air. I have the most recent version of Adobe reader installed and am using iOS 8. When I click on the "open in" option, nothing happens. There is no "open in adobe reader" option that appears.

  • Where's input select for electric guitar patch

    Trying to record with full band.Drums and bass are under Real Instruments.Want to use Electric Guitar patch with the effects but when I use it my interface won't bring up the input screen.is there a way around this. Thanks.

  • ABAP loop inside eCATT

    Hello Colleagues, I want to read multiple values from a table and display for which i going thru an loop . But to display it is becoming an problem can you kindly see the code below . Am trying to store the table fields in an table as mentioend below

  • FI Report Painter

    Hi Gurus, I created a report in FSI1, but when i was trying to create a tcode and search in the table SREPOVARI  it wasnt there, so i cannot create a tcode.. any idea? appreciate your help

  • Customs Landing Charges

    Hai Friends, I have one issue. I have done Import purchase cycle. In that cycle Customs landing charges.... is Debited in MIRO( Customs bill booking ) After that My client needs to credit to material cost... For crediting to material cost what config