WaitFor() hangs if output from child process is bigger than few lines.

I'm using j2sdk1.4.1_01.
it seems like the bug which was reported many times, but supposed to be fixed in current version.
any ideas, sugesstions?
is there any way to change the size of the buffer?

Coincidence? It should be 4096, actually - the size of the I/O buffer.
Runtime.exec() gives you a handle to a process. You have to spawn a couple of threads to read the standard output and standard error of the process, or the process will hang after filling the output pipe, which is usually 4K.

Similar Messages

  • Input and output from child process

    Hi all,
    I am developing an IDE for the Haskell functional programming language. The application runs the Haskell interpreter as child process, and sends and receives input from the interpreter. At the moment I'm programming the integrated console through which the IDE should communicate with the interpreter. The problem is that when I send a command to the interpreter to execute the code I can't detect when the code is running and when it waits for input, so I'll be able to dissable and enable input in the the console respectivly. Please answer as soon as possible, and if my explanation of the problem is not clear enough please just comment about it. Thank you in advance.

    Generally the way I have seen that sort of things designed is like this: You have a script in mind. For example:
    1. Send command "ABC DEF" to the interpreter.
    2. Wait until it responds with "OK" or "Failed".
    3. If it responded with "Failed" then quit.
    4. Send command "XYZ XYZ" to the interpreter.
    5. ... and so on
    You can do this in simple or complicated ways, of course. But if you can't do it, then you're going to find it difficult to do anything at all. For example you won't know when the interpreter is waiting for input (that seems to be your problem already).

  • Getting output from a process

    hi friends and gurus!
    can somebody give me actuall working code to get the
    output from a process let's say Process p=Runtime.exec("cmd c/ dir c:"); in windows,
    and stores the output in a textfile let's say out.txt.
    please give me the java code and not hints!
    any effort to help me will be highly appreciated.
    Thanx in advance!
    sparya.

    import java.io.File;
    import java.io.FileReader;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.FileNotFoundException;
    class read{
    public static void main(String[] args){
    String data=""
      try{
       BufferedReader reader=new BufferedReader(new FileReader(new File(args[0])));
       while((data=reader.readLine())!=null){
        System.out.println(data);
      catch(FileNotFoundException fnfe){
       System.out.println("cant find file "+args[0]);
      catch(IOException ioe){
       System.out.println("cant read file "+args[0]);
    }to use type java read filename (including path if you need it)
    hint, type java read read.java (cool, its nearly a palindrome)

  • Rippling waves in DVD output from rendering process? Has anyone seen this?

    I have created a new project within Premiere Pro CS3. I have imported in about 300 still photos to create a DVD slide show mixed with some movie footage from one avi file. The following are the specs of the stills:
    1. Each still was scaled down to 1440X960 in size within Photoshop CS3. None of the images were scaled up.
    2. I disabled Premiere from resizing the images during import process so that I can setup panning and zooming each image.
    3. I added all images to my timeline with a 6 second delay.
    4. I then setup all even images to start at %size of 50% and then zoom out to 100% using keyframes.
    5. I then setup all odd images to start panning from left to right, during the 6 seconds they are displayed, with the image %size of 75%
    I then added music to the audio track and then exported as a Movie, which created an avi file.
    I then imported this avi file into Encore and created my final DVD, which is only about 30 minutes long.
    I gave a copy to a friend, and when he attempted to view the movie on his MAC and then his PC running XP, he reported that he was seeing rippling waves throughout the video. He explained them to look kind of like heat waves that you would see coming off hot asphalt. Which this cause the image to be somewhat distorted. When he placed the DVD in his home TV dvd system and it displayed on his TV, the results were much better, but you can still see a little of those waves. I also see a little of those waves on my new dvd player attached to my High Def TV.
    My questions tho this group are:
    1. What causes these waves to appear?
    2. How to get rid of them and make the video more high resolution looking?
    Thank you all for your help.
    Rick

    > What causes these waves to appear
    Interlacing.
    > 2. How to get rid of them and make the video more high resolution looking?
    Use progressive frames for computer playback. Or set up your PC's DVD software to deinterlace DVDs on playback (quality may vary).
    You can also apply the "anti-flicker" settings in Premiere's motion to soften it a bit.

  • SQ01 Output From Joining VBSEGK and VBSEGS tables-1 line of output per DOC

    I setup a query using SQ01 which uses tables VBSEGK and VBSEGS ( parked documents).   The VBSEGS table has multiple lines per document in that there are multiple G/L accounts, cost centers and amounts in order to distribute expense acorss multiple cost centers from one vendor's invoice.     When I execute the query only the first line item in the VBSEGS table appears and the remaining lines do not appear.    Any insight to get all line items for each document from the VCSEGS table to appear will be appreciated.

    Hi,
    By default four links will be established between VBSEGK and VBESGS.
    AUSBK
    BELNR
    GJAHR
    BZKEY (This link should be removed for getting all the records)
    However, you get the line items only if documents exist in both the tables.  Apart from that, if two line items in one table and three line items in another table, you will get only three line items in the report.  You need to select fields related to VBSEGK and VBSEGS tables.
    Please provide me more information on your exact requirement.  I can confirm you whether this  is possible by way of query.
    Best Regards,
    Madhu

  • MOVED: New card returned from RMA process, even worse than the first

    This topic has been moved to MSI Video Cards.
    https://forum-en.msi.com/index.php?topic=160823.0

    that looks like neerly every faulty GTX 570 ive ever seen, looks like you have got a faulty unit all together! its not limited to MSI its with all 570 units.
    seems like Nvidia have made some very defective gpu's in the gtx 570 series of graphics cards that fail very easily! i would rma the card again as that looks so bad!
    i know you PSU is perfectly good as its a TX750m and that has more then enougth!
    you have been very unlucky with the graphics card. if the next rma comes back as just as bad i would get another gpu thats not a GTX 570

  • How to get child process instance id from main process

    Hi All,
    I have a main process invoiking a child process 1 and child process 1 inturn calling child process 2.Is there any way to get the child process 2 instance id from main process or main process instance id from child process 2.. Using tree finder in BPEL Control i can find the direct sub process(child 1) instance id from the main process instance. Is it possible to trace Sub process 2 instance id without going for the instance detail of sub process 1.
    Thanks in advance
    ChitraDevi

    you could easily derive this from the bpel cube_instance table. using cikey and parent_id columns. you can use IInstanceMetaData javadoc, it has method called getParentId( ) to get the id. you can get the root id (instance-id of the main bpel process instance) using getRootId( ). you can checkout this blog.
    http://tech-sash.blogspot.com/2008/04/oracle-soa-suite-retrieving-process.html

  • How to Get the Parent Process ID from Child BPEL Process

    Hi All,
    We have a requirement to get the Parent BPEL Process ID from Child BPEL Process. One way is we can pass the Parent BPEL process ID from Parent BPEL Process to Child BPEL process. Is there any standard function available to get the Parent BPEL process ID from Child Process?
    P.S: We are using BPEL 10.1.3 Version.
    Please share any info on this.
    Thanks in Advance,
    Saravana

    Hi Saravana,
    The existing methods in 10.1.3x allow a following (a bit of a convoluted way):
    In a BPEL Java embedding activity, you can use the following code to get the parentProcessname:
    String parentInstanceId = getParentId();
    String parentProcessname = getLocator().locator.lookupInstance(parentInstanceId).getProcess().getProcessId().getProcessId();Hope this helps,
    Regards,
    Shanmu
    http://www.prshanmu.com/articles/

  • Redirecting output from plink

    I am currently trying to write a function that runs plink and captures the output from that process.  When I try StandardOutput I get nothing and when I try StandardError I get "Unable to read from standard input: The handle is invalid."  I can only assume that this means I am trying to read while plink is waiting for input.  I am also passing my command via a text file called apCommands.txt.  When I run this command manually it works and gives me the required output, I just can't figure out why I can't redirect that output so I can store it in a results file.  Here is the code I have right now.
    string pArgs = "-m \"" + ABSPATH + "\\apCommands.txt\" -ssh myHost -l user -pw password";
    string output;
    if (File.Exists(ABSPATH + "\\apTest.txt"))
    File.Delete(ABSPATH + "\\apTest.txt");
    StreamWriter apTest = new StreamWriter(ABSPATH + "\\apTest.txt");
    Process runAP = new Process();
    ProcessStartInfo apInfoStart = new ProcessStartInfo(ABSPATH + "\\plink.exe");
    apInfoStart.Arguments = pArgs;
    apInfoStart.RedirectStandardOutput = true;
    apInfoStart.CreateNoWindow = true;
    apInfoStart.UseShellExecute = false;
    runAP.StartInfo = apInfoStart;
    runAP.Start();
    output = runAP.StandardOutput.ReadToEnd();
    runAP.WaitForExit();
    apTest.WriteLine("Standard Output");
    apTest.WriteLine(output);
    apTest.Close();
    runAP.Close();
    Thanks,
    Joe

    I see.  I wasn't aware that it wasn't a reliable way to connect to ssh.  As for the error message that was from standardError.  I think the process may have been waiting for input when I was trying to read from StandardOutput and thats why I got that error message.  Also instead of redirecting StandardOutput I tried redirecting the output directly into a file by running a cmd process and passing the commands I wanted to run through StandardInput.  The underlined section is all I changed besides running this inside of a cmd process.  This did work for me but I would rather know how to do it using StandardOutput. 
    string dArgs = "cd \"" + ABSPATH + "\"";
    string pArgs = "plink -ssh myHost -m \"" + ABSPATH + "\\apCommands\" -l user -pw password > test.out";
    Process runAP = new Process();
    ProcessStartInfo apInfoStart = new ProcessStartInfo("cmd");
    //apInfoStart.Arguments = pArgs;
    apInfoStart.RedirectStandardInput = true;
    apInfoStart.RedirectStandardOutput = true;
    apInfoStart.CreateNoWindow = true;
    apInfoStart.UseShellExecute = false;
    runAP.StartInfo = apInfoStart;
    runAP.Start();
    runAP.StandardInput.WriteLine(dArgs);
    runAP.StandardInput.WriteLine(pArgs);
    I haven't tried reading the StandardOutput from this piece of code, but I will probably try it.
    Thanks,
    Joe

  • Tracing Java Processes that spawns child process

    I hope I'm posting this in the correct group. If not, please let me know where to direct this question:
    In our 12.1.3 Applications, we installed a plugin called 'Org Chart' by Applaud Solutions.  It is a flash component that graphically displays the employee hierarchy of an organizations and is accessed via responsibility.  This tool also has a feature to 'export' the chart as a  Microsoft Word or PowerPoint to the users desktop.  When this occurs, a 'java' process is kicked off on the applications server to process this request.  Now, here's the issue: The performance of this export is terrible!  It takes roughly about 2-3 minutes to complete, and sometimes never completes.  Here is the java process that gets kicked off for one user which i figured out how to run manually:
    [applprod1@aspapp012 ~]$ java -jar OpenOfficeGenerator.jar /u01/applprod1/PROD1/apps/apps_st/appl/xxas/1.0.1/out/orgchart-f78b7a67-a379-4f7d-9dcf-5f13b22e03e4.xml /tmp/ed.pptx docx NameandTitle letter Y normal
    When I kick this off, I'm able to get the linux PID :
    9056
    22523 24779 62 16:21 pts/0
    00:00:06 java -jar OpenOfficeGenerator.jar /u01/applprod1/PROD1/apps/apps_st/appl/xxas/1.0.1/out/orgchart-f78b7a67-a379-4f7d-9dcf-5f13b22e03e4.xml /tmp/ed.pptx docx NameandTitle letter Y normal
    Then, I run an 'strace -f -p 22523' and notice these timeout issues from child processes that is spawns:
    [pid 22524] read(3, "\n", 1)       
    = 1
    [pid 22524] _llseek(3, 18642588, [18642588], SEEK_SET) = 0
    [pid 22524] read(3, "\0", 1)       
    = 1
    [pid 22524] _llseek(3, 18642589, [18642589], SEEK_SET) = 0
    [pid 22536] <... futex resumed> )  
    = -1 ETIMEDOUT (Connection timed out)
    [pid 22524] read(3,  <unfinished ...>
    [pid 22536] futex(0x972b728, FUTEX_WAKE_PRIVATE, 1) = 0
    [pid 22536] gettimeofday({1384208528, 131781}, NULL) = 0
    [pid 22536] clock_gettime(CLOCK_MONOTONIC, {33657710, 707532536}) = 0
    [pid 22536] gettimeofday({1384208528, 131844}, NULL) = 0
    [pid 22536] clock_gettime(CLOCK_REALTIME, {1384208528, 131892000}) = 0
    [pid 22536] futex(0x965d2bc, FUTEX_WAIT_PRIVATE, 1, {0, 49952000} <unfinished ...>
    My question is does anyone know how i can determine what is causing these timeouts?  It seems the java process spawns off child processes and this is where the timeouts are occurring.  Upon further investigation the child processes are throwing the following errors as well:
    futex(0x905f1b4, FUTEX_WAIT_PRIVATE, 67, NULL) = 0
    futex(0x905ed28, FUTEX_WAKE_PRIVATE, 1) = 0
    futex(0x906345c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x9063458, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
    futex(0x905f1b4, FUTEX_WAIT_PRIVATE, 69, NULL) = -1 EAGAIN (Resource temporarily unavailable)
    futex(0x905ed28, FUTEX_WAKE_PRIVATE, 1) = 0
    However, I am unable to determine the cause of the timeout and resource issue. Any ideas or help is greatly appreciated! thanks.

    I would suggest you consult "Applaud Solutions" for this issue.
    Thanks,
    Hussein

  • Child process dies, nfs locks not released, webserver hangs...

    Hi,
    I have Sun One 6.1 sp 11 on a solaris 10 ldom.
    The server is configured to write logs access and error to /logs which is an NFS mount to a separate solaris 10 box. The logging to an NFS mount is a business requirement.
    Sun JWS is configured to have two httpd processes and the watchdog to restart them if one should fail.
    Every now and then, about once a day (it varies), one of the child processes will die with messages like this in the error log: (1949 is the wdog pid)
    [09/Dec/2009:14:19:06] failure ( 1949): CORE3107: Child process closed admin channel
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3061: signal_handler_thread: received signal 18
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3049: Primordial process detected child 1950 died: status 37
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3050: Is our child, will spawn replacement
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3062: Unlinking of /tmp/https-wv2-819e4c2d/.cgistub_1950 returned -1
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3047: Server spawned worker process 2011
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP5169: User authentication cache entries expire in 120 seconds.
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP5170: User authentication cache holds 200 users
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP5171: Up to 4 groups are cached for each cached user.
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP4207: file cache module initialized (API versions 2 through 2)
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP4302: file cache has been initialized
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP3066: MaxKeepAliveConnections set to 256
    [09/Dec/2009:14:19:06] fine ( 2011): Installed configuration 1
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP4193: flex-rotate-init: rotate start time is 0h, 0m
    At this point the webserver will not respond. The processes (2*httpd, 1*wdog) are running but do not respond. The access log shows a weird lock with output from pfiles:
    21: S_IFREG mode:0777 dev:340,10 ino:34988 uid:111 gid:102 size:0
    O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE FD_CLOEXEC
    advisory write lock set by system 0x2 process 280
    which I think means the new http process is waiting for the lock to be released, but the lock is never freed.
    But what I'm really curious about is why the process is dying in the first place. Anyone seen "status 37" before, or know where I can look it up? I couln't google up any reference on what it might mean...
    any help appreciated
    cheers
    Kristin.

    I found the following in http://docs.sun.com/app/docs/doc/816-4555/rfsrefer-134?l=ja&a=view :
    In this situation, the SIGLOST signal is posted to the process. The default action for the SIGLOST signal is to terminate the process.
    For you to recover from this state, you must restart any applications that had files open at the time of the failure. Note that the following can occur.
    - Some processes that did not reopen the file could receive I/O errors.
    - Other processes that did reopen the file, or performed the open operation after the recovery failure, are able to access the file without any problems.
    Thus, some processes can access a particular file while other processes cannot.
    Edited by: Arvind_Srinivasan on Dec 10, 2009 12:33 AM

  • Get complete output from java.lang.Process

    How do I get the complete output from java.lang.Process?
    By the time I've started reading from Process.getInputStream() the process has already terminated...

    I solved the problem:
    private int exec(String pArguments[], OutputStream pOut, OutputStream pErr) throws IOException {
         class ProcessOutputPrinter implements Runnable {
              private InputStream ivIn;
              private OutputStream ivOut;
              public ProcessOutputPrinter(InputStream pIn, OutputStream pOut) {
                   ivIn = pIn;
                   ivOut = pOut;
              public void run() {
                   try {
                        for(int tByte; (tByte = ivIn.read()) != -1; ) {
                             ivOut.write(tByte);
                        ivOut.flush();
                   catch(IOException e) {
                        e.printStackTrace();
         // Start process
         Process tProcess = Runtime.getRuntime().exec(pArguments);
         // Create out printer
         Thread tOutPrinter = new Thread(new ProcessOutputPrinter(tProcess.getInputStream(), pOut), "NamingAdmin out-printer");
         tOutPrinter.start();
         // Create err printer
         Thread tErrPrinter = new Thread(new ProcessOutputPrinter(tProcess.getErrorStream(), pErr), "NamingAdmin err-printer");
         tErrPrinter.start();
         // Wait for process and printers to finish
         try {
              tProcess.waitFor();
              tOutPrinter.join();
              tErrPrinter.join();
         catch(InterruptedException e) {
         // return process exit value
         return tProcess.exitValue();

  • Jre 1.5 waitfor hangs windows xp if output more than 17 lines

    I have seen many postings on the "waitfor" part of an external process. I am too having issues with it. For some reason when there is more than 17 lines of output, "waitfor" hangs. I am executing a simple external command to prove the point. I run the command c:\rundir.bat. All this program does is an "echo hello" multiple times (I alter the number of times to find the threshold).
    Any ideas?
    Code snipit:
    Command is an array of 3
    cmd[0] = "c:\windows\system32\cmd.exe"
    cmd[1] = "/C"
    cmd[2] = "c:\rundir.bat"
    p = Runtime.getRuntime().exec(cmd);
    rc = p.waitFor(); // Hangs forever if more than 17 lines of output.
    if (rc != 0) {
    success = false;
    br = new BufferedReader(new InputStreamReader(p.getErrorStream()));
    else {
    success = true;
    br = new BufferedReader(new InputStreamReader(p.getInputStream()));
    }

    1) Search these forums. This problem has been asked over and over again.
    2) Read the entire System.exec() and java.lang.Process javadoc. The situation you need to prevent is well-documented.
    Briefly put: the error and output streams of the external process must be timely read; failure to do so when executing a process which writes to either or both of these streams can cause deadlock, since writing to a stream may block and the operating system provides limited buffer space for these streams. You will need to use multiple threads.

  • Error message by periodic weekly: No output from the 1 file processed

    Hi there,
    since four weeks, I got a problem with the maintenance script periodic weekly. Up to December 22nd, the script did, what it should do: rebuilding the database of locate and whatis, rotating log-files. Since one week later, I got the error message: No output from the 1 file processed.
    Normally, I use Anacron to do the job. When I noticed the problem, I tried to start the script with Tinker Tool System getting the same result. Another try using the Terminal (sudo periodic weekly) also failed. The commands locate and whatis are working, locate.updatedb and makewhatis also. I'm running 10.4.8; in the past, I did not have such problems. Anyone with an idea or solution?
    Thanks
    Klaus
    MacBook Pro   Mac OS X (10.4.8)  

    Hi Gary,
    here is the output you were asking for:
    Last login: Thu Jan 25 20:03:55 on console
    Welcome to Darwin!
    DeepThought:~ dirk$ sudo /private/etc/periodic/weekly/500.weekly; echo $?
    Password:
    Sorry, try again.
    Password:
    Rebuilding locate database:
    Rebuilding whatis database:
    find: /usr/local/man: No such file or directory
    makewhatis: /usr/share/man/man1/fetchmailconf.1.gz: No such file or directory
    Rotating log files: ftp.log lpr.log mail.log netinfo.log ipfw.log ppp.log secure.log
    access_log error_log
    Running weekly.local:
    Rotating psync log files:/etc/weekly.local: line 17: syntax error near unexpected token `)'
    /etc/weekly.local: line 17: `if [ -f /var/run/syslog.pid ]; then kill -HUP 0 80 79 81 0cat /var/run/syslog.pid | head -1); fi'
    2
    DeepThought:~ dirk$ ls -loe /private/etc/periodic/weekly/500.weekly
    -r-xr-xr-x 1 root wheel - 2532 Jan 13 2006 /private/etc/periodic/weekly/500.weekly
    DeepThought:~ dirk$
    It seems, Rogers idea, PsynX respectively the deficient uninstalling by me is responsible for my problems, is correct. Should I remove the whole file weekly.local or should I only remove the content? I prefer removing the whole file, because it was created while installing PsyncX. The date of creation is the same as the date of installing the app (December 25).
    Klaus
    By the way: it seems to me, the solution of my problem is in sight. So I want to thank you all for the amazing aid I got from you!

  • Bind the output data (Xml) from BPEL process to ADF SelectOneChoice Control

    Hello,
    My requirement is to invoke a BPEL process from ADF page and display returned results in a select one choice (drop down box).
    I have created a Data Control for the BPEL process through Web service data control and tried to invoke the BPEL process. I could see from the BPEL console that BPEL process is getting invoked. But the ADF doesn't bind any of the output to Select one choice.
    It doesn't even show any error.
    Can you plz help me how to bind the output of the BPEL process to ADF SelectOneChoice control.
    The Xml Which I recieve from BPEL process is
    <outputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><DBConnectDemoProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/DBConnectDemo">
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>1</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Assigned</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>2</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Pending</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>3</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Closed</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>4</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Cancelled</toStatus>
    </StatusTrans>
    </DBConnectDemoProcessResponse>
    </part></outputVariable>
    And the toStatus node values viz, Assigned, Pending, Closed, Cancelled should get binded to the SelectOneChoice control
    Waiting for your valuable inputs,
    Regards,
    babloo.

    I have been still trying for the solution. I have modified the XSD created by the jdeveloper to,
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/StateTransitions"
         xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="StateTransitionsProcessRequest">
              <complexType>
                   <sequence>
                   <element name="input" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="StateTransitionsProcessResponse">
              <complexType>
                   <sequence maxOccurs="unbounded">
    <element name="stateChanges">
    <complexType>
    <sequence>
    <element name="fromState" type="string" />
    <element name="toState" type = "string" />
    </sequence>
    </complexType>
    </element>
    </sequence>
              </complexType>
         </element>
    </schema>
    And I have given this XSD url while creating the Web Service Data Control by deploying it into the Oracle App server.
    So, I can see the tree structure of "Return" as "StateTransitionsProcessResponse->StateChanges->toState,fromState"
    I have binded the toState field of the Data Control to the SelectOneChoice ADF control in a jspx page by using List binding editor.
    I have selected,
    Base data source as "Variables" (Currently I don't need to update any table),
    List Data source as "process: getStateTransitions.process.StateTransitionsProcessResponse.stateChanges" (Web Service Data Control)
    Base Data source attribute as "process_input"
    List Data Source Attribute as "toState"
    I can initiate the web service (BPEL process) by providing the necessary input value like 'Open' or 'Pending' or 'Assigned' but the SelectOneChoice control doesn't populate with any values.
    Waiting for valuable inputs!
    Thanks and Regards,
    babloo.

Maybe you are looking for