Common Provider Class

Hi group. While creating channels, i've realized that all hyperlinks
open a new browser window. I've talked to someone who is familiar with
iPS, and he said that i would need to create a new provider class. This
seems like a lot of work for a small task. Does anyone have an alternate
solution, and if not, does anyone know which provider i should use as a
template to build off (ex: the URL scraper class)? Thanks a lot. - Chris
Austin

If you create a url scrapper channel, you links are stored in some kind of html. in the href add a TARGET argument in the link. TARGET=1. Put this in all your links and they will all open in the same window.WesSystems EngineerNavidec.com303-222-1000 Chris Austin wrote:Hi group. While creating channels, i've realized that all hyperlinksopen a new browser window. I've talked to someone who is familiar withiPS, and he said that i would need to create a new provider class. Thisseems like a lot of work for a small task. Does anyone have an alternatesolution, and if not, does anyone know which provider i should use as atemplate to build off (ex: the URL scraper class)? Thanks a lot. - ChrisAustin

Similar Messages

  • How to get database connection in common java class

    hi friendz,
    plz help me...
    I am using JDEV 11.1.2.2.0 version.
    my problem is I'm writing common java class which can reuse any application.
    in this case when im create database connection like this,
    String username = "a";
    String password = "b";
    String thinConn = "jdbc:oracle:thin:@IP:1521:database";
    DriverManager.registerDriver(new OracleDriver());
    Connection conn =
    DriverManager.getConnection(thinConn, username, password);
    conn.setAutoCommit(false);
    return conn;
    but this statement not working in java class.its working only backing bean.
    import oracle.jdbc.OracleDriver;
    DriverManager.registerDriver(new OracleDriver());
    how can i do that??
    hope your help
    -Harsh-

    What is the error message in Java class?
    With JDBC 4.0 driver the DriverManager class has added support for the Java SE Service Provider mechanism to the getConnection() and getDrivers() methods using which JDBC drivers may be loaded automatically. The following Class.forName() method is not required to be invoked.
    Class.forName(“oracle.jdbc.OracleDriver”);
    Only the following is required to obtain a connection.
    String url="jdbc:oracle:thin:@localhost:1521:ORCL";
    Connection connection = DriverManager.getConnection(url,"oe", "pw");

  • Service not working after altering Model provider class

    Dear all,
    I have created a OData service and consumed it successfully. I was able to post data to it. Now after altering the "model class" i.e., adding one property and changing ABAP Dictionary type. After doing these changes but i couldn;t consume the service and get "500 Internal server".
    Did anyone experience this problem? Please note i didnt use Service builder(SEGW) to create a project instead i did all manually using Model and Data provider classes.
    Please suggest. Your help is appreciated.
    Points will be awarded to helpful answers.
    Regards
    Prabaharan

    Hello Prabaharan,
    This is a generic error at client side and there can be multiple reasons for it. This error is from the hub system and only way to check this error is to look into error log and application log in hub system.
    Common Problems: property type errors (date, decimal/precision etc.)
    But looking at the problem you are facing like Ron suggested you might get 500 internal server error because properties like data and time need to be defined nullable and you might have missed that.
    Kindly check and mark fields as nullable if properties you are sending in the payload are null values.
    lo_property->set_nullable( ).
    Cache clean up is required only when you have done some changes to your model.
    See the metadata and confirm if the new property added by you is present. if you are not able to see then do the following.
        Try Clearing the cache using /n/iwbep/cache_cleanup and /n/iwfnd/cache_cleanup t-code.
        Also clear server cache using /nsmicm t-code as shown below.
    Regards,
    Ashwin

  • Some commonly used Class interfaces

    Hi,
    Can anyone provide me some commonly used class interfaces list.
    Regards,
    Thanigai

    Hi,
    the 6 different Class interfaces are
    Importing
    Exporting
    Changing
    Reternig
    Receiving
    Raising
    Regards,
    Anirban

  • Can we use more than one Help Provider class in a same project in ADF11g

    Hi All,
    There are two help providers i want to use .They are "ResourceBundleHelpProvider","OHW Help Provider"
    In adf-settings.xml file
    <help-provider>
    <help-provider-class>oracle.adf.view.rich.help.ResourceBundleHelpProvider</help-provider-class>
    <property>
    <property-name>baseName</property-name>
    <value>com.symmetry.dashboard.panels.Help</value>
    </property>
    </help-provider>
    if try to register both help providers confliction occurs. Is it possible to register and use more than one help provider.?
    Thanks in advance.:)

    Thanks Frank,
    In adf-settings.xml file
    <help-provider>
    <help-provider-class>oracle.adf.view.rich.help.ResourceBundleHelpProvider</help-provider-class>
    <property>
    <property-name>baseName</property-name>
    <value>com.symmetry.dashboard.panels.Help</value>
    </property>
    </help-provider>
    <help-provider prefix="RB_">
    <help-provider-class>oracle.help.web.rich.helpProvider.OHWHelpProvider</help-provider-class>
    <property>
    <property-name>ohwConfigFileURL</property-name>
    <value>/myHelpset/config.xml</value>
    </property>
    <property>
    <property-name>baseURI</property-name>
    <value>http://127.0.0.1:7101/Dashboard_workflow/myHelpset/%3c/value>
    </property>
    </help-provider>
    I differentiated the help providers with the "prefix" attribute in the <help-provider> tag. So now confliction is not occuring between those.
    I used this prefix in the "helpTopicId" property of the adf components like "input text box" . I got the result. :)

  • Re: How do you create and use "common" type classes?

    Hi,
    You have 2 potential solutions in your case :
    1- Sub-class TextNullable class of Framework and add your methods in the
    sub-class.
    This is the way Domain class work. Only Nullable classes are sub-classable.
    This is usefull for Data Dictionary.
    The code will be located in any partition that uses or references the supplier
    plan.
    2- Put your add on code on a specific class and instanciate it in your user
    classes (client or server).
    You could also use interface for a better conception if needed. The code will
    also be in any partition that uses or references the supplier plan where your
    add on class is located.
    If you don't want that code to be on each partition, you could use libraries :
    configure as library the utility plan where is your add-on class.
    You can find an example of the second case (using a QuickSort class,
    GenericArray add-on) with the "QuickSort & List" sample on my personal site
    http://perso.club-internet.fr/dnguyen/
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    Robinson, Richard a &eacute;crit:
    I'm relatively new to forte and I'd like to know how can you handle utility
    type classes that you want to use through out your application? Ideally
    what I want is a static class with static methods.
    Let's say that I have a StringUtil class that has a bunch of methods for
    manipulating strings.
    My problem is that we have code that runs on the client and code that runs
    on the server. Both areas could use the StringUtil class, but from what I
    understand, I have to create StringUtil in a plan and then create a server
    object of type StringUtil. The server object will eventually get assigned
    to a partition. That's not good since I really want the server object to
    physically reside at the server end and at the client end. (Actually, I
    don't want a server object, I just want to invoke a static method of a
    static class).
    Any clues on how to solve this problem would be appreciated.
    Also, what is the url at Sage-it that has a summary of all emails that have
    been posted to [email protected]? Perhaps this question has been
    answered previously.
    Thanks in advance
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Richard,
    Your question about "utility classes" brings up a number of issues, all of
    which are important to long-term success with Forte.
    There is no such thing as a static method (method that is associated with a
    class but without an implicit object reference - this/self/me "pointer") in
    TOOL, nor is there such thing as a global method (method not associated
    with a class at all). This is in contrast to C++, which has both, and
    Java, which has static methods, but not global classes. Frequently, Forte
    developers will write code like this:
    result, num : double;
    // get initial value for num....
    tmpDoubleData : DoubleData = new;
    tmpDoubleData.DoubleValue = num;
    result = tmpDoubleData.Sqrt().DoubleValue;
    tmpDoubleData = NIL; // send a hint to the garbage collector
    in places where a C++ programmer would write:
    double result, num;
    // get initial value for num....
    result = Math::Sqrt(num);
    or a Java programmer would write:
    double result, num;
    // get initial value for num....
    result = Math.sqrt(num);
    The result of this is that you end up allocating an extra object now and
    then. In practice, this is not a big deal memory-wise. If you have a
    server that is getting a lot of hits, or if you are doing some intense
    processing, then you could pre-allocate and reuse the data object. Note
    that optimization has its own issues, so you should start by allocating
    only when you need the object.
    If you are looking for a StringUtil class, then you will want to use an
    instance of TextData or TextNullable. If you are looking to add methods,
    you could subclass from TextNullable, and add methods. Note that you will
    still have to instantiate an object and call methods on that object.
    The next issue you raise is where the object resides. As long as you do
    not have an anchored object, you will always have a copy of an object on a
    partition. If you do not pass the object in a call to another partition,
    the object never leaves. If you pass the object to another partition, then
    the other partition will have its own copy of the object. This means that
    the client and the server will have their own copies, which is the effect
    you are looking for.
    Some developers new to Forte will try to get around the lack of global
    methods in TOOL by creating a user-visible service object and then calling
    methods on it. If you have a general utility, like string handling, this
    is a bad idea, since a service object can reside only on a single
    partition.
    Summary:
    * You may find everything you want in TextData.
    * Unless you anchor the object, the instance will reside where you
    intuitively expect it.
    * To patch over the lack of static methods in TOOL, simply allocate an
    instance when required.
    Feel free to email me if you have more questions on this.
    At the bottom of each message that goes through the mailing list server,
    the address for the list archive is printed:
    http://pinehurst.sageit.com/listarchive/.
    Good Luck,
    CSB
    -----Original Message-----
    From: Robinson, Richard
    Sent: Tuesday, March 02, 1999 5:44 PM
    To: '[email protected]'
    Subject: How do you create and use "common" type classes?
    I'm relatively new to forte and I'd like to know how can you handle utility
    type classes that you want to use through out your application? Ideally
    what I want is a static class with static methods.
    Let's say that I have a StringUtil class that has a bunch of methods for
    manipulating strings.
    My problem is that we have code that runs on the client and code that runs
    on the server. Both areas could use the StringUtil class, but from what I
    understand, I have to create StringUtil in a plan and then create a server
    object of type StringUtil. The server object will eventually get assigned
    to a partition. That's not good since I really want the server object to
    physically reside at the server end and at the client end. (Actually, I
    don't want a server object, I just want to invoke a static method of a
    static class).
    Any clues on how to solve this problem would be appreciated.
    Also, what is the url at Sage-it that has a summary of all emails that have
    been posted to [email protected]? Perhaps this question has been
    answered previously.
    Thanks in advance

  • Payload is not available in Proxy provider class

    Hi PI Gurus,
    I have developed interface Legacy -> PI - > ECC
    The payload flown from PI to ECC successfully and i am able too see the payload in Monitor. But the payload is not getting read and not available in INPUT table of Proxy provider class. The no of record is available in proxy provider class.
    I am not facing this issue for other interface which was created with similar data flow.
    Thanks and regards,
    Mohanraj V.

    The payload flown from PI to ECC successfully and i am able too see the payload in Monitor.
    Do you see successful message in ECC MONI?
    But the payload is not getting read and not available in INPUT table of Proxy provider class. The no of record is available in proxy provider class.
    Make sure the proxy is active or was re-generated if there were any changes in the data type in XI. At the other hand check the inbound proxy code once again.

  • Deploying large applications and common used classes

    I've got an application containing EntityBeans, statefull/stateless
    SessionBeans, and a Webapplication. Every component is packed in a jar File
    and all together in an EAR-File as an application.
    Those EJBs share some common classes, for example:
    EjbA in A.jar and EjbB in B.jar share a Helperclass C.
    Where do I put this class C? I try to avoid to put this class C in the
    Classpath of the application server. And when I put C in both jar-Files I
    got a ClassNotFoundException in one of the EJBs. I'm using WLS 6.0.
    Any ideas? Thanx in advance.

    FYI, this is fixed in 6.1
    Torsten Friebe wrote:
    Hi Daniel,
    thanks, this article answers my question. But does WLS 6.0 or 6.1 allready
    support J2EE Packaging as described in J2EE 1.3 Spec (PFD3) Chapter 8?
    Cheers
    Torsten
    "Daniel Hoppe" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]..
    Hi Torsten,
    there is no really good solution so far. Check out this link, it
    elaborates this topic in detail.
    http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html
    Cheers,
    Daniel
    -----Ursprüngliche Nachricht-----
    Von: Torsten Friebe [mailto:[email protected]]
    Bereitgestellt: Freitag, 29. Juni 2001 11:59
    Bereitgestellt in: environment
    Unterhaltung: deploying large applications and common used classes
    Betreff: deploying large applications and common used classes
    I've got an application containing EntityBeans, statefull/stateless
    SessionBeans, and a Webapplication. Every component is packed
    in a jar File
    and all together in an EAR-File as an application.
    Those EJBs share some common classes, for example:
    EjbA in A.jar and EjbB in B.jar share a Helperclass C.
    Where do I put this class C? I try to avoid to put this class C in the
    Classpath of the application server. And when I put C in both
    jar-Files I
    got a ClassNotFoundException in one of the EJBs. I'm using WLS 6.0.
    Any ideas? Thanx in advance.

  • 6.0 audit provider class location

    Hi,
    I have been using 6.0 with my application deployed in the default web
    application.
    I have a class which implements audit functionality which is located
    in the classes
    directory within DefaultWebApp_myserver/WEB-INF
    I am also using that audit class to implement an audit provider class
    which is also located in the classes directory within the default web
    app.
    Now I am trying to deploy the 'default" application as a war.
    I am having a problem which I boot wls since it can't find the audit
    provider. Is it impossible to use classes within a webapp as the audit
    provider. If so, what is the preferred way of deploying the audit
    provider class. Should it and all its dependents be in a jar file and
    that jar file in the classpath which is used when starting wls?
    Will I have a problem if the dependent audit class which is used be
    the audit provider is in the classpath when starting wls and also in a
    jar file which is part of the war???
    Thanks,
    Rob

    I am experiencing the same problem when calling InitContext() from Ant's JUnit task. I am suspecting that the custom class loader has something to do with this. Does the JSP client in Tomcat has it's own classloader?
    The actual initial context factory class is in 'weblogic.jar'. You can open it up with WinZip.
    "Erik Godding Boye" <[email protected]> wrote:
    >
    Hi again,
    I forgot so mention that I'm trying to access the EJBs from a JSP client running in Tomcat 3.2.1. Could this be a bug in Tomcat, since it seems to work if I run it from a Java-application client?
    Erik
    "Erik Godding Boye" <[email protected]> wrote:
    Hi,
    We are trying to access our EJBs deplyed on a WL 6.0 Server from an environment other than a WL Server. Which class files (libraries) are exactly required on the client?
    I have been reading all the messages on this board regarding the InitialConext issues with ClassDefNotFoundError, but found no answers when running WL 6.0 Server.
    The following code terminates with an error:
    String contextURL = "t3://remotehost:remoteport";
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, contextURL);
    Context ctx = new InitialContext(ht);
    The error is:
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
    I have included weblogic.jar in the clients classpath, and I even tried to include all the jar-files in the wls\lib folder.
    Thanks for all your help.
    Erik

  • Namespace Handling in Model Provider Class

    Hi,
    Could you help me understand the namespace handling mechanism in Model Provider Class.I was trying to refer to the below mentione link.But unable to proceed much on the same.
    Namespace Handling in Model Provider Class - SAP NetWeaver Gateway - SAP Library
    Could you let me know what would need to be done in the methods  /IWBEP/IF_MGW_VOCAN_ANN_TARGET~SET_NAMESPACE_QUALIFIER,
    /IWBEP/IF_MGW_ODATA_MODEL~SET_SCHEMA_NAMESPACE.
    Also could you guide me on how to test the service,I was trying to test from gateway client.But unable to find out any thing specific to namespace handling.
    Regards,
    Ann

    Hi,
    Could you help me understand the namespace handling mechanism in Model Provider Class.I was trying to refer to the below mentione link.But unable to proceed much on the same.
    Namespace Handling in Model Provider Class - SAP NetWeaver Gateway - SAP Library
    Could you let me know what would need to be done in the methods  /IWBEP/IF_MGW_VOCAN_ANN_TARGET~SET_NAMESPACE_QUALIFIER,
    /IWBEP/IF_MGW_ODATA_MODEL~SET_SCHEMA_NAMESPACE.
    Also could you guide me on how to test the service,I was trying to test from gateway client.But unable to find out any thing specific to namespace handling.
    Regards,
    Ann

  • How do I switch user in  Common Provider 11.1.1.3 ?

    Hi,
    After I login to Smartview in Excel using Common Provider 11.1.1.3, I don't seem to be able to change my login ID. It always connects me automatically as my 1st login ID.
    how do I switch user in Common Provider 11.1.1.3 ?

    I have found that in 11.1.1.3 what John says actually doesn't work every time.
    .... very annoying.
    If you do the steps John said and it still doesn't work. Do it again. But this time close Excel after you disconnet and then reopen Excel. This will work every time.
    Kind of a bug in my opinion but haven't bother chasing after it with Oracle

  • Error When Trying to POST: Method not implemented in data provider class

    Hi Experts,
    I have created an Odata Service using Netweaver Gateway Service builder. I am using Advanced Rest Client to test the service. I can successfully GET my data, but I run into issues when I try and POST new data.
    When trying to POST, I used the GET method to get the x-csrf-token, and added it to my header. I also updated the body XML with the data that I would like to POST. However, after sending the POST request, I am getting a "500 Internal Service Error" with the xml message "Method '<OdataServiceName>'_CREATE_ENTITY" not implemented in data provider class".
    Any help on this would be greatly appreciated. Thanks!

    Hi Kelly,
    Can you share screenshots of the error? Maybe something wrong with payload :can you share the same also? Did you try to debug it by putting a breakpoint in the CREATE_ENTITY method in the backend? Any luck?
    Regards,
    JK

  • Model provider class and data provider class

    please explain Model provider class and data provider class?

    Hi,
    both MPC and DPC get generated as runtime artifacts.
    MPC - This is used to define model. you can use the method Define to create entity, properties etc using code based implementation. you rarely use MPC extension class.
    DPC - used to code your CRUDQ methods as well as function import methods. you write all your logic in redefined methods of DPC extension class.
    Refer Generated ABAP Classes and Service Registration - SAP NetWeaver Gateway - SAP Library for more information.
    you can also refer my blog Let’s code CRUDQ and Function Import operations in OData service! which will provide you clear idea on how to redefine various CRUDQ methods in DPC extension class.
    Regards,
    Chandra

  • How to get HTTP headers from Data Provider Class?

    Hi,
    I'm the beginner in SAP NetWeaver Gateway. Using Service Builder I created CRUD OData web service and implemented CRUD operations in Data Provider Class. Data Provider Class has methods like MYENTITY_GET_ENTITYSET, MYENTITY_GET_ENTITY, MYENTITY_CREATE_ENTITY, MYENTITY_UPDATE_ENTITY. How can I get HTTP headers from the methods of this Data Provider Class?

    You can do so by using the following code in DPC
    Data :  Lo_facade type ref to /IWBEP/IF_MGW_DP_INT_FACADE.
    lo_facade     ?= /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).
    lt_client_headers = lo_facade->get_request_header( ).
    Regards,
    Atanu

  • Common Provider null datasource error

    Dear All,
    I have created new private connection in Smartview for Essbase. But If I select that datasource to work it show an error in popup window saying "common provider null datasource error".
    Help in solving this issue is highly appreciated.
    Regards,
    Kamal

    It could be a compatibility issue. Check out this thread: http://kr.forums.oracle.com/forums/thread.jspa?threadID=2157808
    Cheers,
    Mehmet

Maybe you are looking for

  • Different headers & footers on odd & even pages in Pages 5 ?

    Hello all, I just upgraded to Pages 5 in Mavericks. How can I have different headers & footers on odd & even pages ? For example a header containing odd numbers on the right page and even numbers on the left page. I looked carfully in the menus & pan

  • I cannot for the life of me wipe my ipod.

    I cannot for the life of me wipe my ipod.  It does not show up under devises.  I have the latest version of itunes, as of 6/1/2013.  Apple is the worst.  Thank you.

  • Can we store forms and reports in 10g database in any format

    Can we store forms and reports in 10g database in any format

  • ILife 08 with iMovie HD

    A while back when they came out with iLife 08, people didn't like the new IMovie so they made iMovie HD a free download for anyone that had '08 and wanted to go back. I have a G4 iMac with iLife 08 that doesn't meet the system requirements for iMovie

  • Pocket bookmarklet disappearance

    Pocket bookmarklet is no longer available on Firefox. Tried to add it and says it is no longer compatible. I am using the most current Firefox version. It works with all other browsers. This is very disappointing.