WSDL Error : Difficult in reading one record from server

Hi,
I have an issue with WSDL. i have imported the wsdl and getting the results in flex. Now when i am trying to import only one record from wsdl its throwing an error. Please any help is appreciable.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Components::References/ResultHandler()[E:\Project_Modified\05_10_2010\LawPadPDA\src\Compo nents\References.mxml:87]
    at Components::References/__lawPadServicesDAOPort_result()[E:\Project_Modified\05_10_2010\La wPadPDA\src\Components\References.mxml:19]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.fiber.services.wrapper::AbstractServiceWrapper/http://www.adobe.com/2008/flex/model/internal::propagateEvents()[C:\depot\DataServices\bra nches\lcds_modeler101\frameworks\projects\fiber-swc\src\com\adobe\fiber\services\wrapper\A bstractServiceWrapper.as:200]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractService/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\A bstractService.as:333]
    at mx.rpc.soap.mxml::WebService/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\ rpc\soap\mxml\WebService.as:267]
    at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.0.0\frameworks\pro jects\rpc\src\mx\rpc\AbstractOperation.as:254]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\4.0.0\frameworks\projec ts\rpc\src\mx\rpc\AbstractInvoker.as:318]
    at mx.rpc::Responder/result()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:5 6]
    at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:84]
    at DirectHTTPMessageResponder/completeHandler()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\ messaging\channels\DirectHTTPChannel.as:446]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
Thanks and Regards,
Pradeep

The Flex forum is here:
http://forums.adobe.com/community/flex
This one is just for discussions on the forums themselves.

