Partner Link URL/WSDL or Dynamic Partner link

We are using a service similar to CreditRatingService in orderBooking Tutorial as a partner link.
The partner has different test vs production service.
I was wondering during deplyment on production is it possible to specify the URL in config file or do I have to change the designtime location in jdev and then deploy it in prod.
Can experienced folks here point me to deployment best practices ?
Part2 : Where does dynamic partner link fit in ?

JDeveloper is using ANT and is using a properties file during the compilation. You can change the properties when you want to deploy.
http://orasoa.blogspot.com/2006/08/using-ant-in-bpel-environment.html
Dyn PL are usefully when you want to call multiple/various web services that all take the same payload, but are using different end-points and operation. This reduces the code to make for every interface an PL.

Similar Messages

  • [svn:fx-trunk] 8825: Normalizing URLs to remove [[DYNAMIC]] from LoaderInfo .url information which occurs when linking against RSLs.

    Revision: 8825
    Author:   [email protected]
    Date:     2009-07-27 11:51:15 -0700 (Mon, 27 Jul 2009)
    Log Message:
    Normalizing URLs to remove [[DYNAMIC]] from LoaderInfo.url information which occurs when linking against RSLs. This fixes RPC services trying to resolve a fully qualified URL for relative resources.
    QE: Yes, please ensure RPC tests that make use of relative paths are compiled with RSLs.
    Doc: No
    Checkintests: Pass
    Reviewer: Darrell
    Bugs:
    FB-21713 - HTTPService to relative file in CF project fails due to incorrectly re-written URL
    SDK-22362 - RemoteObject method calls for invoking php code fails when relative URL is given for endpoint
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-21713
        http://bugs.adobe.com/jira/browse/SDK-22362
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.a s
        flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as

    Revision: 8825
    Author:   [email protected]
    Date:     2009-07-27 11:51:15 -0700 (Mon, 27 Jul 2009)
    Log Message:
    Normalizing URLs to remove [[DYNAMIC]] from LoaderInfo.url information which occurs when linking against RSLs. This fixes RPC services trying to resolve a fully qualified URL for relative resources.
    QE: Yes, please ensure RPC tests that make use of relative paths are compiled with RSLs.
    Doc: No
    Checkintests: Pass
    Reviewer: Darrell
    Bugs:
    FB-21713 - HTTPService to relative file in CF project fails due to incorrectly re-written URL
    SDK-22362 - RemoteObject method calls for invoking php code fails when relative URL is given for endpoint
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-21713
        http://bugs.adobe.com/jira/browse/SDK-22362
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.a s
        flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as

  • How to use wsdl in dynamic client

    In wls 700, I want to know how to write a dynamic client to invoke a webservice by
    passing wsdl?
    In the example directory, there is an example, but I would like to know how I can
    customize to use my own wsdl? clientgen puts wsdl in client jar file why is that?

    Hi fkeita,
    If you haven't already done so, you should check out the following link in the BEA
    product documentation:
    http://edocs.bea.com/wls/docs70/webServices/client.html#1049007
    Outside of that, you can always stayed tuned to the "dev2dev" page :-)
    Regards,
    Mike Wooten
    "fkeita" <[email protected]> wrote:
    >
    Hi Mike,
    Can you elaborate more how I can find the url of wsdl?
    Do you know any documentation which explains the process of using dynamic
    clinet?
    Thanks.
    "Michael Wooten" <[email protected]> wrote:
    Hi fkeita,
    The client.jar contains a "static" WSDL, because some folks like to avoid
    making
    a network (or internet) call to retrieve the "dynamic" one :-)
    If you try to use "user-defined" types, with a WSDL and a "dynamic" client,
    you will
    experience "difficulties". This is due to the way the JAX-RPC defines the
    createService()
    method on the ServiceFactory class. Normally, this is the method you pass
    the URL
    to the WSDL you want to use. Currently, we call the WSDL parser in this
    method, which
    has a "side-effect" of needing to have the type mappings for your "user-defined"
    types, already registered when it is called. With "stub-style" clients,
    this is not
    a problem (because the plumbing does this for you), but with "dynamic"ones
    it doesn't.
    Right now, the only real workaround is to have your client class extend
    our weblogic.webservice.core.soap.SOAPElementImpl
    class, as in the following code fragment:
    #### START OF EXTRACT #####
    import javax.xml.rpc.Call;
    import javax.xml.rpc.namespace.QName;
    import weblogic.webservice.core.rpc.ServiceImpl;
    public class ServiceClient extends ServiceImpl
         public ServiceClient(String schemeHostPort) throws Exception
    // We pass the URL for the "dynamic" WSDL in the
    // first argument. The second argument is the
    // path to the XML file that the <clientgen> Ant
    // task recorded your typemapping info in. It is
    // in your client.jar, along with the "static"
    // WSDL I mentioned :-)
              super(
                   (schemeHostPort == null ? "http://localhost:7001" : schemeHostPort)
    +
    "/mea/gateway?WSDL",
                   "examples/webservices/jaxrpc/consumer/anamitra/dii/MEAGatewayService"
              //define qnames
              String targetNamespace = "http://www.bea.com/examples/MEAGateway";
              QName serviceName = new QName( targetNamespace, "MEAGatewayService" );
              QName portName = new QName( targetNamespace, "MEAGatewayServicePort");
              //create call
              Call call = super.createCall(
                   portName,
                   new QName(targetNamespace, "processExternalDataBatch")
              ArrayList alist = new ArrayList();
              alist.add(new String("One"));
              alist.add(new String("Two"));
              alist.add(new String("Three"));
              alist.add(new String("Four"));
              alist.add(new String("Five"));
              String result = (String)call.invoke( new Object[]{ alist } );
              System.out.println("result=" + result);
         public static void main( String[] args ) throws Exception
              System.setProperty("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
              System.setProperty("javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
              new ServiceClient(args[0]);
    //private:
         private final static boolean debug = false;
    ### END OF EXTRACT ###
    Happy coding :-)
    Regards,
    Mike Wooten
    "fkeita" <[email protected]> wrote:
    In wls 700, I want to know how to write a dynamic client to invoke a webservice
    by
    passing wsdl?
    In the example directory, there is an example, but I would like to know
    how I can
    customize to use my own wsdl? clientgen puts wsdl in client jar file why
    is that?

  • How to get page URL in a dynamic page in 10.1.4?

    Does anyone know how to get the page URL in a Dynamic Page in 10.1.4 without using javascript.
    I know that you can use a PL/SQL portlet and the portlet_record, but this is specifically for a Dynamic Page.
    Regards
    Jenny

    Hi,
    I am trying the suggested approach in 10.1.4 but unfortunatley I get the following error:
    PLS-00302: component 'SHOW_INTERNAL' must be declared
    In my Dynamic Page I have the following code
    htp.p(cms_context.urlpage);
    In the '... before displaying the page' I have the following
    schema_name.cms_context.urlpage := schema_name.dynamic_page_name.show_internal.p_page_url;
    Can anyone help?
    Cheers
    Chris

  • Create Resource from URL (WSDL) through corporate proxy?

    In OSB I Create a Resource from a URL (WSDL) but I get a "No resource found".
    Im using this service to test...
    http://webservicex.net/stockquote.asmx?WSDL
    I suspect its because it needs to route though our corporate proxy. Do I set this up in the OSB or the Weblogic Administration Console?
    I setup the proxy in the OSB, but it appears I can only assign it to a business service at this point, but I cant create my business service till I load in the WSDL url.
    This works fine for internal WSDL's inside our network. Does anyone know how to configure weblogic or osb to take traffic through a corporate proxy so it can find the test wsdl on an external network?
    Thanks!

    Hi Cory,
    In SB Console go to System Administration > Global Resources > Proxy Servers... Add a new proxy server there...
    In your Business Service you configure the proxy server under Advanced HTTP Transport Configuration...
    You can create the WSDL on SB Console by copy and pasting the WSDL content...
    Hope this helps...
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • Web URL application in Dynamic Navigation

    Hello all,
    in the dynamic navigation window I run an URL iview with HTML application with javascript.
    I receive in the dynamic navigation window an EPCF event with EPCMPROXY calls.
    After I receive the event I would like to navigate within the dynamic navigation iview to another page of the HTML application. When I use web URLs and form.submit of course the EPCF framework is not loaded with the HTML page and I cannot react to events anymore. Is there at all any solution to this problem?
    Thanks in advance
    Peter Balaz

    Yes, there is a problem with ur MDS.
    The command window for MDS should stay.
    I had jdk compatibility issue, so thats why I suggested to check on jdk.
    I'm not sure what version will be compatibile with MDS 4.1.4.
    check the prereuisites.
    You can try the following links:
    http://supportforums.blackberry.com/rim/board/message?board.id=browser_dev&message.id=264&query.id=368188#M264
    http://supportforums.blackberry.com/rim/board/message?board.id=browser_dev&message.id=257&query.id=368428#M257
    http://supportforums.blackberry.com/rim/search?category_id=BlackBerryDevelopment&submitted=true&q=MDSSimulatorclosing
    http://supportforums.blackberry.com/rim/search?submitted=true&q=MDS+4.1.4
    http://supportforums.blackberry.com/rim/board?board.id=MDS_dev
    http://supportforums.blackberry.com/rim/?category.id=BlackBerryDevelopment

  • Need Help: how to create url address in dynamic web (PHP)?

    Guys,
    I need your help! I'm a newbie in web designing, I just want to ask on how to create a web (dynamic page) link/url.
    e.g. http://www.mypage.com/?=home
    thanks a lot.

    Setup a database table and populate the fields (i.e. auto-numerical_primary_key, id, dynamic_mod_url, title, article_content, etc.) then on your page create a filtered recordset where URL parameter (id) = your database table field (primary_key). Place the bindings of the filtered recordset on the page to show dynamic values for the filtered recordset based on the URL parameter. That way when someone visits yoursite.com/page.php?id=1 it will show the content for the database table where the primary key = 1 and so on. use dynamic_mod_url in conjunction with .htaccess dynamic mod rewrite to change yoursite.com/page.php?id=1 into yoursite.com/the_name_of_dynamic_mod_url_for_primary_key_1.html

  • Target URL Value in Dynamic Configuration

    Hi,
    1)When Dynamic Configuration is done for a receiver SOAP adapter what value has to be entered in the Target URL section of the SOAP channel?...assuming that a UDF for the same is implemented in the message mapping.
    2) Also under the ASMA section for the CC what is the purpose/ meaning of Variable Transport Binding and the subsequent XHeaderName1, XHeaderName2, XHeaderName3 fields.
    I have read the contents from the following:
    http://help.sap.com/saphelp_nw70/helpdata/EN/29/5bd93f130f9215e10000000a155106/frameset.htm
    but there is a doubt regarding the above two.
    Thanks,
    Abhishek.

    > 1)When Dynamic Configuration is done for a receiver SOAP adapter what value has to be entered in the Target URL section of the SOAP channel?...assuming that a UDF for the same is implemented in the message mapping.
    Anything you like. Maybe a default URL, or just an "x".
    > 2) Also under the ASMA section for the CC what is the purpose/ meaning of Variable Transport Binding and the subsequent XHeaderName1, XHeaderName2, XHeaderName3 fields.
    You have to check "Variable Transport Binding" when you use ASMA. You can leave the XHeaderNameX fields empty. They are for HTTP header fields.
    Regards
    Stefan

  • REDIRECT JDBC URL WHEN USING DYNAMIC JDBC CREDENTIALS SO NOT HARDCODED

    I have taken over an application that uses row-level security and ADF (using
    dynamic JDBC Credentials). I have been able to set the internal_connection to
    a JDBCDatasource, but cannot set the Connection Type in the Oracle Business
    Component Configuration to a JDBCDatasource. When I do, I receive errors that
    tables are not found. When I set the value back to a JDBC URL, everything
    works fine again.
    I am looking for a solution where the userid and password are not hardcoded in
    the BC4J.xcfg or a way to redirect this information, as we change our system
    passwords every nighty days. Otherwise, I will have to redeploy the
    application every nighty days.
    I did not create this application, but I am sure that you could simply follow
    the "How to Support Dynamic JDBC Credentials" article. From that point, you
    will probably be where I am, where I have the internal_connection set to a
    JDBCDataSource and working properly, but cannot set the Connection Type to
    anything where the userid and password will not be hardcoded or cause failure.
    I wanted to let you know that I have
    found the updated How to Support Dynamic JDBC Credentials
    (http://www.oracle.com/technology/products/jdev/howtos/bc4j/howto_dynamic_jdbc.h
    tml) and was going to run through the "Advanced: Supporting Dynamic JDBC URLs",
    but once I was done keying in
    env.remove(ConnectionStrategy.DB_CONNECT_STRING_PROPERTY); I received a
    depreciation message on the DB_CONNECT_STRING_PROPERTY. (Note: I am coding in
    JDeveloper 10.1.3, so this may be depreciated as of then, but the ADF Libraries
    for JDeveloper 10.1.3 are on our Oracle 10gAS 10.1.2 server.)
    I thought maybe this would resolve my issue, but I can't be sure as the
    deprecation message leads me to believe that this solution may not be viable in
    the future.
    UPDATE
    =======
    The article you are referencing is definitely an older version.
    There is a newer article for 10g at:
    http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html
    Please see if that helps.
    I have already reviewed this article.
    In fact, I have reviewed many versions of this document. I have not seen one
    created yet for 10.1.3 though (especially without JSF as our 10.1.2 AS server
    will not support it). I need to find an example or documentation that shows
    how we can keep from having the JDBC URL stored in the BC4J.xcfg or a way to
    use dynamic JDBC credentials with a JDBCDataSource. We do not want to store
    the userid and password in the application, rather, we would like to setup
    something that can be configurable from the application server.
    I think we need to use the dynamic JDBC credentials because we are using the
    row-level security, where we setup a database context for the user and only
    allow certain records of a database table to be returned to the browser based
    on that context.
    Might there be a way to still use the JDBCDataSource?

    I understand that the user provides the userid and password and that these values are setup using the Configuration class.
    However, when I am to deploy the ADF Business Module with my application, I have to specify either a JDBC URL or a JDBC DataSource in the Oracle Business Component Configuration.
    When I use JDBC DataSource, the code does not work properly, almost like the user's credentials are not used for the connection (I get errors like table or view does not exist).
    When I use the JDBC URL, the bc4j.xcfg stores a reference in the JDBCName attribute to a ConnectionDefinition in the same file. It is in this tag of the bc4j.xcfg where the userid, sid, and password (encrypted) is stored and used when retrieving the initial context of the ADF business components.
    It is these values that I want to have stored else where so that the application does not have to be redeployed in order for the password (or sid, or other connection information) to be change.

  • How to open URL IView with dynamic url parameter (navigate_absolute)

    Hi Experts,
    i would like to open an URL-IView from the WebDynpro ABAP Application in the Enterprise Portal 7.0
    and i want to set the URL parameter dynamically. Is this possible and how can i achieve this!!
    Thx Markus

    Hi Markus,
    You can take help of the following code snippet.
    Here we are calling an Iview using absolute navigation and passing URL parameters as well
    * Select the input value entered and then pass it to REM INQ application---------
      DATA lv_inputbusobjid   TYPE          wd_this->Element_context-inputbusobjid.
      DATA lv_path            TYPE          string.
      DATA lv_tab_wd_param     TYPE          wdy_key_value_list.
      DATA lv_str_wd_param     TYPE          wdy_key_value.
      DATA lo_el_context      TYPE REF TO   if_wd_context_element.
      DATA api_component      TYPE REF TO   if_wd_component.
      DATA window_manager     TYPE REF TO   if_wd_window_manager.
      DATA window             TYPE REF TO   if_wd_window.
      DATA lo_api_component   TYPE REF TO   if_wd_component.
      DATA lo_portal_manager  TYPE REF TO   if_wd_portal_integration.
    * read the imput data first-------------
    * get element via lead selection
      lo_el_context = wd_context->get_element( ).
    * get single attribute
      lo_el_context->get_attribute(
        EXPORTING
          name =  `INPUTBUSOBJID`
        IMPORTING
          value = lv_inputbusobjid ).
    ** call remuneration inquiry window using absolute navigation
      CLEAR lv_tab_wd_param.
    * Adding parameters
      lv_str_wd_param-key = 'sap-wd-configId'.
      lv_str_wd_param-value = 'CACS_REMINQ_CONF'.
      APPEND lv_str_wd_param TO lv_tab_wd_param.
      lv_str_wd_param-key = 'BUSOBJ_ID'.
      lv_str_wd_param-value = lv_inputbusobjid.
      APPEND lv_str_wd_param TO lv_tab_wd_param.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_portal_manager = lo_api_component->get_portal_manager( ).
      if lo_portal_manager is BOUND.
    * PCD
      lv_path = 'ROLES://portal_content/com.sap.pct/specialist/com.sap.pct.erp.common.workset_reuse/com.sap.pct.erp.icmparticip.bp_folder/com.sap.pct.erp.icmparticip.15.bp_folder/com.sap.pct.erp.icmparticip.15.pages/com.sap.pct.erp.icmparticip.RemInquiry'.
      lo_portal_manager->navigate_absolute(
        navigation_target   = lv_path
        navigation_mode     = if_wd_portal_integration=>co_show_external
        window_features     = 'toolbar=no,resizable=yes,scrollbars=yes'
        business_parameters = lv_tab_wd_param
      endif.
    Hope this helps
    Regards
    Manas Dua

  • Caching documents generated from url which are dynamic

    have got a couple of questions on cahcing documents.
    1)can we cache web pages that are generated by dynamic urls?? By dynamically generated URL I mean this, say for istance a person views a page with a url "http://my.site.com/tag.222222_uP" and logs out of the application. The sesond time he logs in he gets to see the same page but this the the servlet would generate a different url http://my.site.com/tag.11111_uP, but spits the same content when the page was hit the previous time another page evry time. The content again will very for diferent users. This page does not use any cookies though.
    2)The content that is displayed to a user changes depending on the user priviliges. The URL to the page still remains the same though. It is the content that will vary. Can such pages be cached? which cache rule do such pages follow??
    Thanks in advance for any help and ur time.
    Lakshmi B.

    Lakshmi,
    Find answers inline.
    have got a couple of questions on cahcing documents.
    1)can we cache web pages that are generated by dynamic urls?? By dynamically generated URL I mean this, say for istance a person views a page with a url "http://my.site.com/tag.222222_uP" and logs out of the application. The sesond time he logs in he gets to see the same page but this the the servlet would generate a different url http://my.site.com/tag.11111_uP, but spits the same content when the page was hit the previous time another page evry time. The content again will very for diferent users. This page does not use any cookies though.
    yes, by setting up cacheablity rule in Web Cache using the wildcards (like ^/tag*), the above dynamic urls can be cached. This rule would treat every dynamic url as distinct and separate content will be cached for every url. i.e http://my.site.com/tag.222222_uP separately and http://my.site.com/tag.11111_uP
    if the user information is maintained in the session, this could be better done with session management feature of Web Cache.
    2)The content that is displayed to a user changes depending on the user priviliges. The URL to the page still remains the same though. It is the content that will vary. Can such pages be cached? which cache rule do such pages follow??This is possible, if you could embed user information inside the url.
    say like http://my.site.com/getcontent?user=abc
    The cacheablity rule for this would be ^/getcontent* . Alternately, you can also use cookies store the user information and set that while defining the cacheablity rule.
    Also, if there is some portion of the content which is displayed to all the users, are alike, you can split the content into fragments. So that common portion of the content will fall into one fragment and the differing content would fall into another fragment. By doing so, web cache would cache the fragment separately, and for every user request, web cache would send app server request to fetch the differing content alone. This is possible, because of the ESI technology supported in Oracle9iAS Web Cache.
    Look at this page for samples on Web Cache and ESI
    http://otn.oracle.com/sample_code/products/ias/web_cache/content.html
    Regards,
    -Srikanth

  • Standard instead of ws_policy in url WSDL

    Hi,
    I would like to know if is there any way to get the wsdl with standard instead of ws_policy throug SOAMANAGER without do it manually.
    I mean that I can get the WSDL standard if I change ws_policy by standard in the WSDL url. I would like to know if another way exist due to I have to do it for each WSDL file.
    Thanks
    Regars

    Hi.
    That's how we created wsdl files in XI 3.0.
    Tried it in PI 7.11 and wont get the web service to work at all with that metod.
    BR
    Kalle

  • Setting WebService object's wsdl location dynamically

    I have written a flex app that speaks to a webservice.
    Everything works fine, but the wsdl location is hardcoded to a
    developer machine.
    In java I could define a system property, or create a
    properties file to read.
    Is there a preferred way for solving this in
    Flex/Actionscript?
    Reading a properties file? A system preference (if there is
    such a thing in flex)? Can I have the html wrapper pass in it's
    href and code some conditional logic? If anyone could help it would
    me much appreciated.

    We use an xml file on our server for externalized urls and
    other items.
    At startup we construct the url based on where the flex
    application was served from. (the url property of the application)
    So if were served from
    http://myServer:9090/MyApp/myFlexApp.htmp
    we build the url
    http://myServer:9090/MyApp/appParms.xml
    We then use UrlLoader to load the xml.
    Note that because of sandbox issues the parm file must be in
    the same domain as the Flex Application.

  • Url location of dynamically created file...

    I have a web app war that I have deployed to weblogic. This war generates some images which I want to point to from my web app browser.
    1. Is there a specific directory ( like the default root of the web app ) that I can get access to create these files ?
    2. Then what is the relative url to use to access these images ? ie, after creating the file in step (1), what relative url should I pass to the RequestDispatcher to access these images ?
    I can do this in Tomcat because I can create "/webapp/images" directory, and create the image files under this directory and then access them using the same url. But in weblogic, I dont know what the default directory is.
    Thanks
    -- pady

    Hi Pady,
    we have to place all imaze files or jsps or html files under webapplication directory(resides WEB-INF directory of the webapp).
    then the container automatically reads those files.
    we can access these files with RequestDispatcher Interface as given below.
    RequestDispatcher dispatcher =      request.getRequestDispatcher("/template.jsp");
         if (dispatcher != null) dispatcher.forward(request, response);
    suppose if you placed imaze files under myimazes folder then we can acces those files like this
    RequestDispatcher dispatcher =      request.getRequestDispatcher("/myimazes/imaze.jpeg");
    dispatcher.forward(request, response);
    ----Anilkumar kari

  • A dynamic partner link for very distinct services.

    Hello,
    Is possible to create a dynamic partner link for very distinct services. for examples 10 services has different operation names, inputs, outputs.
    Thank you.

    Hello,
    You could use an Oracle Services Registry ( UDDI ) to store the WSDL and dynamically select the needed WSDL.
    Here is the general idea :
    http://chintanblog.blogspot.com/2008/04/performance-with-esb-and-bpel-run-time.html
    Cheers,
    Arnaud

Maybe you are looking for