How to use distinct while using a select that builds xml?

Hi.
Example:
SELECT
XMLELEMENT("Column1" value1
,"Column2" value2
,"Column3" value3
FROM a_table A
Where id_val = x
Imagine that this repeats a same result 4 times. If it was a simple query distinct would work...how can i use distinct with this?
Thanks.
Cheers!

Hi,
what about group by
SQL> WITH A AS(SELECT 1 val1,2 val2,3 val3 FROM dual UNION ALL
  2            SELECT 1     ,2     ,3      FROM dual UNION ALL
  3            SELECT 1     ,2     ,3      FROM dual)
  4  SELECT XMLElement("cols"
  5           ,XMLElement("col1",val1)
  6           ,XMLElement("col2",val2)
  7           ,XMLElement("col3",val3))
  8  FROM A
  9  GROUP BY val1,val2,val3;
XMLELEMENT("COLS",XMLELEMENT("COL1",VAL1),XMLELEMENT("COL2",VAL2),XMLELEMENT("CO
<cols><col1>1</col1><col2>2</col2><col3>3</col3></cols>                        

Similar Messages

  • Errror while Running the ant file(build.xml) when applying B2B-BPEL patch

    Hello all,
    I am trying to apply the B2B WSIL Browser patch and while running the ant file i got the following warning while backing out d3l.jar file
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move *Warning: Could not find file C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib\d3l.jar to copy.*
    and the following error when it was not able to find admin_client.jar file
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    and the BUILD FAILED
    *so i created the necessary folders in the newly generated folder manually in ${env.ORACLE_HOME} i.e xqs\lib & j2ee\home and pasted the d3l.jar and admin_client.jar in these folders respectively,and again ran the ant file,this time the error is first problem is cleared i.e it is not showing the warning that it could not find* d3l.jar_+ file and it is also converting this file as d3l.jar.hide_+ *, but this time in the place of second error a new error is generated i.e* +
    Problem_
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;ant
    Buildfile: build.xml
    apply-b2b-bpel-10.1.3:
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1:] [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port 1521: 1521
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password b2b: b2b
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password welcome1: welcome1
    welcome1
    input Please enter opmn request port 6003: 6003
    6003
    echo Copying b2b.jar and tip.properties to appropriate locations...
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\lib
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.OB_HOME}\system\classes
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move Moving 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    BUILD FAILED
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:88: The following error occurred while executing this line:
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:49: Java returned: 1
    Total time: 31 seconds
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;
    i have set the classpath for the jdk and jre files correctly and also checked it with a sample program and the file is compiling and running with correct output.then why is it showing up java.lang.NoClassDefFoundError exception.Did anyone face the same problem or have a solution for this problem if they have then plzzz help me
    thnx
    Sunny
    Edited by: sunny kay on Jan 27, 2009 4:14 AM

    Hello sri,
    Thanks for your response as you have told i have set the ORACLE_HOME = C:\product\10.1.3.1\OracleAS_1
    and added C:\product\10.1.3.1\OracleAS_1\bin to my sys path
    and i have also set the JAVA_HOME=C:\product\10.1.3.1\OracleAS_1\jdk
    and added C:\product\10.1.3.1\OracleAS_1\jdk\bin to my sys path
    and ran the patch,now its coming up with a different problem after entering the B2B repository connection parameters...
    and it is
    Problem_
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    BUILD FAILED
    The Application Server is in the started state and these are the details that i have entered when B2B Repository Connection Parameters is prompeted
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1]: [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port [1521|http://forums.oracle.com/forums/]: [1521|http://forums.oracle.com/forums/]
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password [b2b|http://forums.oracle.com/forums/]: [b2b|http://forums.oracle.com/forums/]
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password [welcome1|http://forums.oracle.com/forums/]: [welcome1|http://forums.oracle.com/forums/]
    welcome1
    input Please enter opmn request port [6003|http://forums.oracle.com/forums/]: [6003|http://forums.oracle.com/forums/]
    6003
    is anything wrong in this i have tried by giving the default host name instead of mine but result is still the same.what is the problem can you figure it out and provide me a solution.
    thnx
    Sunny

  • How to handle error while using dbms_sql.execute

    Hi,
    I am inserting some records by using the following piece of code.
    stmt := 'insert into SSI_KPI_GOAL_VALUE_H (KPI_VAL_KPI_ID, KPI_VAL_RM_CDE,'|| v_day_value ||',KPI_VAL_ACT_DLY,'||v_month_val||',KPI_VAL_BIZ_UNIT_CDE) values (:kpi_array,:rm_array,:day1_array,:day1_array,:day1_array,:busnunit_array)';
    l := dbms_sql.open_cursor;
         dbms_sql.parse(l, stmt, dbms_sql.native);
         dbms_sql.bind_array(l, ':kpi_array', col1_ins,1,ins_cnt-1);
         dbms_sql.bind_array(l, ':rm_array', col2_ins,1,ins_cnt-1);
         dbms_sql.bind_array(l, ':day1_array', col3_ins,1,ins_cnt-1);
         dbms_sql.bind_array(l, ':busnunit_array', col4_ins,1,ins_cnt-1);     
         dummy := dbms_sql.execute(l);
         dbms_sql.close_cursor(l);
    I am getting an error since any one of the row contains value larger than the column.
    How to handle exception handling for those rows which is having errors. I would like insert the records which is having
    no errors. Like SAVE EXCEPTIONS for 'forall' is there any option is available to handle exceptional records.
    Please help.
    Thanks & Regards,
    Hari.

    Hari,
    What's oracle version? Are you looking for something similar to this? see following example
    DECLARE
       TYPE array
       IS
          TABLE OF my_objects%ROWTYPE
             INDEX BY BINARY_INTEGER;
       data          array;
       errors        NUMBER;
       dml_errors exception;
       error_count   NUMBER := 0;
       PRAGMA EXCEPTION_INIT (dml_errors, -24381);
       CURSOR mycur
       IS
          SELECT *
          FROM t;
    BEGIN
       OPEN mycur;
       LOOP
          FETCH mycur BULK COLLECT INTO data LIMIT 100;
          BEGIN
             FORALL i IN 1 .. data.COUNT
             SAVE EXCEPTIONS
                INSERT INTO my_new_objects
                VALUES data (i);
          EXCEPTION
             WHEN dml_errors
             THEN
                errors        := sql%BULK_EXCEPTIONS.COUNT;
                error_count   := error_count + errors;
                FOR i IN 1 .. errors
                LOOP
                   DBMS_OUTPUT.put_line(   'Error occurred during iteration '
                                        || sql%BULK_EXCEPTIONS(i).ERROR_INDEX
                                        || ' Oracle error is '
                                        || sql%BULK_EXCEPTIONS(i).ERROR_CODE);
                END LOOP;
          END;
          EXIT WHEN c%NOTFOUND;
       END LOOP;
       CLOSE mycur;
       DBMS_OUTPUT.put_line (error_count || ' total errors');
    END;Regards
    OrionNet

  • How to display errors while using HR_INFOTYPE_OPERATION

    Dear Freinds,
                    Iam using the Function module to upload data for infotype 0008 and custom infotype 9003, using the function module HR_INFOTYPE_OPERATION.
    The data is getting upload , but while uploading i want to trace the following problems the errors  , like while iam  uploading data for a particular personnel ,  if that particular personnel no is already being  opened in PA30 by the user
    then the FM should through me an error ,  like " the personnel no is being already opened" .
    Iam not able to get this error could you please let me know how the functional module will return me those type of errors.
    Regards
    Srinivas.

    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                  EXPORTING
                    infty         = v_infot
                    number        = wa_innnn-pernr
                    subtype       = wa_innnn-subty
                    objectid      = wa_innnn-objps
                    lockindicator = wa_innnn-sprps
                    validityend   = wa_innnn-endda
                    validitybegin = wa_innnn-begda
                    recordnumber  = wa_innnn-seqnr
                    record        = wa_innnn
                    operation     = 'DEL'
                    nocommit      = ' '
                    tclas         = 'A'
                  IMPORTING
                    return        = v_return
                  EXCEPTIONS
                    OTHERS        = 0.
                IF v_return-type EQ 'E'.
                  wa_err-pernr =   wa_innnn-pernr.
                  wa_err-begda =   wa_innnn-begda.
                  wa_err-endda =   wa_innnn-endda.
                  wa_err-esmg  =  v_return-message.
                  APPEND wa_err TO t_err.
                  CLEAR wa_err.
                ENDIF.

  • HOW TO AVOID DUPLICATES WHILE USING VRM FM

    HI EXPERTS,
                      I AM USING VRM FM TO PASS VALUES INTO LISTBOX IN SCREENS.FIRST TIME IT IS WORKING PROPERLY WHEN I USE IT FOR THE SECOND TIME IT IS SHOWING THE PREVIOUS DATAS ENTRIES ALSO .HOW TO DELETE THE DUPLICATE ENTRIES OF IT .
    THIS IS MY CODE.
    when 'ENTER'.
          select POSNR ARKTX from LIPS into corresponding fields of table i_pstyp WHERE VBELN EQ VBELN.
          LOOP AT I_PSTYP .
            W_DDLIST-KEY = I_PSTYP-POSNR.
            W_DDLIST-TEXT = I_PSTYP-POSNR.
    APPEND W_DDLIST TO POSNR1.
    CLEAR W_DDLIST.
    CALL FUNCTION 'VRM_SET_VALUES'
            EXPORTING
              ID              = 'POSNR'
              VALUES          = POSNR1.
    IN THIS IF I SELECT NEXT VBELN WITHOUT EXITING FROM THE SCREEN THE PREVIOUS VBELN'S LINE ITEMS ALSO ARE DISPLAYING .WHAT SHALL I DO .
    MANI

    when 'ENTER'.
    select POSNR ARKTX from LIPS
           into corresponding fields of table i_pstyp
           WHERE VBELN EQ VBELN.
    LOOP AT I_PSTYP .
    W_DDLIST-KEY = I_PSTYP-POSNR.
    W_DDLIST-TEXT = I_PSTYP-POSNR.
    APPEND W_DDLIST TO POSNR1.
    CLEAR W_DDLIST.
    ENDLOOP. " Endloop here. the FM should not be called inside the loop
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = 'POSNR' " hope you are using the fieldname correctly
    VALUES = POSNR1.
    CLEAR : POSNR1. " this will stop repeating the values in your drop down list
    Regards
    Gopi

  • How to restore Nano while using older version of iTunes?

    I'm running itunes 7.4 on Win XP Pro without SP2. My kid went ahead and upgraded nano to 1.1.2 PC version. Now itunes doesnt see the nano and says it can not be used because it requires iTunes version 7.6. I cant upgrade PC to SP2. So how can I downgrade only nano to 1.1.1?
    thanks

    I cant upgrade PC to SP2.
    Why not?
    -> http://www.microsoft.com/windowsxp/sp2/default.mspx

  • How do you import while using full screen in iPhoto?

    I am running Lion with the latest version of iPhoto, and have been getting used to the full screens.  Is there any way to import photos into iPhoto while the full screen function is enabled?  I am using an iPhone 4 and a Sony NEX-5, each of which would normally open iPhoto when they were plugged in.  Now either nothing happens, and the full screen stays open, or the full screen goes away and I have the menu bar, but it does not default to the import interface.  I have image capture set to open iPhoto with each of these cameras.  Just a bug?   Thanks. 

    what's the point of this "full screen" mode when one actually loses features of an application?
    i think apples full screen mode is close to being the worst implementation of this feature ever.
    not to mention that when running two monitors, the second monitor is practically useless.

  • Monitoring and controlling the Tag values of Logix 5000 using Labview while using RSLogix 5000 to program the PLC

    Hi
      I want to know how to change the input bits or tags of a PLC which is programmed using RSlogix 5000. But I need to use Labview to monitor the input bits ( like in Digitial Input bits) and then be able to change the BITS while the PLC runs and the PLC should be able to detect the change in input bits and act accordingly. The programming is done using ladder logic and its done in RSLogix 5000 and dumped into PLC using RSLogix.
    Thanks in advance

    msu,
    Once you have the OPC server up and running the best way to communicate with is is through the Datalogging and Supervisory Control module for LabVIEW.  The DSC module allows you to bind shared variables to items on your OPC server.  Then you could just read from or write to these shared variables to access the data on this OPC server.  If you don't want to get this module you could also just use datasocket to read/write from an OPC server.  The URL you would use in data socket would look something like "opc://localhost/{your opc item's address}".
    -Justin D

  • Is there a way to retrieve data from database wihout using JDBC while using JPDK?

    Hi,
    I want to create a portlet using JPDK with extra render modes and edit/Edit defaults mode too. The detail and show renderer mode jsp's/servlets render data from database. Based on the personalized paramter, the data rendered in detail and show mode will be obtained from database.
    The articles in the PDK zip asks not to use JDBC for security vulnerability. Does that mean , I should not use JDBC to connect to db to get data. If not, what should I use ? How do I connect to database ? Is there any class which helps to connect to db without using JDBC ?
    thanks,
    Mainak

    I'm not sure what articles you are refering to, because there is no other way to access a database from a java program. Generally, security related docs tend to be a little paranoid (and so they should be), but you have to balance high security against getting the job done.
    Obviously, if using JDBC, you need to be careful about protecting your config files because they will contain connection information.

  • Using exceuteBatch() while using PreparedStatement

    Hi All,
    I am using PreparedStatement and then further use addBatch() to
    add queries and finally executeBatch()....
    My problem is that if one of the queries added to the batch
    fails it throws a SQLException and i have no means of finding
    the position(i.e which query) threw the Exception...
    But if i use Statement instead of PreparedStatement in the same
    situation BatchUpdateException is thrown...whose method
    getUpdateCounts() enables me to get the number of queries
    already written and the position of the error....but this
    results in considerable performance degradation....
    So I have to use PreparedStatements and also want the
    funtionality provided by BatchUpdateException...
    Can anyone help me with this....
    Its urgent...
    Malhi

    Hi Andy,
    When we do pstmt.setString("SYSDATE"), behind the screen it goes as 'SYSDATE' (since its string) and will not be appended to the query as SYSDATE.
    So append the SYSDATE to the query while preparing your statement.
    String insertsql = "insert into emp (empid, name, dept , joindate) values (?, ?, ?, SYSDATE ) ";
    PreparedStatement pstmt = conn.prepareStatement(inssql);
    pstmt.setInt(1, 123);
    pstmt.setString(2, "my name");
    pstmt.setString(3, "my dept" );
    pstmt.executeUpdate();
    Regards
    Elango.

  • Continue to use applications while using PowerPoint

    I couldn't find the right place to post this question.
    I've done some research and pretty much the result I've found is "You can't do that!"  I've tried using PowerPoint and OpenOffice to accomplish this, but both have similar results.  I need to be able to run a PowerPoint Presentation that displays on a 2nd monitor (TVs) and still be able to run other applications (iTunes & Excel) while the presentation is up.  Unfortunately, PowerPoint takes over my main display (macbook usually) and I cannot access those other programs. 
    This works fine when using PowerPoint on Windows using several different ways.  If Powerpoint for Mac only had the option to NOT use Presenter view.  I only want to display the PowerPoint on one monitor and still be able to use other programs. 
    Thanks,
    Q

    This makes no difference.  The presentation remains to work, but on my main screen, I cannot access any other programs.  Moving the mouse down only shows the powerpoint timeline.  I've attached what the screens look like.

  • How to create a discrete job on condition that build-in-wip attribute is No.

    two or three times a year, jobs are created in the Discrete Job  form although build in wip attribute is No. (never created from MRP)
    i have no idea how the job could be created... i tried several times at same condition, but i couldn't.
    does anyone experience like this??

    Welcome to the forum.
    Oracle 9i is a database version from the previous century.
    But:
    You can read about DBMS_JOB in the 9i documentation here:
    http://www.oracle.com/pls/db92/homepage
    Or do some searches on http://asktom.oracle.com
    Anyway: if you want the job to run once, then omit the interval...
    Oh, and don't forget to read {message:id=9360002} from the SQL and Pl/SQL FAQ here:
    SQL and PL/SQL FAQ
    Edited by: Hoek on May 23, 2013 8:09 PM

  • How does one use Sound sticks while using HDMI at the same time ??

    How does one use Soundsticks while using HDMI at the same time ??

    Hi Caleb,
    This isn't a precise answer but a possible workable solution. SoundSource puts a menu extra which allows you to switch input/output and has an option for Auto-Switch to Headphones. The auto-switch feature doesn't work with USB headphones but I believe it will with 'regular' headphone plugs such as you use.
    http://www.rogueamoeba.com/freebies/
    (Oh, did I mention it's free Universal and works with Leopard?)

  • Problem in finding wsdl while using obant

    Hi
    I am trying to invoke process2(pro2) from process1(pro1)
    I have copied the wsdl file and schema of process2 in process1 bpel folder and the partner binding entry in bpel.xml is pro2.wsdl which is correct
    I have created acustom build .xml file as described in :
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/deployproc.htm#sthref3366
    when I try to deploy using obant,
    i get follwoing error:
    Buildfile: build.xml
    Trying to override old definition of task customize
    pre-build:
    validateTask:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Validating workflow
    [echo] --------------------------------------------------------------
    [echo]
    [validateTask] Validation of workflow task definitions is completed without erro
    rs
    compile1:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Compile1 in bpel process Pro1, revision 1.7
    [echo] --------------------------------------------------------------
    [echo]
    compile:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Compile Task in custom build.xml in bpel process Pro1, revision 1.
    7
    [echo] --------------------------------------------------------------
    [echo]
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | wsdl location is ${wsdlLocation} which is also
    [echo] http://[hostname]:8889/orabpel/default/Pro2/1.7/Pro2?wsdl
    [echo] --------------------------------------------------------------
    [echo]
    ORABPEL-01021
    BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10903]: failed to read wsdl
    [Description]: in "_bpel.xml", Failed to read wsdl.
    Error happened when reading wsdl at "C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywo
    rk\POC\Pro1\bpel\http:\[hostname]:8889
    %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\orabpel\default
    %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\Pro2\1.7\Pro2?ws
    dl", because "Failed to read wsdl file at: "file:/C:/WINDOWS/Oracle/jdevstudio10
    133/jdev/mywork/POC/Pro1/bpel/http:/[hostname]:8889
    %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/orabpel/default
    %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/Pro2/1.7/Pro2?ws
    dl", caused by: java.io.FileNotFoundException. : C:\WINDOWS\Oracle\jdevstudio
    10133\jdev\mywork\POC\Pro1\bpel\http:\[hostname]:8889
    \orabpel\default
    \Pro2\1.7\Pro2?wsdl (The filename, directory name, or volum
    e label syntax is incorrect)".
    Make sure wsdl exists at that URL and is valid.
    [Potential fix]: If your site has a proxy server, then you may need to configur
    e your BPEL Server, designer and browser with your proxy server configuration se
    ttings (see tech note on http://otn.oracle.com/bpel for instructions).
    at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeP
    rocessor.java:1133)
    at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(Cube
    Processor.java:449)
    at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(Cub
    eParserHelper.java:83)
    at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
    CheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
    cutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.Main.start(Main.java:150)
    at org.apache.tools.ant.Main.main(Main.java:240)
    BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10903]: failed to read wsdl
    [Description]: in "_bpel.xml", Failed to read wsdl.
    Error happened when reading wsdl at "C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywo
    rk\POC\Pro1\bpel\http:\[hostname]:8889
    %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\orabpel\default
    %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\Pro2\1.7\Pro2?ws
    dl", because "Failed to read wsdl file at: "file:/C:/WINDOWS/Oracle/jdevstudio10
    133/jdev/mywork/POC/Pro1/bpel/http:/[hostname]:8889
    %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/orabpel/default
    %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/Pro2/1.7/Pro2?ws
    dl", caused by: java.io.FileNotFoundException. : C:\WINDOWS\Oracle\jdevstudio
    10133\jdev\mywork\POC\Pro1\bpel\http:\[hostname]:8889
    \orabpel\default
    \Pro2\1.7\Pro2?wsdl (The filename, directory name, or volum
    e label syntax is incorrect)".
    Make sure wsdl exists at that URL and is valid.
    [Potential fix]: If your site has a proxy server, then you may need to configur
    e your BPEL Server, designer and browser with your proxy server configuration se
    ttings (see tech note on http://otn.oracle.com/bpel for instructions).
    BUILD FAILED
    C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywork\POC\Pro1\build.xml:60: The followi
    ng error occurred while executing this line:
    C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywork\POC\Pro1\bpel\build.xml:44: Valida
    tion error
    Total time: 2 seconds
    C:\WINDOWS\Oracle\jdevstudio10133\jdev\mywork\POC\Pro1>ENDLOCAL
    why is trying to locate wsdl at "file:/C:/WINDOWS/Oracle/jdevstudio10
    133/jdev/mywork/POC/Pro1/bpel/http:/[hostname]:8889/orabpel/...
    The local copy of wsdl is in POC/Pro1/bpel and http://... is wsdl url but how is it coming together?
    ant why am i getting so many %20s?
    Could anybody help me understand this error and resolve the issue?
    Thanks,
    Ketan

    since i have copied the wsdl in to bpel folder - wherr bpel.xml is present , i am giving only the wsdl name as location and not the whole path. I hope this is correct

  • How to skip the Selection screen while using BAPI_MATERIAL_DELETE

    Hi,
    I have to delete material master.
    I'm using BAPI_MATERIAL_DELETE Fm,
    But while executing this BAPI it is going to a screen where it is asking to tick the Check Box for material number.
    Can you please tell me how to execute the BAPI Avoiding the selection screen.
    Thanks & Regards,
    Rajender

    Hi,
    Thanks for replying.
    We have to run the BAPI in Background, Then how to achieve the default values.
    Thanks & Regards,
    Rajender.

Maybe you are looking for