Any pl/sql API that would return server's URL ?

I want to add an attribute to my query which displays a URL .
http://s78kb9.company.com:9079/OA_HTML/OA.jsp?
OAFunc=MASETUPSHEETVIEW&viewInvItemId=1257683&viewMachine=101&viewRevision=1&viewSetNumber=1&viewCategory=Mills&paramActionType=ViewWS
how do i get the first part of the URL from pl/sql ? http://s78kb9.company.com:9079
thanks

thanks and aplogies for posting this :
i got it:
select FND_PROFILE.Value('APPS_FRAMEWORK_AGENT') from dual

Similar Messages

  • Custom PL/SQL API that inserts the data into a custom interface table.

    We are developing a custom Web ADI integrator for importing suppliers into Oracle.
    The Web ADI interface is a custom PL/SQL API that inserts the data into a custom interface table. We have defined the content, uploader and an importer. The importer is again a custom PL/SQL API that will process the records inserted into the custom table and updates the STATUS column of the custom interface table. We want to show the status column back on the spreadsheet.
    Defined the 'Document Row' import rule and added the rows that would identify the unique record.
    Errored row import rule, we are using a SELECT * from custom_table where status<>'Success' and vendor_name=$param$.vendor_name
    The source of this parameter is import.vendor_name
    We have also defined an Error lookup.
    After the above setup is completed, we invoke the create document and click on Oracle->Upload.
    The records are getting imported, but the importer program is failing with An error has occurred while running an API import. The ERRORED_ROWS step 20003:ER_500141, parameter number 1 must contain the value BIND in attribute 1.'

    The same issue.
    Need help.
    Also checked bne.log, no additional information.
    <bne:document xmlns:bne="http://www.oracle.com/bne">
    <bne:message bne:type="DATA" bne:text="BNE_VALID_ROW_COUNT" bne:value="11" />
    <bne:message bne:type="DATA" bne:text="BNE_INVALID_ROW_COUNT" bne:value="0" />
    <bne:message bne:type="ERROR" bne:text="An error has occurred while running an API import"
    bne:cause="The ERRORED_ROWS step 20003:ER_500165, parameter number 1 must contain the value BIND in attribute 1."
    bne:action="" bne:source="BneAPIImporter" >
    <bne:context bne:collection="collection_1" />
    </bne:message><bne:message bne:type="STATUS"
    bne:text="No rows uploaded" bne:value="" >
    <bne:context bne:collection="collection_1" /></bne:message>
    <bne:message bne:type="STATUS" bne:text="0 rows were invalid" bne:value="" >
    <bne:context bne:collection="collection_1" /></bne:message></bne:document>

  • Are there any tools or apps that would allow the use of iMessage from a desktop

    Hello,
    I am curious to see if there are currently any apps for programs that would allow me to use iMessage from my desktop pc at this time.
    Malcom Chakery

    So if I had a mac laptop I could imessage from it?

  • OTL I am trying to wright a SQL query that will return the date the timesheet was submitted and date/time it was approved, can anyone guide me on this?

    Hi
    I am trying to wright a SQL query that will return the date the timesheet was submitted and date/time it was approved, can anyone guide me on this?
    I basically need person name who submitted, date - time it was submitted for approval, then the person who approved it and the date - time that it was approved
    Thanks
    Ruby

    Ruby,
    you can start with HXC_TIMECARD_SUMMARY table for submitter detail. But for approver details, i think you need WF tables to get the data for item type HXCEMP.

  • ___ Is there any files out there that would be good to test trapping for a Ai trapping plug-in?

    The company I work for bought an Illustrator trapping plug in, and I'm having some issues with it. I'd like to make (or prefereably) obtain a test file that would be good to test overall trapping - any ideas?
    Thanks in advance!
    R

    Awesome,
    It's just litho - I was thinking that there might be some 'universal' file that exists that would test out all trap functions. Any file you could give me would be greatly appreciated (just vector obviously)- it could be uploaded and downloaded from this forum.
    Thanks Mike!

  • Are there any JAVA APIs that control usb ?

    i can't find any document JAVA APIs that control usb�C
    help me !!

    I think there is an API planned. But I think it is still in the specification state. Search the developer connection.

  • ADF BC VO based on PL/SQL-API

    Hi,
    We have the following scenario.
    It exists a PL/SQL-API in the database which return a rowtype (the function must not be modified). These data are displayed in the GUI.
    FUNCTION get_rec(p_parm IN table.column%type) RETURN table%rowtype;We found no declarative solution to create a ADF VO or ADF EO on a PL/SQL-API.
    In the documentation "38.5 Basing an Entity Object on a PL/SQL Package API" the combine a db-view for reading (R) and pl/sql-api for the DML (CUD).
    On solution would be to define a SQL Type for this scenario, and add a new PL/SQL-function (because the orginal function must not be modified) which returns the type.
    FUNCTION get_rec(p_parm IN table.column%type) RETURN OUR_SQL_TYPE;Then we can use a statment like SELECT * FROM TABLE(pkg_x.get_rec(:param)) in the ADF BC VO.
    Note:
    We found [url https://database-api-based-adf-bc.samplecode.oracle.com/]database-api-based-adf-bc. but "Last Updated: Nov. 10, 2009 and Current Version:     0.2b" does not sound very encouraging.
    And [url http://technology.amis.nl/blog/3315/creating-an-adf-application-based-on-plsql-api-part-one-reading-data-as-a-collection-of-sql-type-objects]adf-application-based-on-plsql-api. is a good blog-post too but adjustments in the database (SQL_TYPE, ...) must also be made.
    Technologie: ADF 11g (Fusion Stack: ADF BC, ADF Faces)
    Question: Is there a more elegant (declarative) solution for this problem without making the request to change the code DB?
    Best Regards
    Martin

    Martin, I've tried several of the strategies that you've mentioned, and the one I liked best was to write a new function to translate the rowtype to a nested table of object type so that you can create a VO that is a SELECT from TABLE. More work on the database side, but the VO is declarative. There really isn't much better because a PL/SQL record is only usable within PL/SQL.
    John, I have used JPublisher which works well to create POJOs that execute PL/SQL functions and that represent database objects created with CREATE TYPE. It even generates the DDL and PL/SQL code that would be needed to create the object types to mirror PL/SQL record types. But you still have to write some code to integrate the generated code into ADF BC. In particular, the constructors for the POJOs take a Connection as an argument - obviously, you can't run PL/SQL without a connection to an Oracle RDBMS. So you usually want to instantiate the objects in an AM, which can provide a Connection. Not a bad tool - pretty useful for some scenarios, but still not as declarative as Martin (or I) would like.

  • Returning the SWF url in AS3

    Hello. In as 2.0 there was a simple code like trace(_root._url) that would return the url of the actual swf file. What is the equivalent in AS3?
    The samples I found were all realted to window.location and other things, is there no simple code for this like in as 2?
    Thank you.

    Thank you. I found that it was this.loaderInfo.url
    It didnt work at first because I was trying with capital (Loader).

  • Is there any API for connecting web server and iphone apps

    Hi,
    I have to retrieve data from Web Server and display in my iphone apps. I want to know that is there any API through which i can connect my apps to server and get data.
    One way i know that use NSURLConnection and get XML response and prase it and use it like that.
    So anyone know this?
    Thanks.

    NSURLConnection is straightforward to use. In the mobile world, and especially if you intend to use certain google APIs, I would rather tend to use JSON instead of XML. A great JSON parser for objective-c is here: http://code.google.com/p/json-framework/
    Cheers,
    Marcelo

  • Is there a proven method of source control that would allow multiple authors to work on the same RoboHelp v11 project? Any advice would be appreciated.

    I was wondering which means of source control has proved the easiest to set up and live with for working concurrently on a RoboHelp project. Ideally, we would like to use Subversion, but would also consider Sharepoint, or other recommended solutions. Any experience you could share would be much appreciated.

    You could do a lot worse than look through the discussions over in the Source Control forum. Personally I use SVN although not integrated through the RoboHelp UI. There are others that do though. You'll find there are a selections of users using all sorts of source control apps with RH. Others not mentioned so far include Perforce, Team Foundation Server. It should just be a case of making your choice and then testing it to ensure it meets your needs.

  • EBS ISG using custom PL/SQL functions that return XMLType

    Hi,
    We have a custom PL/SQL package that we use for interfacing systems and some of the functions in this package ruturn an XMLType. We want to deploy the package functions as web services through the ISG, but it is not working as expected. When deployed through the ISG, the functions with XMLType return type produce a null response from the ISG (they work fine when called in SQL or PL/SQL; functions with non-XMLTypes work fine).
    If we change the return type to CLOB (and use getClobVal() on the XMLType) then we get a response from the ISG, but it changes all the angle-brackets in the CLOB (which is still arbitrary XML text) to &lt; &gt; ...
    What is the proper way to get the complex XMLType output through the ISG? Anyone have any more experience?
    Thanks,
    --Walt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Alex,
    For the predicate groups that are indexed/stored, the exact operator types (as in equality, inequality, like etc) that are indexed are specified while assigning the default index parameters. In the following example, exf$indexoper is used to specify the list of indexed operators.
    BEGIN
      DBMS_EXPFIL.DEFAULT_INDEX_PARAMETERS('Car4Sale',
        exf$attribute_list (
           exf$attribute (attr_name => 'HorsePower(Model, Year)',
                          attr_oper => exf$indexoper('=','<','>','>=','<='),
                          attr_indexed => 'FALSE')    --- stored predicate group
    END;
    /You can find more information about exf$indexoper at
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/t_expfilobj.htm#ARPLS153
    Could you confirm that you chose to index 'is null' and 'is not null' while assigning the default index parameters ? This information is available in OPERATOR_LIST column of the USER_EXPFIL_DEF_INDEX_PARAMS view.
    Hope this helps,
    -Aravind.

  • Calling PL/SQL procedure that returns boolean in java

    Hi All,
    Was not sure weather to post this on Java forum threads or PL/SQL forum threads. So posting at both locations.
    I have to call a PL/SQL procedure from java. This PL/SQL has IN/OUT parameters as well as return a Boolean value.
    The procedure definition is as follows:
    FUNCTION GET_NEXT(O_error_message IN OUT VARCHAR2,
    IO_item_no IN OUT ITEM_MASTER.ITEM%TYPE,
    I_item_type IN ITEM_MASTER.ITEM_NUMBER_TYPE%TYPE)
    return BOOLEAN;
    END ITEM_NUMBER_TYPE_SQL;
    And the java function I am using is as follows:
    This is in the ADF Application module impl code
    public String callNextItem(){
    CallableStatement callableStmt = null;
    String rmsUser = getDBTransaction().getConnectionMetadata().getUserName();
    String callableStatement = "begin ? := ITEM_NUMBER_TYPE_SQL.VALIDATE_FORMAT(?,?,?); end;";
    System.out.println("callableStatement "+callableStatement);
    try{
    callableStmt = getDBTransaction().createCallableStatement(callableStatement,0);
    callableStmt.registerOutParameter(1, Types.*BIT*);
    callableStmt.registerOutParameter(2, Types.VARCHAR);
    callableStmt.registerOutParameter(3, Types.VARCHAR);
    callableStmt.registerOutParameter(4, Types.VARCHAR);
    callableStmt.setBoolean(1, false);
    callableStmt.setString(2, "");
    callableStmt.setString(3, "");
    callableStmt.setString(4, "UPC-A");
    callableStmt.executeUpdate();
    System.out.println("STATUS : " + callableStmt.getString(3));
    System.out.println("ERROR : " + callableStmt.getString(2));
    String status = "";
    getDBTransaction().commit();
    System.out.println("commited ");
    callableStmt.close();
    return status;
    }catch(SQLException e){
    System.out.println("Error:" +e);
    throw new JboException(e);
    But this function never works. Throws "not valid expression type" error.
    I have called several PL/SQL procedures before, only difference being
    they never used to return any value. Particularly I feel the cause of the
    error is the Boolean type that is returned from the procedure.
    If you have any idea, please help.

    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html#34_05

  • Any PL/SQL examples of using ICX in the Web Server?

    I am trying to include some static HTML into a web page that's
    generated in PL/SQL. The documentation has led me to the ICX
    module but its examples are in PERL which I don't know in any
    depth. I would be very grateful to anyone who can supply a
    simple example of using ICX in PL/SQL.
    Regards,
    Anthony.

    As far as I know, Artificial Intelligence has not yet been achieved, although if someone's written a PL/SQL package that can beat Gary Kasparov at chess I'd like to see it.
    My wife thought the movie was called "A One".

  • Deploy resulset of PL\SQL function, that returns ANYTABLE%TYPE

    How can deploy resulset of PL\SQL function, that returns ANYTABLE%TYPE in SQL?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by angelrip:
    Hello everyone,
    I've come through the following problem:
    1.- I created an PL/SQL stored procedure which returns a REF CURSOR element, definition looks like this:
    PACKAGE PKG_LISTADOS AS
    TYPE tuplas IS REF CURSOR;
    /* Procedimientos exportados por el paquete */
    PROCEDURE inicializarModuloListados;
    FUNCTION recaudacionUltimoMes(medioPago DEF_MEDIO_PAGO.MEDIO_PAGO%TYPE)
    RETURN tuplas;
    2.- Now I would like to call the stored procedure and retrieve the PL/SQL cursor as a ResultSet Java Object. The code I wrote is this:
    Connection conn;
    XmlDocument paramDef;
    conn=poolMgr.getConnection str_poolDBConnection);
    try
    CallableStatement cstmt=conn.prepareCall("{?=call PKG_LISTADOS.recaudacionUltimoMes(?)}");
    cstmt.registerOutParameter(1, java.sql.Types.OTHER);
    cstmt.setString(2, "MONEDA");
    cstmt.executeQuery();
    ResultSet rs=(ResultSet)cstmt.getObject(1);
    catch(SQLException sqlE)
    3.- However, I can't make it OK, all the time I get the following error:
    SQL Error(17004), java.sql.SQLException: Non valid column type
    May anyone help me with this, thanks in advance:
    Miguel-Angel<HR></BLOCKQUOTE>
    Do something like the following:
    cstmt = conn.prepareCall("{call customer_proc(?, ?)}");
    //Set the first parameter
    cstmt.setInt(1, 40);
    //Register to get the Cursor parameter back from the procedure
    cstmt.registerOutParameter(2, OracleTypes.CURSOR);
    cstmt.execute();
    ResultSet cursor = ((OracleCallableStatement)cstmt).getCursor(2);
    while(cursor.next())
    System.out.println("CUSTOMER NAME: " + cursor.getString(1));
    System.out.println("CUSTOMER AGE: " + cursor.getInt(2));
    cursor.close();
    null

  • Is there any Public API that calls CSP_SHIP_TO_ADDRESS_PVT.ship_to_address_handler()

    Does any body know if there is any public API that calls this CSP_SHIP_TO_ADDRESS_PVT.ship_to_address_handler()?? I have a requirement to create a Resource Address real time for which i am looking for any public WSDL available in Integrated SOA Gateway for this package that i can use.
    Any help is appreciated.
    Thanks,
    Harika.

        Hello jmcamaross, Congrats on your iPhone 6 Plus Pre-Order! We're all very excited about the new phone so I know the importance of ensuring the address is correct. Options for changing the shipping address would be to cancel your original pre-order and place a new order. When this is done, your shipping date would change to a later date as you would lose your current "place in line". Please let us know if this is a good option for you.
    TanishaS1_VZW
    Follow us on Twitter @VZWSupport.

Maybe you are looking for

  • How do I place a photo in Illustrator from my iPhoto Library?

    I am a graphic designer and I use Illustrator and Photoshop a lot. I don't use iPhoto for most of my photo editing but rather for the organizing it does with my photos in regard to me viewing them. Since updating to iPhoto 08 the other day I am unabl

  • Email via Wifi is forbidden

    Hi All, I'm a new C3-00 owner and wanted to warn you about Orange France. You can't use the wifi connection to download your emails, this functionnality is disabled by Orange. I've struggled three days long with various commercial/technical hotlines,

  • IPhone5s error help!!!

    Can't make or receive calls/texts and it says searching In top left corner, does anybody know why this is?

  • Doesn't work. Suggestions?

    So I did everything that I was suppose to do. Such as partitioning, downloading Windows7, setting preferences, and then windows 7 loaded, it said restart for updates, I restarted before I put in MacOS, and then when I put in Mac OS I ran bootcamp and

  • LIS inbound interface & mystics

    Hi All! Can anybody explain me what is matter? I was creating LIS inbound interface. The system suggested me event and function group. I generated the interface and pointed out the place for saving in request - personal Z-package. Function module was