Creating WS from a pl/sql package (return ref_cursor) on a 9i database

Howdy,
I can create and deploy a ws built from pl/sql package on a 9i database that returns a ref_cursor. When I test it via my app server it throws the following:
ERROR>oracle.xml.sql.OracleXMLSQLException: Character '#' is not allowed in an XML tag name.</ERROR>
If I run a similar ws built on a 10g database there is no error. What am I missing?
Jdeveloper: 10.1.3.3
9i Database: 9.2.0.6
10g Database: 10.2.0.2.0
Oracle AS Control: 10.1.3.1.0

Ok so I played around with this some more. I created the same process in bpel using oracle bpel designer and here are the results.
1. Against 10g database running a synch process data is retutned without error.
2. Against 9i database running an asynch process data is retutned without error.
3. Against 9i database running a synch process data is retutned with error.
I'm definilty missing something.

Similar Messages

  • The -dataSource parameter in assemble a web service from a PL/SQL package

    When I use Web Service Assembler to assemble a Web Service from a PL/SQL package, I need to specify the dataSource parameter, e.g.:
    java -jar wsa.jar -plsqlAssemble -sql pkgname -dataSource jdbc/MyDS -dbConnection ... -dbUser scott/tiger ....
    The dataSource also needs to be pre-configured in the data-sources.xml in OC4J.
    I am wondering why dataSource is needed here because the database connection information is already specified on the commandline ( dbConnection and dbUser).
    If I have to specify dataSource, how do I configure data-sources.xml dynamically at run-time (e.g., adding entries)?
    Thanks,
    Jim

    The -dataSource parameter specifies the data-sources.xml entry used at runtime. The database connection info is only for design time use. Typically you make sure data-sources.xml contains an entry with jndi-location of the same name you specifies for -dataSource. To configure data-sources.xml at runtime, it is out of the scope of web services. Please refer to OC4J admin guide. You can probably modify the data-sources.xml file and force OC4J to reconfigure based on the new data-sources.xml file.

  • Problem with XSU when trying to execute pl/sql package returning ref cursor

    Hi,
    I'm exploring xsu with 8i database.
    I tried running sample program which I took from oracle
    documentation. Here is the details of these.
    ------create package returning ref cursor---
    CREATE OR REPLACE package testRef is
         Type empRef IS REF CURSOR;
         function testRefCur return empRef;
    End;
    CREATE OR REPLACE package body testRef is
    function testRefCur RETURN empREF is
    a empREF;
    begin
    OPEN a FOR select * from emp;
    return a;
    end;
    end;
    ---------package successfully created-----
    Now I use java program to generate xml data from ref cursor
    ------------java program ----------
    import org.w3c.dom.*;
    import oracle.xml.parser.v2.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    import java.io.*;
    public class REFCURt
    public static void main(String[] argv)
    throws SQLException
    String str = null;
    Connection conn = getConnection("scott","tiger"); //
    create connection
    // Create a ResultSet object by calling the PL/SQL function
    CallableStatement stmt =
    conn.prepareCall("begin ? := testRef.testRefCur();
    end;");
    stmt.registerOutParameter(1,OracleTypes.CURSOR); // set
    the define type
    stmt.execute(); // Execute the statement.
    ResultSet rset = (ResultSet)stmt.getObject(1); // Get the
    ResultSet
    OracleXMLQuery qry = new OracleXMLQuery(conn,rset); //
    prepare Query class
         try
    qry.setRaiseNoRowsException(true);
    qry.setRaiseException(true);
    qry.keepCursorState(true); // set options (keep the
    cursor alive..
         System.out.println("..before printing...");
    while ((str = qry.getXMLString())!= null)
    System.out.println(str);
         catch(oracle.xml.sql.OracleXMLSQLNoRowsException ex)
    System.out.println(" END OF OUTPUT ");
    qry.close(); // close the query..!
    // qry.close(); // close the query..!
    // Note since we supplied the statement and resultset,
    closing the
    // OracleXMLquery instance will not close these. We would
    need to
    // explicitly close this ourselves..!
    stmt.close();
    conn.close();
    // Get the connection given the user name and password..!
    private static Connection getConnection(String user, String
    passwd)
    throws SQLException
    DriverManager.registerDriver(new
    oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@xxxx:1521:yyyy",user,passwd);
    return conn;
    when I ran the program after successful compilation,I got the
    following error
    ==========
    Exception in thread "main" oracle.xml.sql.OracleXMLSQLException:
    1
    at oracle.xml.sql.core.OracleXMLConvert.getXML(Compiled
    Code)
    at oracle.xml.sql.query.OracleXMLQuery.getXMLString
    (OracleXMLQuery.java:263)
    at oracle.xml.sql.query.OracleXMLQuery.getXMLString
    (OracleXMLQuery.java:217)
    at oracle.xml.sql.query.OracleXMLQuery.getXMLString
    (OracleXMLQuery.java:194)
    at REFCURt.main(Compiled Code)
    ============================
    Can anybody tell me why I'm getting this error.Am I missing any
    settings?
    thanks

    We are using 8.1.7 Oracle db with latest xdk loaded.
    am I missing any settings?

  • How to declare a global variable from a PL/SQL package

    Hi All,
    Using a global variable is a bad practise for all language. However, in my case, I have a PL/SQL package defines all constants, and I want to use them directly via SQL statement, for instance,
    PACKAGE my_const
    IS
         DEFAULT_ZIP_CODE CONSTANT VARCHAR2(5) := '00000';
    END;And I cannot referrence this variable from my select statement as
    SELECT my_const.DEFAULT_ZIP_CODE from dual;I have to create a function via my package, as,
    FUNCTION get_default_zip_code RETURN VARCHAR2
    IS
    BEGIN
         RETURN DEFAULT_ZIP_CODE;
    END;and
    SELECT my_const.get_default_zip_code from dual;I don't want to create functions to referrence the default varaibles. Does anyone have any clues?
    thanks
    Edited by: user4184769 on Jul 19, 2010 8:36 AM

    riedelme wrote:
    thanks for the info. Your scope explanation makes sense even though it is not intuitive to me. I think the usage of package variables should be supported by SQL (they're just values to be copied) Maybe look at it from another language's perspective. You want to use a global PL package variable in Java/C#/Delphi/VB/etc. How would you do it?
    None of these languages can crack open the data segment of a PL code unit, inspect the variables in it, and extract a value from it. Instead, it needs to be done as follows:
    Using sqlplus as the client illustrates how all these languages will need to do it:
    SQL> var value varchar2(20);
    SQL> begin
      2>     :value := SomePackage.someVar;
      3> end;
      4> /So why should SQL behave differently? It is not the same as the PL language. It is not a subset of the PL language. Yeah, PL/SQL blurs the line between these 2 languages making it very simple for us to mix their source code. But PL/SQL is SQL integrated with PL - not PL integrated with SQL. PL has tight hooks into SQL, creating cursors for you, defining bind variables, binding variables and doing the whole Oracle Call Interface bit for you.
    But SQL has no need for PL code, just as it has no need for Java code, or Delphi code or VB code. Yes, it is possible for it to call Java stored procs. As it is possible for it to call PL procs. But these are via the formal call interface of those languages - not via tight integration hooks that blur the languages and make SQL and Java, or SQL and PL, look like a single integrated source code unit.
    Thus SQL has the pretty much the same constraints in calling the PL language as other languages do. What SQL can do is use the PL engine's call interface and tell it "+execute this function and return the result of the function+".

  • Calling PL/SQL-package, returning PL/SQL-table

    Hi,
    I'm trying to call a PL/SQL-function returning a PL/SQL-table with two numbers. The below code gives me the cryptic error 'Invalid column index'. Does anyone know how to do this ? I want to display tab_innlogginger (1) and tab_innlogginger (2) in the report...
    <dataSet id="Innlogginger">
    <sql dataSourceRef="DWH-PL">
    <![CDATA[
    declare
    tab_innlogginger dwh_lib.tabdef_innlogginger;
    begin
    tab_innlogginger := dwh_lib.tellinnlogginger (:l_fra_dato, :l_til_dato);
    end
    ]]>
    </sql>
    <input id="l_fra_dato" value="${l_fra_dato}" dataType="xsd:date"/>
    <input id="l_til_dato" value="${l_til_dato}" dataType="xsd:date"/>
    </dataSet>
    The dwh_lib.tabdef_innlogginger is defined as:
    type tabdef_innlogginger is table of number index by binary_integer;
    Regards
    Erik

    OK, found something here:
    Re: steps to create BI publisher report through oracle stored procedure
    Seems pipelined functions using Oracle-objects should work.

  • Temp Table in Package returning Ref_Cursor?

    I'm new to Oracle. Here is what I'm trying to do.
    I need to lookup all records with a certain ID. The IDs are stored by quarter and year. I'm trying to compare records with the previous 3 quarters.
    so record with ID = 1 also has Qtr = 1, Year = 2008.
    I would also need to find all ID's for the previous 3 quarters ( Q 4 of 2007, Q 3 of 2007, and Q 2 of 2007).
    I'm trying to write a package that will return a ref cursor with all 4 ids so the output would look like a table with 4 rows and 1 column.
    In SQL Server I could create a temp table, insert these 4 values in and return a Select * From TempTable.
    How can I accomplish this in Oracle 10g?

    Something like this ?
    test@ORA10G>
    test@ORA10G> drop table tblyearquarter;
    Table dropped.
    test@ORA10G>
    test@ORA10G> create table tblyearquarter (id, qtr, yr, createdate) as
      2  select
      3    round(dbms_random.value(1,10000)),
      4    t1.qtr,
      5    t2.yr,
      6    (sysdate - t3.indx)
      7  from
      8  (select level+2003 as yr from dual connect by level<=5) t2,
      9  (select level as qtr from dual connect by level<=4) t1,
    10  (select level as indx from dual connect by level<=round(dbms_random.value(1,4))) t3;
    Table created.
    test@ORA10G>
    test@ORA10G> select * from tblyearquarter;
            ID        QTR         YR CREATEDAT
          5059          1       2004 09-MAR-08
          6619          1       2004 08-MAR-08
          5776          1       2004 07-MAR-08
          6943          2       2004 09-MAR-08
          4338          2       2004 08-MAR-08
          8568          2       2004 07-MAR-08
          5878          3       2004 09-MAR-08
          2675          3       2004 08-MAR-08
          4667          3       2004 07-MAR-08
            40          4       2004 09-MAR-08
          1400          4       2004 08-MAR-08
          9509          4       2004 07-MAR-08
          6628          1       2005 09-MAR-08
          4356          1       2005 08-MAR-08
          2439          1       2005 07-MAR-08
          7094          2       2005 09-MAR-08
           482          2       2005 08-MAR-08
          8596          2       2005 07-MAR-08
          4855          3       2005 09-MAR-08
          4447          3       2005 08-MAR-08
          3341          3       2005 07-MAR-08
          5220          4       2005 09-MAR-08
          8461          4       2005 08-MAR-08
          2746          4       2005 07-MAR-08
          3561          1       2006 09-MAR-08
           241          1       2006 08-MAR-08
           108          1       2006 07-MAR-08
          3605          2       2006 09-MAR-08
           310          2       2006 08-MAR-08
           939          2       2006 07-MAR-08
          6611          3       2006 09-MAR-08
          5679          3       2006 08-MAR-08
          3975          3       2006 07-MAR-08
          2238          4       2006 09-MAR-08
          7323          4       2006 08-MAR-08
          8104          4       2006 07-MAR-08
          3206          1       2007 09-MAR-08
          7420          1       2007 08-MAR-08
          7386          1       2007 07-MAR-08
          4237          2       2007 09-MAR-08
          9329          2       2007 08-MAR-08
          6105          2       2007 07-MAR-08
          3800          3       2007 09-MAR-08
          3967          3       2007 08-MAR-08
          8200          3       2007 07-MAR-08
           463          4       2007 09-MAR-08
          9518          4       2007 08-MAR-08
          1451          4       2007 07-MAR-08
          9541          1       2008 09-MAR-08
          1380          1       2008 08-MAR-08
          9320          1       2008 07-MAR-08
          9720          2       2008 09-MAR-08
          4681          2       2008 08-MAR-08
          6431          2       2008 07-MAR-08
          9586          3       2008 09-MAR-08
          8620          3       2008 08-MAR-08
          6859          3       2008 07-MAR-08
          5883          4       2008 09-MAR-08
           548          4       2008 08-MAR-08
          4647          4       2008 07-MAR-08
    60 rows selected.
    test@ORA10G>
    test@ORA10G> select id, qtr, yr
      2    from (select id, qtr, yr, rownum as rnum
      3            from (select id, qtr, yr, createdate
      4                    from (select id,
      5                                 qtr,
      6                                 yr,
      7                                 createdate,
      8                                 row_number() over(partition by yr, qtr order by createdate desc) as seq
      9                            from tblyearquarter)
    10                   where seq = 1
    11                   order by yr desc, qtr desc)
    12           where yr || qtr <= &year || &quarter)
    13   where rnum <= 4;
    Enter value for year: 2008
    Enter value for quarter: 1
    old  12:          where yr || qtr <= &year || &quarter)
    new  12:          where yr || qtr <= 2008 || 1)
            ID        QTR         YR
          9541          1       2008
           463          4       2007
          3800          3       2007
          4237          2       2007
    test@ORA10G>
    test@ORA10G> /
    Enter value for year: 2007
    Enter value for quarter: 3
    old  12:          where yr || qtr <= &year || &quarter)
    new  12:          where yr || qtr <= 2007 || 3)
            ID        QTR         YR
          3800          3       2007
          4237          2       2007
          3206          1       2007
          2238          4       2006
    test@ORA10G>
    test@ORA10G> /
    Enter value for year: 2006
    Enter value for quarter: 2
    old  12:          where yr || qtr <= &year || &quarter)
    new  12:          where yr || qtr <= 2006 || 2)
            ID        QTR         YR
          3605          2       2006
          3561          1       2006
          5220          4       2005
          4855          3       2005
    test@ORA10G>
    test@ORA10G>pratz

  • Problem in generate Java  from PL SQL package in Jdeveloper

    Hi
    i have problem in create java class from PL SQL package in JDeveloper.
    I use Database navigator of jdeveloper and right click on a package and choose Generate Java then in Jpublisher window choose my view Controller and accept other default values.
    I call methods of generated class in the Action of a button in my JSP page, but when I click the button it  throw null pointer exception !!! i fund one of generated method return null and it lead to this exception.
    protected DefaultContext __tx = null;
    public DefaultContext getConnectionContext() throws SQLException  {
    if (__tx==null){
    __tx = (getConnection()==null) ? DefaultContext.getDefaultContext() : new DefaultContext(getConnection());
        return __tx;
      public Connection getConnection() throws SQLException
        if (__onn!=null) return __onn;
         else if (__tx!=null) return __tx.getConnection();
         else if (__dataSource!=null) __onn= __dataSource.getConnection();
         return __onn;
    i try to generate class in Model project and create DataControl for that and use method action but noting change and i get null pointer again!!
    Jdeveloper Versino = 11.1.1.7.0

    Let me ask you another question: Why do you generate java from the package at all?
    Where do you want to call the package?
    Back to your question: you should see code like
        public void setDataSourceLocation(String dataSourceLocation) throws SQLException {
            javax.sql.DataSource dataSource;
            try {
                Class cls = Class.forName("javax.naming.InitialContext");
                Object ctx = cls.newInstance();
                java.lang.reflect.Method meth = cls.getMethod("lookup", new Class[] { String.class });
                dataSource = (javax.sql.DataSource) meth.invoke(ctx, new Object[] { "java:comp/env/" + dataSourceLocation });
                setDataSource(dataSource);
            } catch (Exception e) {
                throw new java.sql.SQLException("Error initializing DataSource at " + dataSourceLocation + ": " + e.getMessage());
    in the generated code. This code look up a datasource (which you have defined e.g. on the Weblogic Server) by calling the method
    setDataSourceLocaltion("jdbc/HRConnDS");
    This look up the datasource nad stores it in the class variable.
    Timo

  • Creating Web services using JDeveloper for Pl/SQL package having ref cursor

    Hi,
    I am trying to create web services for PL/SQL package in JDeveloper. When I am trying to create this web service, the functions in the package which is returning referential cursor or record cursor are not visible. When I highlight the function and click "Why Not?", it displays the message "The following types used by the program unit do not have an XML schema mapping and/or serializer Specified: REF CURSOR". Could you please let me know, how I can create this web service?
    I am getting similar error when I am trying to create web service for a package with overloaded functions also.
    Thanks,

    Ok so I played around with this some more. I created the same process in bpel using oracle bpel designer and here are the results.
    1. Against 10g database running a synch process data is retutned without error.
    2. Against 9i database running an asynch process data is retutned without error.
    3. Against 9i database running a synch process data is retutned with error.
    I'm definilty missing something.

  • Issue generating java from pl/sql package

    Hi,
    In JDeveloper (11.1.1.6) I am having an issue generating java from a pl/sql package. When I am in the database navigator I right click on the package and select "generate java". This produces some java files, some sqlj files and a <package_name>.javatmp file. When a collegue does the same all files are generated with a .java extension. Can anyone tell me what I can do to generate all java files?
    Thanks,
    Graeme

    It turns out that I was running against a 64-bit JDK. (1.6.0_41.)
    When I changed this to run against a 32 bit JDK (also 1.6.0_41) my problem went away.
    It might be worth noting that my machine is 64 bit.

  • Pass table rowtype between java class and PL/SQL package

    I am a complete newbie when it comes to java itself but I've been asked to investigate the possibility of passing a rowtype datatype from a PL/SQL package to a java class and vice versa.
    I have heard of oracle.sql.ArrayDescriptor as an option but this appears to address only SQL types that are defined outside of a package.
    I'm talking about using, say, SCOTT.EMP%rowtype instead of a user-defined type. I'm thinking that a java array could be defined from the definition of a table in the database but I don't know what class would be appropriate.
    Could someone provide a simple proof-of-concept example that shows how you could use a java array to pass data to a package that is expecting a table rowtype variable and conversely a java class that reads the rowtype returned into a java array?
    Would oracle.jdbc.driver.OracleDatabaseMetaData be a way of doing this?
    Thanks!

    Kuassi:
    <br><br>
    Not at all. I didn't feel like you misled me at all. I'm grateful for your help. I think that maybe I failed to describe my problem adequately in the first place.
    <br><br>
    Perhaps I've also gotten stuck on the term <i>ref cursor</i>.
    <br><br> At any rate, the people I'm gathering information for have further refined their requirement. We want to take a collection of data and send it to a procedure. It doesn't have to be a "ref cursor" or "%rowtype" per se, but something that is maintainable and workable from both ends.
    <br><br>
    For example, to use the old SCOTT/TIGER paradigm, let's suppose we have a website where you can indicate which employees work for a given department. The website allows us to fill in information for multiple employees at once. We want to use a servlet that gathers all the employees data and sends it on through to a PL/SQL package so that the data is validated and committed in the database.<br><br>
    Perhaps the java servlet should handle the multiple employee records as an array? If so, how can a PL/SQL procedure be made to recognize that construct?<br><br>
    I can accept that java cannot create a "ref cursor" type to send information to a package, but might this be possible via some other implementation?
    <br><br>
    Hopefully this is a little more clear. If not, please let me know and I'll try to inject more details as to what we are trying to accomplish.
    <br><br>
    Once again, thanks for your persistent replies and help.
    <br>

  • Host command in PL/SQL Package

    Hi,
    How is it possible to launch a host command from a PL/SQL package without Pro*C nor Java ?
    Hope it's possible, 'cos Java is not available here and Pro*C has some^problems that the DBA cqn't solve...
    Could you please answer at [email protected]
    Thanks in advance !

    Hi Thomas,
    You can call external progs within PlSql.
    You have to
    - Configure Tnsnames.ora aned listener.ora on the server
    with the 'extproc' entry
    - Have an external proc in a DDL on NT (or .so on unix)
    - Create a libray pointing on this .so file with 'Create library'
    - Declare a PlSql proc calling your external proc in the library
    And then you will use your PlSql proc within your package.
    It's fastidious but it works.
    Mbo

  • SQL*Plus crash due to PL/SQL package compilation

    The problem:
    SQL*Plus crash due to creation large PL/SQL with windows dump error.
    But if insert that package using for example ToAD it works fine.
    The solution:
    I have increased processes parameter in spfile from 40 up to 400. I think it is no need to increase the parameter to such large value, but this value is works.

    emss wrote:
    Can a .sql sql*plus script be called from a pl/sql package? I so, can someone provide a brief example?Not really - there is no easy interface.
    There are interfaces that are not easy. You could instead
    * use DBMS_SCHEDULER to create a host call to execute an OS script to execute the SQL*PLUS script
    * use a java stored procedure to do the same thing
    Do a web search to find examples

  • Syntax for calling html page in PL/SQL package

    Hi,
    I'm trying to call html page (stored on server) in my pl/sql package!
    I have already create html page in pl/sql package code and it's works fine.
    Now create better html page (interface design) and stored on server. I would like to call that stored html page in my pl/sql package.
    What is syntax for calling html page in PL/SQL or could you suggest me some literature.
    In first option I had created ces and stored it on server. Then I call it in pl/sql package like htp.p('<link rel="stylesheet" href="\download\table_style.css" type="text/css">');
    I try someting like that for calling html page but it doesn't works.
    htp.p('<link rel="form" href="\download\interface.htm" type="text/html">');
    Does anyone know syntax for calling html page in pl/sql?!?
    Thanks!

    hello
    I normally use htp.anchor(URL,linkname);
    it works
    ammar sajdi
    www.e-ammar.com/Oracle.htm

  • Unable to invoke BPEL HelloWorld from Oracle PL/SQL

    Hi,
    I am trying to invoke a BPEL process (HelloWorld) from Oracle PL/SQL package. I have downloaded the standard "demo_soap.sql" from oracle.com. Find below the PL/SQL block that I am using to invoke to the HelloWorld.
    DECLARE
    req Demo_Soap.request;
    resp Demo_Soap.response;
         zipcode VARCHAR2(100) := 'Suresh';
    BEGIN
    req := Demo_Soap.new_request('initiate',
    'xmlns="http://xmlns.oracle.com/HelloWorld"');
    Demo_Soap.add_parameter(req, 'HelloWorldProcessRequest', 'xsd:string', zipcode);
    resp := Demo_Soap.invoke(req,
    'http://nooslux037t.gl.2wglobal.com:7777/BPELConsole/Dev/displayProcess.jsp?processId=HelloWorld',
    'http://xmlns.oracle.com/HelloWorld');
    END;
    But, it gives the following error message.
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    Please let me know the value that I need to set:
    1. Method name
    2. TargetName space
    3. URL
    4. SOAPaction.
    Please help me in finding the cause for this error and also the solution.
    Thanks

    Hi,
    Thanks for your reply.
    Is there any pre-requiste required for running the Webservice PL/SQL client?
    I tried running the BPEL process as per your input.
    DECLARE
    req demo_soap.request;
    resp demo_soap.response;
         zipcode VARCHAR2(100) := 'XYZ';
    BEGIN
    req := demo_soap.new_request('initiate', 'http://xmlns.oracle.com/HelloWorld');
    demo_soap.add_parameter(req, 'ZipCode', 'xsd:string', zipcode);
    resp := demo_soap.invoke(req, 'http://nooslux037t.gl.2wglobal.com:7777/orabpel/Dev/HelloWorld/1.0','initiate');
    END ;
    But it threw the following error:
    ORA-20000: soapenv:Server.userException - org.xml.sax.SAXException: No custom elements allowed at top level until after the <body> tag
    I have copied my HelloWorld WSDL file for your reference.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="HelloWorld" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/HelloWorld" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/HelloWorld">
    - <types>
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://www.w3.org/2001/XMLSchema">
    - <element name="HelloWorldProcessRequest">
    - <complexType>
    - <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    - <element name="HelloWorldProcessResponse">
    - <complexType>
    - <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://nooslux037t.gl.2wglobal.com:7777/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    </types>
    - <message name="WSAMessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    - <message name="HelloWorldRequestMessage">
    <part name="payload" element="tns:HelloWorldProcessRequest" />
    </message>
    - <message name="WSARelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    - <message name="HelloWorldResponseMessage">
    <part name="payload" element="tns:HelloWorldProcessResponse" />
    </message>
    - <message name="WSAReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
    - <portType name="HelloWorld">
    - <operation name="initiate">
    <input message="tns:HelloWorldRequestMessage" />
    </operation>
    </portType>
    - <portType name="HelloWorldCallback">
    - <operation name="onResult">
    <input message="tns:HelloWorldResponseMessage" />
    </operation>
    </portType>
    - <binding name="HelloWorldCallbackBinding" type="tns:HelloWorldCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="onResult">
    <soap:operation style="document" soapAction="onResult" />
    - <input>
    <soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <binding name="HelloWorldBinding" type="tns:HelloWorld">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="initiate">
    <soap:operation style="document" soapAction="initiate" />
    - <input>
    <soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
    <soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="HelloWorldCallbackService">
    - <port name="HelloWorldCallbackPort" binding="tns:HelloWorldCallbackBinding">
    <soap:address location="http://set.by.caller" />
    </port>
    </service>
    - <service name="HelloWorld">
    - <port name="HelloWorldPort" binding="tns:HelloWorldBinding">
    <soap:address location="http://nooslux037t.gl.2wglobal.com:7777/orabpel/Dev/HelloWorld/1.0" />
    </port>
    </service>
    - <plnk:partnerLinkType name="HelloWorld">
    - <plnk:role name="HelloWorldProvider">
    <plnk:portType name="tns:HelloWorld" />
    </plnk:role>
    - <plnk:role name="HelloWorldRequester">
    <plnk:portType name="tns:HelloWorldCallback" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    Please help me in finding the correct values for the below parameters.
    1. Operation Name
    2. SOAPAction.
    Thanks

  • Publish PL/SQL package as a web service without using Oracle AS?

    Hello, my question is:
    Can I publish a PL/SQL package as a web service in Oracle10g directly from the
    database and/or the oracle http server, without needing Oracle Application
    Server?
    Thank you in advance.

    Hi,
    there is a tutorial:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
    "Developing a Web Service from a PL/SQL Package"
    I think you need Oracle AS, because you need an instance which "talks" http....

Maybe you are looking for

  • Pulling records where number of records for unique ID = 6

    I have a table that contains address information for everyone in the system. It has numerous fields, though I've only included a few in the create table query below for the sake of brevity. The PIDM uniquely identifies each record as belonging to a p

  • CRM order giving message type X

    In transaction crmd_order. While creating order and while saving we found it is not required and we click on new order again and it dumps out with error X in the function module crm_order_maintain_multi_ow, which again sets in CRM_ORDER_CHECK_RECURSI

  • Lem upgrading from Photoshop CS3 extended version, to CS4 standard

    I own of Adobe Photoshop CS3 extended, and I'm trying to upgrade to CS4 and CS5 of which are standard additions. My serial number for my CS3 extended is not working when I input it for the installation on CS4. What do I need to do.

  • JPA - the container - persistence.xml file

    Hi, I'm just starting out with JPA so these are basic questions. Firstly, this is what I've done: 1) Created JPA entities from tables 2) I've used JDeveloper to create a Java Service Facade using the wizards. 3) Created a persistence unit and added t

  • Changing Hibernate - connection URL after startup in LCDS

    Hi, I have a flex app that have different databases (names) with the same tables. I want to dynamically change the database url in hibernate (or hibernateassmebler used in data destination) based on the customer. (example. xyz company will have xyz d