Similar Messages

  • Reading one line from a text file into an array

    i want to read one line from a text file into an array, and then the next line into a different array. both arays are type string...i have this:
    public static void readAndProcessData(FileInputStream stream){
         InputStreamReader iStrReader = new InputStreamReader (stream);
         BufferedReader reader = new BufferedReader (iStrReader);
         String line = "";          
         try{
         int i = 0;
              while (line != null){                 
                   names[i] = reader.readLine();
                   score[i] = reader.readLine();
                   line = reader.readLine();
                   i++;                
              }catch (IOException e){
              System.out.println("Error in file access");
    this section calls it:
    try{                         
         FileInputStream stream = new FileInputStream("ISU.txt");
              HighScore.readAndProcessData(stream);
              stream.close();
              names = HighScore.getNames();
              scores = HighScore.getScores();
         }catch(IOException e){
              System.out.println("Error in accessing file." + e.toString());
    it gives me an array index out of bounds error

    oh wait I see it when I looked at the original quote.
    They array you made called names or the other one is prob too small for the amount of names that you have in the file. Hence as I increases it eventually goes out of bounds of the array so you should probably resize the array if that happens.

  • Read one record at a time

    Hi !
    One of our Java folks here need at function where he reads one record at at time in id order;
    create table url_recs (id number, url varchar2(4000));
    insert into url_recs values(1,'www.fona.dk');
    insert into url_recs values(2,'www.dr.dk');
    insert into url-recs values(17,'www.ihk.dk');
    select read_rec() from dual; - get id 1
    select read_rec() from dual; - get id 2
    select read_rec() from dual; - get id 17
    select read_rec() from dual; - get id 1 - "no more rows - start all over again)
    select read_rec(45) from dual; - get NULL (no rows with that id)
    select read_rec(1) from dual; - get id 1
    The purpose id for some "round robin" trying to get to some internal URL's.
    Can you give me a hint for creating the function(s)
    best regards
    Mette

    Will successive calls come on the same Oracle session? Or across different Oracle sessions?
    If you're going to call the function multiple times within the same Oracle session, you could store the last value returned in a package variable and select the record whose ID is greater than that value every time the function is called. That's unlikely to do exactly what the Java developer is hoping, though, because the Java calls are likely to bounce between multiple Oracle sessions due to connection pooling. And it'll likely require that the Java developer (or app server admin) adds some code when they get a connection from the pool where they reset the package state. Or it'll require that someone develop a method to keep the Java and Oracle session state in sync.
    Justin

  • How do you return back one record from a NamingEnumeration

    how do you return back one record from a For Loop issue
    Posted: Jan 4, 2007 9:13 AM Reply
    I have the following piece of code and i want to be able to just return one item...
    that is return e.next(); but this line doesnt work for below what is wrong
    if (attrs == null) {
    System.out.println("No attributes");
    } else {
    /* Print each attribute */
    for (NamingEnumeration ae = attrs.getAll();
    ae.hasMore();) {
    Attribute attr = (Attribute)ae.next();
    System.out.println("attribute: " + attr);
    /* print each value */
    for (NamingEnumeration e = attr.getAll();
    e.hasMore();){
    System.out.println("value:- " + e.next()));
    return e.next();
    }

    At the end of the loop, the NamingEnumeration has no more elements. You need to call getAll() again.
    By the way, please use code tags (above the posting box). You've been here long enough to know that (judging by your registration date).

  • How to read the records from VO

    hi
    How to read the records from VO and after reading the records the selected records has to be save to DB thru other VO
    help me out

    hi,
    its a custom one i am creating
    Select C.Name, A.Primary_Flag, , B.Comments, B.ATTRIBUTE_CATEGORY, B.ATTRIBUTE1, B.ATTRIBUTE2
    FROM XXVOC_CSD_PRIME_DIAG_CODES_B A, XXVOC_CSD_PRIME_DIAG_CODES_TL B, CSD_DIAGNOSTIC_CODES_TL C, CSD_RO_DIAGNOSTIC_CODES D
    Where A. RO_DIAGNOSTIC_CODE_ID = D. RO_DIAGNOSTIC_CODE_ID
    AND A. RO_DIAGNOSTIC_CODE_ID = B. RO_DIAGNOSTIC_CODE_ID
    AND C.DIAGNOSTIC_CODE = D.DIAGNOSTIC_CODE
    AND A.REPAIR_LINE_ID = :1
    UNION
    SELECT C.NAME, ‘’, ‘’, ‘’,’’,’’
    FROM CSD_DIAGNOSTIC_CODES_TL C, CSD_RO_DIAGNOSTIC_CODES D
    WHERE C.DIAGNOSTIC_CODE = D.DIAGNOSTIC_CODE
    AND D.REPAIR_LINE_ID = :1
    from above query i have to select attributes and set it in the EO based VO
    Edited by: Naveenapps on Feb 22, 2009 10:36 PM

  • Error while reading a file from server

    Mine is 9i database and 11.5.10.2 oracle apps server
    I am trying to read PDF file from server, I used the below code
    l_bfile:=bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out');
    if DBMS_LOB.FILEEXISTS(l_bfile) = 1 then
    dbms_output.put_line( 'Exists!');
    dbms_output.put_line(dbms_lob.getlength(l_bfile));
    else
    dbms_output.put_line( 'Not Exists!');
    end if;
    i used forward slashes (/) instead of backward slashes (\) too and i also made dbms_output.put_line(to_char(dbms_lob.getlength(l_bfile)));
    while using dbms_log package , i got the below error .I am bit worried since I have created directory and gave sufficicent priviliges too.
    Error report:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01460: unimplemented or unreasonable conversion requested
    ORA-06512: at "SYS.DBMS_LOB", line 485
    ORA-06512: at line 24
    I am sure bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out') is give BFILE which is empty.
    Can you please suggest me what I can do to move further? what kind of priviliges it requires to point and read the file from server?
    Please help me in this.
    Thanks in advance

    I suspect you are not using a directory object is the problem.
    Here is the formal description of bfilename
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/functions12a.htm#SQLRF00610
    Sybrand Bakker
    Senior Oracle DBA

  • Raw Read Error Rate, Errors occurred while reading raw data from a disk

    hi
    when I turn my pavilion dv6 2170ee computer on screen shows below error.
    system diognostics (F2) does not any work
    and when my windows7 comming up this error was shown.
    I install Hard Disk Sentinel software and this program shows below:
    Failure Predicted - Attribute: 1 Raw Read Error Rate, Errors occurred while reading raw data from a disk. Indicate problem with the disk surface or the read/write heads.
    There are 28 weak sectors found on the disk surface. They may be remapped any time in the later use of the disk.
    26848 errors occured during data transfer. This may indicate problem of the device or with data/power cables. It is recommended to examine and replace the cables if possible.
    Replace hard disk immediately.
    how can I fix it?
    may drive format (Fdisk) and renewing windows can fix it?
    tanx and regards
    Mohammad

    Hello mohkhosh,
    I see that you're getting an error indicating possible hard driver failure, that you have this message from 3 different sources. I will try to help you with this.
    After reviewing everything  you're looking at needing to replace the hard drive. I would suggest contacting support to see what they can do for you.
    HP Technical Support, North America 1-800-474-6836. For all other regions click here.
    Thank you for posting on the HP Forums.
    I worked on behalf of HP.

  • Web Matrix FTP Remote Connection Error - "Connection Error - Failure to get file list from server. An entry with the same key already exists."

    Does anyone have experience with this issue when connecting to a Linux FTP Web Server running a FTP Site?
    "Connection Error - Failure to get file list from server. An entry with the same key already exists."
    I cannot access the root directory of the ftp file server using Web Matrix 3. The site is .php based, and
    is accessible when connecting with FileZilla or Remote Connecting via FTP with Visual Studio.
    All sites have been deleted from Web Matrix, the user Application Data has been cleared and Web Matrix has been reinstalled.
    Issue Persists....
    Thanks in advance,
    Justin

    Turns out that the program leaves metadata in your app data folder that is not removed upon uninstallation of the software.
    This is incorporated to communicate with a file that uploaded into the ftp directory when publishing pages.

  • How can i transfer more than one file from server to client

    Hi,
    our requirement is transfer more than one files from server to client using the
    webutil_file_transfer.as_to_client_with_progress.One file transfer is already working in our system.If anybody know the solution please inform
    regards
    mat

    just an idea ...
    for this purpose let us put aside security concerns and other potential problems....
    -- Get the content of a server directory with Filter and create zip file
    1) create a class that implements java.io.FilenameFilter ...
    2) define accept() method ...
    3) call File.list() with the filter as a parameter. The returned array of strings will have all the names that passed through the accept() filter
    4) use java.util.Zip to create ZIP file on the server side
    -- I think it is better to create this functionality as a separate Java class, put it in required folder and after it
    -- use Forms->Program->"Import Java class" to create pl/sql wrappers, than to create wrappers for all classes and code in pl/sql
    5) use webutil to transfer file on the client
    6) use Java on client side to unzip transferred file
    if you think this is not too complicated, you should try ...
    Regards,
    Vladimir

  • One record from AD DNS does not transfer

    I have AD DNS to Novell DNS transfer setup (AD primary, Novell NW 6.5.8 DNS
    secondary)
    It works fine, but one record does NOT get transfered
    I deleted the .jnl file for the zone
    unloaded/reloaded named
    used -zi zonename but the record is still not there and in addition the .jnl
    did NOT get re-created
    No idea what else to do
    Oct 05 09:18:58.000 general: dns/zone: debug 1: zone brookgreen.local/IN:
    Loading from eDirectory
    Oct 05 09:18:58.000 general: dns/zone: debug 1: zone brookgreen.local/IN:
    loaded
    Oct 05 09:18:58.000 general: dns/db: debug 1: Unable to open file
    brookgreen.local.db.jnl
    Oct 05 09:18:58.000 general: dns/zone: debug 1: zone brookgreen.local/IN:
    journal rollforward completed successfully: no journal
    Oct 05 09:18:58.000 general: dns/zone: info: zone brookgreen.local/IN:
    loaded serial 266
    Seb

    I also get this daily:
    error: transfer of 'brookgreen.local/IN' from 10.0.0.14#53: failed while r
    eceiving responses: not exact
    Seb
    "Sebastian Cerazy" <sebastian.cerazy@(nospam)spgs.org> wrote in message
    news:uYUiq.6004$[email protected]..
    >I have AD DNS to Novell DNS transfer setup (AD primary, Novell NW 6.5.8 DNS
    >secondary)
    >
    > It works fine, but one record does NOT get transfered
    >
    > I deleted the .jnl file for the zone
    >
    > unloaded/reloaded named
    >
    > used -zi zonename but the record is still not there and in addition the
    > .jnl did NOT get re-created
    >
    > No idea what else to do
    >
    > Oct 05 09:18:58.000 general: dns/zone: debug 1: zone brookgreen.local/IN:
    > Loading from eDirectory
    > Oct 05 09:18:58.000 general: dns/zone: debug 1: zone brookgreen.local/IN:
    > loaded
    > Oct 05 09:18:58.000 general: dns/db: debug 1: Unable to open file
    > brookgreen.local.db.jnl
    > Oct 05 09:18:58.000 general: dns/zone: debug 1: zone brookgreen.local/IN:
    > journal rollforward completed successfully: no journal
    > Oct 05 09:18:58.000 general: dns/zone: info: zone brookgreen.local/IN:
    > loaded serial 266
    >
    >
    > Seb
    >
    >

  • Need to return only one record from select statement.

    Hello friends,
    I have a scenerio in which code only want to fetch one value from the SQL statement, but in some cases the statment return more then one row due to which ORA-01422 : Exact fetch return more then one row, error comes.
    Can you suggest me to write a select statement that will handel this. I am using the below mentioned select statement:
    EXECUTE IMMEDIATE
    'SELECT rsdn FROM ' || schema || '.table_name' ||
    ' WHERE a = :1 AND b = :2 AND c IN (32,33,34)'
    INTO v_rsdn USING v_a, v_b;
    One question, Can I use Rownum < 2 in Where clause to restrict the select output to only one record ? Please suggest ?
    Regards,
    Rajat

    Well, if rownum=1 could be a trash answer, it would be an issue since we don't know which record you are interested to. Is it one particular ? Is it only to workaround the issue ? Then you may want to manage some BULK COLLECT or whatever else array to receive all the rows as well.
    What are you doing with the rows returned ?
    Nicolas.

  • Record Store only reads one record problem

    I have a problem where I can read and write a record to a records store, but i can not do this for multiple records as i am trying with below code. Any help is very welcomes thank you, I am very new to J2ME.
    I have a J2ME midlet that calls the startRecordStore() method which create a record 1.
    It uses a static int records and it increments it every time a new recordstore is created, well I am not entirely sure if i need to do this. Because I want to go through all the records created.
    public void startRecordStore() {
         // Incremenets records count
         // Temporary example for this workshop only
         records+=1;
         try { rs = RecordStore.openRecordStore("StudentStore"+records+"", true);
         catch (Exception err) {
              Alert alr = new Alert("Error Creating", err.toString(), null, AlertType.WARNING);
              alr.setTimeout(Alert.FOREVER);
              display.setCurrent(alr);
    }Then it calls the readData() method which reads the data from the 3 fields, something like this
    for(int i=0;i<count;i++) {
              ods.writeUTF(ReadDataString);
              ods.writeUTF(ReadDataString[i+1]);
              ods.writeInt(ReadDataInt[i]);
              ods.flush();
              // Put the whole write stream to a byte
              ReadDataByte = os.toByteArray();
              // finally add the fetchDataType to to a record store
              rs.addRecord(ReadDataByte, 0, ReadDataByte.length);
         os.reset();
         os.close();
         ods.close();
    Then the WriteData() method is called displaying the records
    PROBLEM it only displays the last record, instead of more then one record.
    eg. StudentStore1, StudentStore2 etc etc ..
    // create record enumerator referrence to the instance
         re = rs.enumerateRecords(null,null,false);
         // go through each records using enumerator
         while(re.hasNextElement()) {
              rs.getRecord(re.nextRecordId(), ReadInputData, 0);
              buffer.append(ids.readUTF());
              buffer.append("\n");
              buffer.append(ids.readUTF());
              buffer.append("\n");
              buffer.append(ids.readInt());
              buffer.append("\n");
              Alert alr = new Alert("Currently Reading", buffer.toString(), null, AlertType.WARNING);
              alr.setTimeout(Alert.FOREVER);
              display.setCurrent(alr);
         // CLOSE INPUT STREAM
         is.close();Any idea thanks guys

    public void startRecordStore() {
        records+=1;
        try {
            rs = RecordStore.openRecordStore("StudentStore"+records+"", true);
        }Are you sure this is what you want to do?
    I don't know where you're calling startRecordStore(), but you're creating a new record store for each "records".
    Shouldn't you be just opening the record store "StudentStore", and them adding records to that store?
    jc

  • How to read some records from a text file into java(not all records)

    hello,
    how to read text files into java. i need only few records from the text file not all records at a time.
    If any one knows plz reply me
    my id is [email protected]

    this snipet reads a text file line by line from line 1 to 3
    try {
                  FileReader fr = new FileReader(directory);
                  BufferedReader br = new BufferedReader(fr);
                  int counter = 0;
                  while ((dbconn = br.readLine()) != null) {
                      switch(counter){
                          case 0:
                            status = dbconn;
                          break;
                          case 1:
                            userName = dbconn;
                          break;
                          case 2:
                            apword = dbconn;
                          break;
                      counter++;
                  br.close();
        }catch(IOException e){
        }

  • I am getting only one record from table data

    Hi Experts,
    I am using interacive forms to bring the table data i used  GET_STATIC_ATTRIBUTES_TABLE
    method. initially the table is empty when i fill some records more than one it is giving me only one record.
    where as i fill the table in wddoinit more than one record and try to retreived it, showing all the records more than one. waht is the reason.. if i fill manually why it is not bringing all the reocrds.
    i have used the cardinatly as follows
    1. parent node(no tables/structure used)
    Dictionary structure       empty not used
    Cardinality 1..1
    Selection 0..1
    Initialization Lead Selection  Checked
    Singleton    Not checked
    Supply Function  not used
    2. table node(i used table type)
    Dictionary structure    SFLIGHT_LIGHT
    Cardinality 1..n
    Selection 0..n
    Initialization Lead Selection  Checked
    Singleton    Not checked
    Supply Function  not used
    Pleae help me out...
    Thanks,
    Mahesh.Gattu

    hi,
    Use the following code for making the rows editable for a table UI element.
      DATA lo_nd_cn_try TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_try TYPE REF TO if_wd_context_element.
      DATA ls_cn_try TYPE wd_this->element_cn_try.
      DATA ls_cn_try1 TYPE wd_this->elements_cn_try.
    navigate from <CONTEXT> to <CN_TRY> via lead selection
      lo_nd_cn_try = wd_context->get_child_node( name = wd_this->wdctx_cn_try ).
    do 5 times.                       
    clear ls_cn_try.
    append ls_cn_try to ls_cn_try1.
    lo_nd_cn_try->bind_table( ls_cn_try1 ).
    enddo.
    ->  cn_try is the node which is binded with the Table UI element.
    What all this is called as initialization of table. This code will make 5 rows editable, If u want more rows editable then run the loop according to the requirement.
    U can write this code in the WDDOINIT.
    Thanks,
    Pankaj Aggarwal.

  • ESS: Error while creating Family/Dependents record from portal

    Hi All,
    I'm getting a critical error while creating family members and dependents record from portal.
    CRITICAL ERROR
    "Type conflict in the ASSIGN statement in the program CL_HRPA_CONVERT_0021_US=======CP        ., error key: RFC_ERROR_SYSTEM_FAILURE"
    I checked the short dump in R/3 Side and searched for OSS note and didnt find any. I raised an OSS message.
    If any had've already comeacross this, pls let me know.
    System Details
    EP 6.0 SP15
    ESS Business Package BPERP4ESS0_0
    ESS Support Package  ESS10P_2-10002965, PCUIGP010P_1-20000568
    Thanks
    Karthik

    Hello Karthik:
    I'm getting the same error:
    "critical error while creating family members and dependents record from portal.
    Type conflict in the ASSIGN statement in the program CL_HRPA_CONVERT_0021_US=======CP ., error key: RFC_ERROR_SYSTEM_FAILURE"
    Maybe you can help me solving this problem.
    I appreciate your help.
    Thanks in advance.

Maybe you are looking for

  • In BDC programming how can we maintain date field

    hello all In BDC programming how we will deal with date field? In my flat file my date field format is different from the sap date field format. how can we deal this?

  • Why paper sizes limited?

    I am viewing www.lynda.com online training for Pages. About 1/3 of the way into the tutorial on document setup, he shows the options available under Page Setup in paper sizes. The sizes that he shows available are much broader (his Pages app. shows a

  • Browser curser default to search box not address box

    Often when using the browser and tapping for top for the search box, the curser starts in the URL/ IP box by default. Most annoying when you type in your search words only to have to redo the entry in the search box because, it thought you were wanti

  • N80 Wifi

    Hi, I seem to have problem in connecting the N80 to a Cisco AP 1232 wireless Access Point. Can't even scan and locate the AP at all from the N80. However when I use another Access Point (Linksys WRT54G) , i was able to connect the N80 with it. Both t

  • Upgrade to ios 5 fails at restore.  Iphone is stuck in recovery

    downloaded the most recent ios through a connection with most up to date iTunes, the process is good until connecting for restore.  The progress bar gets most of the way accross and then just stops.  I even left the iPhone connected to the computer o