Help needed in soaprequest formatting in Objective C.

Hello, Good evening.
Please can someone help me in fortmatting my code, I have been trying for 2 days to pass the correct parameters to a web service without success. Due to the issues with wsmakestubs i was unable to use the inbuilt WS methods in ocjC, so i decided to roll my own Soap request..
the problem im hitting now is with double quotes and the removal of them in the compile.
Please find below my code, and i do hope someone out there will be able to assist.
these two lines error on compile due to the double quotes on line one around the "(1.0)" and "(utf-8)"... my code needs to keep this in the row.
line two same again double quotes are needed around the paths. but build they error.
<<<Start of Code>>
[soapRequest appendString:@"<?xml version="(1.0)" encoding="(utf-8)"?>"];
[soapRequest appendString:@"<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"<xmlns:xsi="http://www.w3 .org/2001/XMLSchema-instancexmlns:xsd=http://www.w3.org/2001/XMLSchema>""];
Thanks again.!
Regards
Iain Smith

Usually the standard escape sequence is to use a backslash before the double quote. I have not tried that in Objective-C, but would be surprised if it does not work.

Similar Messages

  • Help needed with File Formats (Save As...)

    Somewhere upgrading versions of Photoshop (Mac), some old File Formats have remained. The result is that I cannot properly select a File Format to Save As... except the native PSD format. Others have to be selected by selecting a format below the one on the list, meaning that I cannot select TIFF because there are no formats below this one. (Accepted formats http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7758a.h tml#WSfd1234e1c4b69f30ea53e41001031ab64-7754a)
    I've looked in the Plugins folder and there are no strange file formats there. I checked Library>Application Support>Adobe>Plug-Ins but nothing there. I've tried searching the entire hard drive for Compuserve GIF (one of the offending file formats) but nothing matches.
    I give up trying to figure out where some of the problem plugins are located. As you can see from the image below, selecting Multi-Picture Format actually will save it as a jpg. From reading Adobe's formats, I think CompuServe GIF is causing part of the problem. I don't know what other one.
    Or it may be that I just need to reset something so all formats are properly recognized. Can anyone help?

    Curt,
    That is great information. Unfortunately I've already checked the preferences and do not have an additional plugin folder specified.
    Suppossedly, according to the information from Adobe, the only place plugins should be loaded is in the Photoshop > Plug-Ins folder, or possibly Library>Application Support>Adobe>Plug-Ins (according to the link you provided). There is nothing there.
    When I look at Photoshop > About Plug-ins I see that, for example, there are two (2) versions of CompuServe GIF format. Obviously one is old from a previous install/update, but I cannot find it anywhere. If I could find it, I could remove it. I suspect that is one of the conflicts causing my problem, but I see no way in Preferences to remove a plug-in. The link you gave says to move it outside the folder, but it presupposes you can even find the offending plug-in, which I cannot.
    Monty

  • Newbie - help needed with array and dictionary objects

    Hi all
    Please see the code below. I've posted this code in another thread however the original issue was resolved and this is now a new issue I'm having although centered around the same code.
    The issue is that I'm populating an array with dictionary objects. each dictionary object has a key and it's value is another array of custom objects.
    I've found that the code runs without error and I end up with my array as I'm expecting however all of the dictionary objects are the same.
    I assume it's something to do with pointers and/or re-using the same objects but i'm new to obj-c and pointers so i am a bit lost.
    Any help again is very much appreciated.
    // Open the database connection and retrieve minimal information for all objects.
    - (void)initializeDatabase {
    NSMutableArray *authorArray = [[NSMutableArray alloc] init];
    self.authors = authorArray;
    [authorArray release];
    // The database is stored in the application bundle.
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@"books.sql"];
    // Open the database. The database was prepared outside the application.
    if (sqlite3_open([path UTF8String], &database) == SQLITE_OK) {
    // Get the primary key for all books.
    const char *sql = "SELECT id, author FROM author";
    sqlite3_stmt *statement;
    // Preparing a statement compiles the SQL query into a byte-code program in the SQLite library.
    // The third parameter is either the length of the SQL string or -1 to read up to the first null terminator.
    if (sqlite3preparev2(database, sql, -1, &statement, NULL) == SQLITE_OK) {
    // We "step" through the results - once for each row.
    // We start with Letter A...we're building an A - Z grouping
    NSString *letter = @"A";
    NSMutableArray *tempauthors = [[NSMutableArray alloc] init];
    while (sqlite3_step(statement) == SQLITE_ROW) {
    author *author = [[author alloc] init];
    author.primaryKey = sqlite3columnint(statement, 0);
    author.title = [NSString stringWithUTF8String:(char *)sqlite3columntext(statement, 0)];
    // FOLLOWING WAS LEFT OVER FROM ORIGINAL COMMENTS IN SQLBooks example....
    // We avoid the alloc-init-autorelease pattern here because we are in a tight loop and
    // autorelease is slightly more expensive than release. This design choice has nothing to do with
    // actual memory management - at the end of this block of code, all the book objects allocated
    // here will be in memory regardless of whether we use autorelease or release, because they are
    // retained by the books array.
    // if the author starts with the Letter we currently have, add it to the temp array
    if ([[author.title substringToIndex:1] compare:letter] == NSOrderedSame){
    [tempauthors addObject:author];
    } // if this is different letter, then we need to deal with that too...
    else {
    // create a dictionary to store the current tempauthors array in...
    NSDictionary *tempDictionary = [NSDictionary dictionaryWithObject:tempauthors forKey:@"authors"];
    // add the dictionary to our appDelegate-level array
    [authors addObject:tempDictionary];
    // now prepare for the next loop...
    // set the new letter...
    letter = [author.title substringToIndex:1];
    // remove all of the previous authors so we don't duplicate...
    [tempauthors removeAllObjects];
    // add the current author as this was the one that didn't match the Letter and so
    // never went into the previous array...
    [tempauthors addObject:author];
    // release ready for the next loop...
    [author release];
    // clear up the remaining authors that weren't picked up and saved in the "else" statement above...
    if (tempauthors.count > 0){
    NSDictionary *tempDictionary = [NSDictionary dictionaryWithObject:tempauthors forKey:@"authors"];
    [authors addObject:tempDictionary];
    else {
    printf("Failed preparing statement %s
    ", sqlite3_errmsg(database));
    // "Finalize" the statement - releases the resources associated with the statement.
    sqlite3_finalize(statement);
    } else {
    // Even though the open failed, call close to properly clean up resources.
    sqlite3_close(database);
    NSAssert1(0, @"Failed to open database with message '%s'.", sqlite3_errmsg(database));
    // Additional error handling, as appropriate...
    Message was edited by: dotnetter

    Ok, so I know what the issue is now...I just don't know enough to be able to resolve it!
    it's the tempAuthors objects.
    It's an NSMutableArray which is create on the line before the start of the WHILE loop.
    Having looked through the debugger, I can see that each dictionary object is created (with different codes which I assume are memory addresses) so all is well there. However, on each iteration of the loop in the middle there is an IF...ELSE... statement which in the ELSE section is clearing all objects from the tempAuthors array and beginning to repopulate it again.
    Looking at the containing dictionary objects in the debugger I can see that the tempAuthors object that each contains has the same code (again, I'm assuming this is a memory address) - so if I understand correctly, it's the same object...I assumed that when I created the dictionary using the dictionWithObject call that I would be passing in a copy of the object, but it's referencing back to the object which I then go on to change.
    Assuming the above is correct, I've tried several "stabs in the dark" at fixing it.
    I've tried relasing the tempAuthors object within the ELSE and initialising it again via an alloc...init - but this didn't work and again looking through the debugger it looks as though it was confused as to which object it was supposed to be using on the following iteration of the WHILE loop (it tried to access the released object).
    Having read a little more about memory management can someone tell me if I'm correct in saying that the above is because the tempAuthors object is declare outside the scope of the WHILE loop yet I then try to re-instantiate it within the loop (does that make sense???).
    Sorry for the long post...the more I can understand the process the less I can hopefully stop relying on others for help so much.
    I am continuing to read up on memory management etc but just not there yet.
    Regards
    Wayne

  • Help needed in date formating

    Hi guys merry Christmas in advance .i was trying to write a code to compare given string with current date .
    So i have written a piece of code to set hour minute second millisecond of current date to 0.
    It worked fine for minute second millisecond but hour always shows 12.
    Here is the code.
    Please help
    import java.util.*;
    public class SampleDate
    public static void main(String[] args)
    java.util.Date date = new java.util.Date();
    //convert current date to cal format and set hour min sec mill to 0
    java.util.Calendar cal1=java.util.Calendar.getInstance();
    cal1.setTime(date);
    cal1.set(java.util.Calendar.HOUR,0);
    cal1.set(java.util.Calendar.MINUTE, 0);
    cal1.set(java.util.Calendar.SECOND, 0);
    cal1.set(java.util.Calendar.MILLISECOND, 0);
    //convert from cal to date format
    date=cal1.getTime();
    System.out.println("Current Date in Date Object: " + date);
    }Output:
    C:\TIMECOMPARE>java SampleDate
    Current Date in Date Object: Thu Dec 24 12:00:00 IST 2009Expected output is :Current Date in Date Object: Thu Dec 24 00:00:00 IST 2009

    The HOUR field of the Calendar class represents a 12 hour clock format where 0 indicates 12 noon. Instead use the HOUR_OF_DAY in the code as shown below:
    cal1.set(java.util.Calendar.HOUR_OF_DAY,0);

  • Help need in creation of auth object

    Hi all,
    can anyone assist me in creating an auth object to restrict users based on plant.
    I would appreciate i anyone of you could send me screen shots of the procedure.
    My email id is
    <b><removed by moderator></b>
    Thanks
    Venki

    Hi,
    Basically you can use derived role and restric users based on plant...
    Other than standard objects do you want to create auth objects.
    For more information on you can follow link. info on objects
    http://help.sap.com/saphelp_47x200/helpdata/en/ea/e9b0054c7211d189520000e829fbbd/frameset.htm
    Cheers
    Soma

  • Help needed in getting formatted output ?

    Hi members,
    I am a newbie in Java programming. I know C, C++ upto a good level. I was trying to print a pattern like:
    1
    12
    123
    1234
    12345
    But wasn't able to get the output in desired format. I just wanna know how can i get the above mentioned output. The code i written is shown below alongwith the output:
    /* This program is used to print the Pattern of 1,12..... */
    class pattern
         public static void main(String args[])
              int i=1,j=1;
              while(i<=5)
                   j=1;
                   while(j<=i)
                        System.out.println("\t "+ j);
                        j++;
                   i++;
                   System.out.println("\n");
    output:
    F:\Jprograms>java pattern
    1
    1
    2
    1
    2
    3
    1
    2
    3
    4
    1
    2
    3
    4
    5
    F:\Jprograms>
    Any help will be appreciated.
    With regards
    Real Napster

    It's the statement you're using to print to the console:
    println() means print, then go to next line.
    print() doesn't go to the next line.
    So:
    System.out.println("1");
    System.out.println("2");
    Gives
    1
    2
    But System.out.print("1");
    System.out.print("2");
    Gives
    12

  • Help needed for translation of custom objects

    Hi All,
    We are currently in the process of upgrading from 11i to R12.1.3. We have a lot of custom reports and forms which needs to be translated based on language preference set at user level. The approach we have taken is as follows:
    1. Created one unique look up type for each of the custom objects.
    2. Each lookup code is mapped to a field of the custom object (report or form).
    3. Entered the translation for each of the lookup codes using Globe icon (Translation Form) available on the lookup form.
    4. When the user logs into his account, we are filterting out the record specific to user environment language using the condition:
    language of fnd_lookup_values = usernev('lang') and getting the translated labels for each of the fields in the custom object.
    Now what we would like to understand is if there is any other better way of doing translation based on user preferred language.
    We have heard about Oracle Translation Manager (OTM) but not sure how the same can be used in our case. Also we would like to know how Oracle does translation for the languages that are enabled in a particular instance. We would like to know if a similar approach can be followed for custom objects as well.
    Thanks & Regards,
    Sreenivasa M

    Implode wrote:
    We had the arrayList/collections lecture today.
    I asked the teacher about sorting objects and he started explaining hashmaps and then he mentioned another thing which we will only be learning next term, I'm sure we must only use what we have learned.
    How exactly can this be done. I have asked a few questions in the post already.
    ThanksWell, there was probably a gap in the communication. Hash maps (or hash tables, etc.) are instance of Map. Those are used to locate a value by its unique key. Generally, to speed up access, you implement a hashing function (this will be explained hopefully in class). Think of name-value pairs that are stored where the name is unique.
    Contrast this with items that are sorted. Any List can be sorted because its elements are ordered. An ArrayList is ordered, generally, by the order you inserted the elements. However, any List can be given its own ordering via Comparable or Comparator. You can't do this with an ordinary Map. The purpose of a Map is speedy access to the name-value pairs, not sorting. The List likewise has different purposes, advantages, disadvantages, etc. List can be sorted.
    A Map is generally similar to a Set. A Set is a vanilla collection that guarnatees uniqueness of each element (note, not name-value pairs, but simple elements). There is one concrete class of Map that can be sorted, TreeMap, but I doubt your professor was referring to that. The values or the keys can be returned from the Map and sorted separately, but again, I doubt he was referring to that.
    Take a look at the Collections tutorial here on this site or Google one. It is fairly straightforward. Just keep in mind that things (generally) break down into Set, Map and List. There are combinations of these and different flavors (e.g., Queue, LinkedHashMap, etc.) But if you can learn how those three differ, you will go a long way towards understanding collections.
    (Oh, and be sure to study up on iterators.)
    - Saish

  • Help needed for storing and sorting objects.

    Hello
    I have an assignment and it is to create a guessing game, here is the question,
    In this assignment you are to write a game where a user or the computer is to guess a random
    number between 1 and 1000. The program should for example read a guess from the keyboard, and
    print whether the guess was too high, too low or correct. When the user has guessed the correct
    number, the program is to print the number of guesses made.
    The project must contain a class called Game, which has only one public method. The method must
    be called start(), and, when run it starts the game. The game continues until the user chooses to
    quit, either at the end of a game by answering no to the question or by typing 'quit' instead of a
    guess. After each game has been played, the program is to ask the user for a name and insert this
    together with the number of guesses into a high score list. When a game is started the program
    should print the entire high score list, which must be sorted with the least number of guesses first
    and the most last. Note, the list must be kept as long as the game-object is alive!
    each score also
    consists of the game time. In case there are two high scores with the same number of guesses, the
    game time should decide which is better. The game time starts when the first guess is entered and
    stops when the correct guess has been made. There should also be input checks in the program so
    that it is impossible to input something wrong, i.e. it should be impossible to write an non-numeric
    value then we are guessing a number, the only allowed answers for a yes/no question is yes or no,
    every other input should yield an error message an the question should be printed again.
    I understand how to code most of it, except I am not sure how to store the playerName, playerScore, playerTime and then sort that accordingly.
    I came across hashmaps, but that wont work as the data values can be the same for score.
    Is it only one object of lets say a highScore class, and each time the game finishes, it enters the values into an arrayList, I still dont understand how I can sort the array all at once.
    Should it be sorted once for score, then another array created and sorted again, I dont get it I am confused.
    Please help clarify this.

    Implode wrote:
    We had the arrayList/collections lecture today.
    I asked the teacher about sorting objects and he started explaining hashmaps and then he mentioned another thing which we will only be learning next term, I'm sure we must only use what we have learned.
    How exactly can this be done. I have asked a few questions in the post already.
    ThanksWell, there was probably a gap in the communication. Hash maps (or hash tables, etc.) are instance of Map. Those are used to locate a value by its unique key. Generally, to speed up access, you implement a hashing function (this will be explained hopefully in class). Think of name-value pairs that are stored where the name is unique.
    Contrast this with items that are sorted. Any List can be sorted because its elements are ordered. An ArrayList is ordered, generally, by the order you inserted the elements. However, any List can be given its own ordering via Comparable or Comparator. You can't do this with an ordinary Map. The purpose of a Map is speedy access to the name-value pairs, not sorting. The List likewise has different purposes, advantages, disadvantages, etc. List can be sorted.
    A Map is generally similar to a Set. A Set is a vanilla collection that guarnatees uniqueness of each element (note, not name-value pairs, but simple elements). There is one concrete class of Map that can be sorted, TreeMap, but I doubt your professor was referring to that. The values or the keys can be returned from the Map and sorted separately, but again, I doubt he was referring to that.
    Take a look at the Collections tutorial here on this site or Google one. It is fairly straightforward. Just keep in mind that things (generally) break down into Set, Map and List. There are combinations of these and different flavors (e.g., Queue, LinkedHashMap, etc.) But if you can learn how those three differ, you will go a long way towards understanding collections.
    (Oh, and be sure to study up on iterators.)
    - Saish

  • Urgent help needed making an interactive 3d object

    Hi folks I need help producing a simple 360 degree product viewer.
    Similar to this... http://scout7.gen2testing.com/scout7match/New.asp?pt=1&lng=Captions.
    I've imported my w3d model from c4d into Director  but how do I impliment scroll bars and assign them the zoom and axis control?
    If anyone can help me or knows of any tutes or code please let me know!
    Cheers!!!

    You should have all you need in the 3d section of the library, just drag the behaviors onto your 3d sprite.

  • Help needed in SD VC Assigning Object Dep. for all values at the 1 time

    Dear, Gurus
    I am successful in achieving pricing in VC the long way example: If Characteristic is Car_Color and values Blue, Red. I assign
    $self.Z_CarPrice=u2019Redu2019 and it works. Z_CarPrice is basically the variant condition linkage with tables SDCOM and VKOND.
    My question is how can I achieve the above by assigning it to the header so that it automatically enters the code $self into all values without me having to go into it 1 by 1 and assigning the codes? Or what is the best way in achieving the results?
    If I have 3 characteristics ex: Car_Model, Car_Color, Car_Size? 100's of values?     4th characteristic is Z_CarPrice inside this I have entered all the Values from the 3 characteristics.
    Thanks in Advance

    Hi,
    Try these steps and hope will definitely resolve your issue
    Create one variant table VT_BASE_PRICE with combinations of the char Z_COLOR,Z_MODEL and Z_SIZE as key fields
    Table Structure
    Z_Color               
    Z_Model
    Z_Size
    Z_Car_Price
    Table Contents    
    Z_Color          Z_Model                         Z_Size          Z_Car_Price
    RED          Honda          Big          BP_RED_HONDA_BIG
    RED          Honda          Small          BP_RED_HONDA_SML
    Maintain the table values with all possible combinations and for each combination enter a unique key under Z_car_Price column. Remember the variant key length Max is 26  and you can use any unique value which should give a meaning by looking at
    Once maintained the table write a dependency
    Table VT_BASE_PRICE
    (Z_COLOR = Z_COLOR,
    Z_MODEL = Z_MODEL,
    Z_SIZE = Z_SIZE,
    Z_CAR_PRICE = $self.Z_CAR_PRICE)
    Thus for each combination no need to write the code to infer the variant key. It will automatically choose from table as per configuration values entered.For each variant key you need to maintain price in condition records for condition type.
    Regards,
    Brahmaji D

  • Help needed in Time format

    Hi
    I am using oracle 9i . Is there any option to change the time format ie. for eg: when iam inserting values (in the fields declared as timestamp) as '22-06-2005' it is showing errors but when changed to '22-jun-2005'it is working. In my case i want the values to be inserted in '22-06-2005' format.
    Also is it posssible to change dd-mm-yyyy format to yyyy-mm-dd.
    Thanking you in advance
    Dinny

    Hi
    When i create a having 'ALTER SESSION SET NLS_TIMESTAMP_FORMAT = ''YYYY.MM.DD HH24:MI:SS''' the time format is not getting intialized but when i run the stmt ALTER SESSION SET NLS_TIMESTAMP_FORMAT = 'yyyy-mm-dd'; the time format is getting initialized.
    SQL> CREATE OR REPLACE PROCEDURE set_date_format
    2 AS
    3 BEGIN
    4 Execute Immediate 'ALTER SESSION SET NLS_TIMESTAMP_FORMAT = ''YYYY.MM.DD HH24:MI:SS''';
    5 END set_date_format;
    6 /
    Procedure created.
    SQL> insert into sili values('2003-05-23');
    insert into sili values('2003-05-23')
    ERROR at line 1:
    ORA-01843: not a valid month
    SQL> insert into sili values('2003-jan-23');
    insert into sili values('2003-jan-23')
    ERROR at line 1:
    ORA-01843: not a valid month
    SQL> insert into sili values('23-jan-2005');
    1 row created.
    SQL> ALTER SESSION SET NLS_TIMESTAMP_FORMAT = 'yyyy-mm-dd';
    Session altered.
    SQL> insert into sili values('2003-05-23');
    1 row created.
    SQL> insert into sili values('2003-jan-23');
    1 row created.
    Thanks & regards
    Dinny

  • Help needed in creating a mail object

    Hi,
    is there any option to create a mail objcet in jsp ???
    i.e. the equivalent code to this asp object :
    Set myMail = CreateObject("CDONTS.NewMail");
    regards,
    ashvini

    Check out the JavaMail API. It is part of the Enterprise Edition, but I believe you can also download it seperately.

  • Help needed with String formatting

    Hi there,
    I have this string
    /C:/Documents%20and%20Settings/sickboy/workspace/Take%20A%20Note/bin/deployment/TOC.htmlI managed to get the last field with this
    file = ViewClass.getEditorPane().getPage().toString().substring(ViewClass.
                            getEditorPane().getPage().toString().lastIndexOf('/') +
                            1);which gives me TOC.html
    but finally I need to get also the folder in which this file is contained, which means deployment/TOC.html
    I can't find out how I can do this. Any ides?
    Thanks in advance

    use string.split("/") to pass the string to an array of strings and then get the last 2 elments

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

  • Help needed in Identifying dependent objects

    Hi all,
    Basically I need to identify the object related to Integration which is not there in one of our software product under development as compare to other(existing) already developed so that we can apply them in the product being developed.
    I need to find these below from few of the packages given to me
    &#61550;     dependent packages/functions to read and update data
    1)     Tables
    2)     Packages
    3)     Triggers
    4)     Views
    5) Jobs
    I would request you to help me in carrying out this faster, I have plsql Developer tool, how to start with so that i m not mess up with and complete it faster.
    Regards,
    Asif.

    Thankx Pierre Forstmann.
    Dear All,
    Can any one help me in identifying all dependent objects for one object.
    Will this works for me I found from the above link provided,
    as for the time being I do not have the dba priviliges...
    If I am able to get the dba prviliges will this code works for me to get the
    required information....
    Regards,
    AAK.
    SQL>
    create or replace type myScalarType as object
    ( lvl number,
    rname varchar2(30),
    rowner varchar2(30),
    rtype varchar2(30)
    Type created.
    SQL> create or replace type myTableType as table of
    myScalarType
    Type created.
    SQL>
    SQL> create or replace
    function depends( p_name in varchar2,
    p_type in varchar2,
    p_owner in varchar2 default USER,
    p_lvl in number default 1 ) return myTableType
    AUTHID CURRENT_USER
    as
    l_data myTableType := myTableType();
    procedure recurse( p_name in varchar2,
    p_type in varchar2,
    p_owner in varchar2,
    p_lvl in number )
    is
    begin
    if ( l_data.count > 1000 )
    then
    raise_application_error( -20001, 'probable connect by loop,
    aborting' );
    end if;
    for x in ( select /*+ first_rows */ referenced_name,
    referenced_owner,
    referenced_type
    from dba_dependencies
    where owner = p_owner
    and type = p_type
    and name = p_name )
    loop
    l_data.extend;
    l_data(l_data.count) :=
    myScalarType( p_lvl, x.referenced_name,
    x.referenced_owner, x.referenced_type );
    recurse( x.referenced_name, x.referenced_type,
    x.referenced_owner, p_lvl+1);
    end loop;
    end;
    begin
    l_data.extend;
    l_data(l_data.count) := myScalarType( 1, p_name, p_owner, p_type );
    recurse( p_name, p_type, p_owner, 2 );
    return l_data;
    end;
    Function created.
    SQL>
    SQL> set timing on
    SQL>
    SQL> select * from table(
    cast(depends('DBA_VIEWS','VIEW','SYS') as myTableType ) );
    ---select * from table(cast('USER_VIEWS') as myTableType ) );
    LVL     RNAME          ROWNER          RTYPE
    1     DBA_VIEWS     SYS               VIEW
    2     TYPED_VIEW$ SYS               TABLE
    2     USER$          SYS               TABLE
    2     VIEW$          SYS               TABLE
    2     OBJ$          SYS               TABLE
    2     SUPEROBJ$ SYS               TABLE
    2     STANDARD SYS               PACKAGE
    7 rows selected.
    Elapsed: 00:00:00.42
    SQL>
    SQL>
    SQL> drop table t;
    Table dropped.
    Elapsed: 00:00:00.13
    SQL> create table t ( x int );
    Table created.
    Elapsed: 00:00:00.03
    SQL> create or replace view v1 as select * from t;
    View created.
    Elapsed: 00:00:00.06
    SQL> create or replace view v2 as select t.x xx, v1.x yy from
    v1, t;
    View created.
    Elapsed: 00:00:00.06
    SQL> create or replace view v3 as select v2.*, t.x xxx, v1.x
    yyy from v2, v1, t;
    View created.
    Elapsed: 00:00:00.07
    SQL>
    SQL>
    SQL> select lpad(' ',lvl*2,' ') || rowner || '.' || rname ||
    '(' || rtype || ')' hierarchy
    2 from table( cast(depends('V3','VIEW') as myTableType ) );
    HIERARCHY
    OPS$TKYTE.V3(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V1(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V2(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V1(VIEW)
    OPS$TKYTE.T(TABLE)
    8 rows selected.
    Message was edited by:
    460425

Maybe you are looking for

  • How to use Zebra print chinese in a label?

    Hi Everyone, I got a problem in printing chinese in a label.Also i have download zebra fonts and test two of them.But it seems not work.Should i upload a specific font by se73? Or use any command to control this? thanks advance. Andy Lee.

  • Number Precision in Materialized View

    Hey, I have created several materialized views with multiple fields of data type number. I would like to have those number fields created with max length 5 and precision 0 (no decimal places). I am thinking that each of those database fields will the

  • Outbound Check Print Template

    Hi All, We have requirement like don't want print checks in oracle, just process the payment, generate the document number(check number) in oracle and send the data file to third party system. It takes care the check printing. For this I developed Et

  • Width of Textfield

    Hello, I'm using Netbeans 6.1 with the bundled Glassfish. I'd like to define the width of a textfield with the width-property of a CSS-style. But this is totaly ignored. And when I delete the "column"-property it is treated as if I defined "column=20

  • Need field for delivery status

    Dear Friends,      I want a field for checking whether delivary opened or completed? Is there any such field available with LIKP table? Regards, Bhavin