Out parameters and a dynamic client

In the 7.0 manuals for web services (http://e-docs.bea.com/wls/docs70/webServices/client.html#1011066)
there are two examples, one for dynamic client, the other for out parameters. My
question is there a way to use out parameters WITH the dynamic client or do you need
a stub for it?
Larry

sachin
1) make sure there is no Optional Redirect defined on the OK button. That is, make sure the page is really submitted.
2) in the PL/SQL body generating the query, print out the query using htp.p() so you get to see it and test it.
3) use the session state link in the developer toolbar in conjunction with the technique in step 2) to debug your query
Maybe the report region is refreshing, but it just isn't returning any results.
Sergio

Similar Messages

  • Calling SP that returns Out Parameters AND ResultSet

    HI,
    I have this stored procedure that returns not only a result set, but also OUT parameters. (I didn't write it!!).
    I need to call it from Workshop. Does Databse Control allows to do that ? How ?
    It seems that when it loads the out parameters in my array, the resultset is closed.
    Any advice will be greatly appreciated.
    Octavio

    Has any one tried something like it? Could you please provide me a sample if you have done it.
    I tried these options but always got errors as
    [usp_return [64]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E55.An OLE DB record is available.  Source:
    "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E55  Description: "Column does not exist.".
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "usp_return" (64) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning
    of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    ~ Thank you so much
    Regards, Avik M.

  • GetProcedureColumns doesn't distinquish between OUT param and Record column

    HI. My problem is that when I do a getProcedureColumns call for
    my stored procedure, I cannot distinquish between the stored
    procedure OUT parameters and columns in the result set record. Both
    are shown to be OUT parameters.
    My stored procedure is defined as follows:
    PROCEDURE MyProcedure
    (state IN VARCHAR2, MyCur OUT MYPACKAGE.MyCurType, Zip OUT VARCHAR2) AS
    BEGIN
         OPEN MyCur FOR SELECT ACT_NAME, ACT_STATUS from sysadm.act;
    END;
    and MyCurType is a REF cursor pointing to a result set
    record which is defined as follows:
    TYPE MyRec is RECORD
    NAME VARCHAR2(100),
    STATUS VARCHAR2(100)
    AND the REF CURSOR is defined as follows:
    TYPE MyCurType is REF CURSOR RETURN MyRec;
    When I do getProcedureColumns on the procedure, I get the following:
    COL_NAME COL_TYPE TYPE_NAME
    STATE 1.0 VARCHAR2
    MYCUR 4.0 REF CURSOR
    <blank> 4.0 PL/SQL RECORD
    NAME 4.0 VARCHAR2
    STATUS 4.0 VARCHAR2
    ZIP 4.0 VARCHAR2
    As you can see, STATE, MYCUR, NAME, STATUS and ZIP are all shown as OUT columns. MYCUR is the only true OUT parameter, but I can't tell this. The reason I need to know this because I need to dynamically build the PrepareCall statment. Any help would be very greatly appreciated.
    Thanks

    It would somewhat help if you describe your MyCurType as just REF CURSOR:
    type MyCurType is ref cursor;
    Then, the number of parameters and the number of columns in the result set become equal (at least for me, though I use function with one OUT parameter (return result) and one IN parameter).
    Also, you might want to check the field #5 of the getProcedureColumns's ResultSet: it is probably equal to # procedureColumnResult for NAME and STATUS in your case, and you might wish only account for procedureColumnIn(Out,InOut).
    Unfortunately, all that might be useless for you if you are trying to do the same thing as I am. The reason is that Oracle driver returns 1111 (java.sql.Types.OTHER) as a type id for REF CURSOR from getProcedureColumns but it does not accept it back in registerOutputParameter(), contrary to the JDBC specification. It only accepts Oracle specific type oracle.jdbc.OracleTypes.CURSOR (-11) for REF CURSOR output parameters and I am not aware of any way to get it back from meta-info using JDBC standard :-(. Please let me know if you are aware of such a way.

  • How to use wsdl in dynamic client

    In wls 700, I want to know how to write a dynamic client to invoke a webservice by
    passing wsdl?
    In the example directory, there is an example, but I would like to know how I can
    customize to use my own wsdl? clientgen puts wsdl in client jar file why is that?

    Hi fkeita,
    If you haven't already done so, you should check out the following link in the BEA
    product documentation:
    http://edocs.bea.com/wls/docs70/webServices/client.html#1049007
    Outside of that, you can always stayed tuned to the "dev2dev" page :-)
    Regards,
    Mike Wooten
    "fkeita" <[email protected]> wrote:
    >
    Hi Mike,
    Can you elaborate more how I can find the url of wsdl?
    Do you know any documentation which explains the process of using dynamic
    clinet?
    Thanks.
    "Michael Wooten" <[email protected]> wrote:
    Hi fkeita,
    The client.jar contains a "static" WSDL, because some folks like to avoid
    making
    a network (or internet) call to retrieve the "dynamic" one :-)
    If you try to use "user-defined" types, with a WSDL and a "dynamic" client,
    you will
    experience "difficulties". This is due to the way the JAX-RPC defines the
    createService()
    method on the ServiceFactory class. Normally, this is the method you pass
    the URL
    to the WSDL you want to use. Currently, we call the WSDL parser in this
    method, which
    has a "side-effect" of needing to have the type mappings for your "user-defined"
    types, already registered when it is called. With "stub-style" clients,
    this is not
    a problem (because the plumbing does this for you), but with "dynamic"ones
    it doesn't.
    Right now, the only real workaround is to have your client class extend
    our weblogic.webservice.core.soap.SOAPElementImpl
    class, as in the following code fragment:
    #### START OF EXTRACT #####
    import javax.xml.rpc.Call;
    import javax.xml.rpc.namespace.QName;
    import weblogic.webservice.core.rpc.ServiceImpl;
    public class ServiceClient extends ServiceImpl
         public ServiceClient(String schemeHostPort) throws Exception
    // We pass the URL for the "dynamic" WSDL in the
    // first argument. The second argument is the
    // path to the XML file that the <clientgen> Ant
    // task recorded your typemapping info in. It is
    // in your client.jar, along with the "static"
    // WSDL I mentioned :-)
              super(
                   (schemeHostPort == null ? "http://localhost:7001" : schemeHostPort)
    +
    "/mea/gateway?WSDL",
                   "examples/webservices/jaxrpc/consumer/anamitra/dii/MEAGatewayService"
              //define qnames
              String targetNamespace = "http://www.bea.com/examples/MEAGateway";
              QName serviceName = new QName( targetNamespace, "MEAGatewayService" );
              QName portName = new QName( targetNamespace, "MEAGatewayServicePort");
              //create call
              Call call = super.createCall(
                   portName,
                   new QName(targetNamespace, "processExternalDataBatch")
              ArrayList alist = new ArrayList();
              alist.add(new String("One"));
              alist.add(new String("Two"));
              alist.add(new String("Three"));
              alist.add(new String("Four"));
              alist.add(new String("Five"));
              String result = (String)call.invoke( new Object[]{ alist } );
              System.out.println("result=" + result);
         public static void main( String[] args ) throws Exception
              System.setProperty("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
              System.setProperty("javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
              new ServiceClient(args[0]);
    //private:
         private final static boolean debug = false;
    ### END OF EXTRACT ###
    Happy coding :-)
    Regards,
    Mike Wooten
    "fkeita" <[email protected]> wrote:
    In wls 700, I want to know how to write a dynamic client to invoke a webservice
    by
    passing wsdl?
    In the example directory, there is an example, but I would like to know
    how I can
    customize to use my own wsdl? clientgen puts wsdl in client jar file why
    is that?

  • Problem with IN OUT parameters whiloe calling procedure from Form 6i

    Hi
    Could some help please? I have the following scenario.
    I am calling a stored procedure from form 6i by pressing a button on the form. Procedure has two IN OUT parameters, and I am passing these two IN OUT parameters and have declared them the way they are declared passed to the procedure. But I get an error when calling that procedure with these IN OUT parameters. the procedure works fine if parameters are IN only. The error says:
    PLS:00363: Expression '1' cannot be used as an assigment target.
    NO matter I pass some value or leave it blank, I get the same error message persistenetly.
    Please help.
    Thanks

    make sure you are calling your procedure with variables as parameters,
    i.e.
          l_v1 := 1 ;
          l_v2 := 'hello world' ;
          your_proc(l_v1, l_v2)
    not
          your_proc(1,'hello world')

  • StoredProcedureCall with IN OUT Parameters order in Stored Procedure

    Refer to the Toplink documentID:Note 224269.1 - Using IN, OUT and INOUT parameters with StoreProcedureCall. This document can be download from OracleMetaLink:
    http://www.oracle.com/support/metalink/index.html
    I followed the sample code in this document to write a test case for one of complicated PL/SQL codes. The test case showed wrong results for IN/OUT and OUT parameters.
    At the end of the document above, I found this paragraph
    " Check the ordering of the arguments to make sure that they are in the following sequence:
    All 'IN' parameters, All 'OUT' parameters and then all 'INOUT' parameters.
    Your stored procedure must be set up the same way, since this is how values will be passed to it. This is the way in which TopLink stored procedure calls have been designed and implemented. "
    The order of our PL/SQL codes is IN, IN/OUT and OUT. We are not allowed to change our PL/SQL codes because they are currently used in production environment. We do not want to create another versions of PL/SQL codes to comply with IN, OUT, IN/OUT parameter order mentioned above.
    Do you have any work around solution?
    Dennis Nguyen
    LA County Sheriff IT

    I tried a simple example using named parameters and it worked in 9.0.4:
    CREATE OR REPLACE PROCEDURE
    "TEST_904"."STOREDPROCEDURE_INOUT_OUT_IN" (
         P_INOUT IN OUT NUMBER,
         P_OUT OUT NUMBER,
         P_IN NUMBER) AS
    BEGIN
    P_OUT := P_INOUT;
    P_INOUT := P_IN;
    END;
    public void storedProcedureOutInoutInTest() {
         System.out.println("storedProcedureOutInoutInTest");
        StoredProcedureCall call = new StoredProcedureCall();
        call.setProcedureName("STOREDPROCEDURE_INOUT_OUT_IN");
        call.addNamedArgument("P_IN");
        call.addNamedOutputArgument("P_OUT", "P_OUT", Integer.class);
        call.addNamedInOutputArgument("P_INOUT", "P_INOUT", "P_INOUT", Integer.class);
        call.setUsesBinding(true);
        DataReadQuery query = new DataReadQuery();
        query.setCall(call);
        query.addArgument("P_IN");
        query.addArgument("P_INOUT");
        Vector args = new Vector(2);
        args.add(new Integer(1));
        args.add(new Integer(2));
        Object result =  session.executeQuery(query, args);
        Map map = (Map)((Vector)result).firstElement();
        Integer result_p_inout = (Integer)map.get("P_INOUT");
        Integer result_p_out = (Integer)map.get("P_OUT");
         System.out.println("P_INOUT = " +  result_p_inout);
         System.out.println("P_OUT = " +  result_p_out);
    }Result:
    P_INOUT = 1
    P_OUT = 2

  • Is there a way to dynamically determine the number of out parameters for a server side procedure?

    Hi,
    Below is a helper method used for calling a server-side function which loops through the inbound bindVars parameter to populate the function's IN parameters. Is there a way to dynamically determine the IN/OUT parameters based on the procedure name in the stmt parameter? No members of the CallableStatement class seemed promising, but the getParameterMetaData() method in the PreparedStatement class seemed like it could be helpful lead. However, I have not found any detailed descriptions (yet) of how to use it.
    protected Object callStoredFunction(int sqlReturnType, String stmt,
      Object[] bindVars) {
      CallableStatement st = null;
      try {
      // 1. Create a JDBC CallabledStatement 
      st = getDBTransaction().createCallableStatement(
      "begin ? := "+stmt+";end;",0);
      // 2. Register the first bind variable for the return value
      st.registerOutParameter(1, sqlReturnType);
      if (bindVars != null) {
      // 3. Loop over values for the bind variables passed in, if any
      for (int z = 0; z < bindVars.length; z++) {
      // 4. Set the value of user-supplied bind vars in the stmt
      st.setObject(z + 2, bindVars[z]);
      // 5. Set the value of user-supplied bind vars in the stmt
      st.executeUpdate();
      // 6. Return the value of the first bind variable
      return st.getObject(1);
      catch (SQLException e) {
      throw new JboException(e);
      finally {
      if (st != null) {
      try {
      // 7. Close the statement
      st.close();
      catch (SQLException e) {}
    James

    The PreparedStatement.getParameterMetaData() object is exactly what you need for this task.
    Once you have the ParameterMetaData you can ask it how many parameters are present and which mode they are. The parameters are numbered from 1 to n and you can use ParameterMetaData.getParameterMode(1); to get the mode of the 1st parameter. The modes are defined as static values in the ParameterMetaData object. Check out the doc at http://docs.oracle.com/javase/7/docs/api/java/sql/ParameterMetaData.html
    Timo

  • Dynamic report based on Parameters and a Button

    Trying to make a dynmic report based on Parameters entered.Wanted to refresh report when i click on a button say "OK" based on parameters entered.
    (1) created 2 text boxes -- Parameters --One date and other employee No
    (2) on the same page i created a report-region which id dynamic "PL/SQL Function Returning SQL Query "
    In this query i am using the parameters created in step1
    (3) Then i created a Button say "OK" .
    (4) When i enter parameters and then press OK i need to refresh my report in region defined in step2
    This refresh is not happening .
    Not sure what is missing
    I tried using branching it didn't work
    In the dynamic region it shows "No data found"
    Please help

    sachin
    1) make sure there is no Optional Redirect defined on the OK button. That is, make sure the page is really submitted.
    2) in the PL/SQL body generating the query, print out the query using htp.p() so you get to see it and test it.
    3) use the session state link in the developer toolbar in conjunction with the technique in step 2) to debug your query
    Maybe the report region is refreshing, but it just isn't returning any results.
    Sergio

  • Time out parameters for ABAP and JAVA instance

    Hello All,
    We are looking for Time out parameters for our ABAP and JAVA instances.
    As users are complaining that they are getting time out error
    while they are trying to access Cprojects from Portal.
    I was able to check/collect the ABAP instance parameters from SMICM Tcode.
    Can anybody tell me which parameters we need to look for JAVA instance.
    Thanks in advance.
    Regards,
    Amber S

    jstart/shutdownTimeout
    (jstartup/shutdown_timeout)
    Specifies the shutdown timeout, i.e. the grace period for the AS Java instance to shut down before the Java process terminates itself.  Unt is in Seconds. Default is 120
    j2ee/ms/connectTimeout
    (jstartup/wait_for_scs)
    Specifies the timeout for the first connection to the message server. The AS Java instance fails to start if this timeout expires.Unt is in Seconds.Default is  60
    j2ee/ms/reconnectTimeout
    (jstartup/wait_for_reconnect)
    Specifies the timeout for the reconnecting to the message server.The AS Java instance shuts down when this timeout expires.Unt is inSeconds.Default is  3600 (one hour)
    Thanks

  • Enter parameters and then click on the option to fill out data

    I have a form for entering a start date and end date then click Open report button. The use wants to add a default option on this form to pull out data based on a condition (i.e., only class 1, 2, and 3 to be pulled out
    by default). If uncheck the option, the report will show ALL data (i.e., all classes). How can I do that? I think I should change the user requirement so that when he or she clicks on the button, class 1, 2, or 3 to be pulled (by default). And I
    will create an option button to pull out all students on that report. Can you please show me which way is better and how to do it? Thank you in advance.

    Thanks, Karl for your idea. But currently the form has nothing except the Start Date and End Date parameters and a button "open report". Once click, it will open the report with ALL classes. 
    Now the user wants to add an option control on the form and by default it will pull out records that meet the condition of class =1, class = 2  and class =3. Then after the user enters the dates parameters, and click
    on "open report" button, since it's default, the report shows only mentioned data.
     If the user uncheck the box, and click on the "open report" button, all classes will show up. How can I deal with this one? Thank you

  • "Formal OUT and IN OUT parameters can be returned in any order"

    Hi,
    From the PL/SQL Language Reference (11.2):
    Formal OUT and IN OUT parameters can be returned in any order. In this example, the final values of x and y are undefined:
    CREATE OR REPLACE PROCEDURE p (x OUT INTEGER, y OUT INTEGER) AS
    BEGIN
    x := 17; y := 93;
    END;
    What does this mean?  How are the values of x and y in any doubt here? I tested it and x and y were set to 17 and 93 respectively.
    Thanks in advance,
    Jason

    FrankKulash wrote:
    I wouldn't count on variable a being 93 after running this (though it has been 93 every time I've tried it).
    Right, even though it is quite logical OUT parameters are assigned in parameter number order (which is what Oracle is using in 10G & 11G - can't test on older versions), I didn't see it in documentation, so we can't assume it.
    SQL> CREATE OR REPLACE PROCEDURE p (x OUT INTEGER, y OUT INTEGER) AS
      2  BEGIN
      3  x := 17;
      4  y := 93;
      5  END;
      6  /
    Procedure created.
    SQL> DECLARE
      2      a   INTEGER;
      3  BEGIN
      4      p (a, a);
      5      dbms_output.put_line (a || ' = a aftr calling p (a, a)');
      6  END;
      7  /
    93 = a aftr calling p (a, a)
    PL/SQL procedure successfully completed.
    SQL> CREATE OR REPLACE PROCEDURE p (x OUT INTEGER, y OUT INTEGER) AS
      2  BEGIN
      3  y := 93;
      4  x := 17;
      5  END;
      6  /
    Procedure created.
    SQL> DECLARE
      2      a   INTEGER;
      3  BEGIN
      4      p (a, a);
      5      dbms_output.put_line (a || ' = a aftr calling p (a, a)');
      6  END;
      7  /
    93 = a aftr calling p (a, a)
    PL/SQL procedure successfully completed.
    SQL> CREATE OR REPLACE PROCEDURE p (y OUT INTEGER, x OUT INTEGER) AS
      2  BEGIN
      3  x := 17;
      4  y := 93;
      5  END;
      6  /
    Procedure created.
    SQL> DECLARE
      2      a   INTEGER;
      3  BEGIN
      4      p (a, a);
      5      dbms_output.put_line (a || ' = a aftr calling p (a, a)');
      6  END;
      7  /
    17 = a aftr calling p (a, a)
    PL/SQL procedure successfully completed.
    SQL> CREATE OR REPLACE PROCEDURE p (y OUT INTEGER, x OUT INTEGER) AS
      2  BEGIN
      3  y := 93;
      4  x := 17;
      5  END;
      6  /
    Procedure created.
    SQL> DECLARE
      2      a   INTEGER;
      3  BEGIN
      4      p (a, a);
      5      dbms_output.put_line (a || ' = a aftr calling p (a, a)');
      6  END;
      7  /
    17 = a aftr calling p (a, a)
    PL/SQL procedure successfully completed.
    SQL>
    SY.

  • DEFAULT values for OUT and IN/OUT parameters in PL/SQL

    Why are OUT and IN OUT parameters not allowed to have DEFAULT values assigned to them? Or is there a way around this?
    thank u

    For IN parameters this makes sense. For OUT parameters... hm... when you don't get anything out you also don't need a default value. I think the cases where you want to overload can't be compared with default values.
    For IN a default value would be like:
    If I don't add this parameter it should use 'DEFAULT' as INPUT value.
    For an out parameter:
    If I don't use a variable for this parameter the output value should be 'DEFAULT'.
    and written into nirvana? it does not make sense to say I output something but I don't output something.
    Message was edited by:
    Sven W.

  • How to get multiple out parameters from a pl/sql stored procedure in ADF Jdeveloper 11g release2

    I´m trying to call from AppModuleImpl a stored procedure from my oracle DB which receives one input parameter and returns 5 out parameters. 
    I´m using jdeveloper 11g release2  ADF and I have created a java bean "ProRecallPlatesBean " with the atributes and accesors and I serialize it. just like in this article http://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcadvgen.htm#sm0297
    This is my code so far:
    public ProRecallPlatesBean getCallProRecallPlates(String numPlates) {
    CallableStatement st = null;
    try {
              // 1. Define the PL/SQL block for the statement to invoke
              String stmt = "begin CTS.Pk_PreIn.proRecallPlates(?,?,?,?,?,?); end;";
              // 2. Create the CallableStatement for the PL/SQL block
              st = getDBTransaction().createCallableStatement(stmt,0);
              // 3. Register the positions and types of the OUT parameters
              st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.VARCHAR);
    st.registerOutParameter(4,Types.VARCHAR);
    st.registerOutParameter(5,Types.VARCHAR);
    st.registerOutParameter(6,Types.VARCHAR);
    // 4. Set the bind values of the IN parameters
    st.setString(1,numPlates);
    // 5. Execute the statement
    st.executeUpdate();
    // 6. Create a bean to hold the multiple return values
    ProRecallPlatesBean result = new ProRecallPlatesBean();
    // 7. Set values of properties using OUT params
    result.setSpfVal(st.getString(2));
    result.setTransportTypeVal(st.getString(3));
    result.setTransportCompanyVal(st.getString(4));
    result.setCompanyDescrVal(st.getString(5));
    result.setDGAPrint(st.getString(6));
    // 8. Return the result
    return result;
    } catch (SQLException e) {
    throw new JboException(e);
    } finally {
    if (st != null) {
    try {
    // 9. Close the JDBC CallableStatement
    st.close();
    catch (SQLException e) {}
    In Jdeveloper I went into AppModule.xml JAVA>Client Interface section and expose "getCallProRecallPlates" Then I can see "getCallProRecallPlates" in Data Controls, I drag and drop it to a JSF page, an input text component and a button are generated in order to put in there the procedure input parameter (numPlates).
    I don't know if I'm on the right track.
    When I click the button, the "result" variable is supposed to be filled with data from the stored procedure. I want each of those values to be displayed in Output text or input text adf components but I dont know how. Thank you very much in advance I´m a newbie and i'll appreciate your help!

    What version are you on?
    Works fine for me on my 11g:
    SQL> create or replace procedure testxml (clob_out out clob)
      2  is
      3     l_clob   clob;
      4     l_ctx    dbms_xmlquery.ctxhandle;
      5  begin
      6     l_ctx := dbms_xmlquery.newcontext ('select * from dual');
      7     l_clob := dbms_xmlquery.getxml (l_ctx);
      8     clob_out := l_clob;
      9     dbms_xmlquery.closecontext (l_ctx);
    10  end testxml;
    11  /
    Procedure created.
    SQL>
    SQL> variable vout clob;
    SQL>
    SQL> exec testxml (:vout)
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print vout
    VOUT
    <?xml version = '1.0'?>
    <ROWSET>
       <ROW num="1">
          <DUMMY>X</DUMMY>
       </ROW>
    </ROWSET>But definitely you can optimize your proc a bit: Try
    create or replace procedure testxml (clob_out in out nocopy clob)
    is
       l_ctx    dbms_xmlquery.ctxhandle;
    begin
       l_ctx := dbms_xmlquery.newcontext ('select * from dual');
       clob_out := dbms_xmlquery.getxml (l_ctx);
       dbms_xmlquery.closecontext (l_ctx);
    end testxml;
    /

  • PL/SQL Web Service.  Out Parameters are included in Request.

    I am using JDEVELOPER 11.1.1.3.0. I generated a web service from PL/SQL successfully.
    When the web service is generated and deployed (Deployed to the IntegratedWeblogicServer) it wants the output parameters to be included with the request.
    Here is an example of my wsdl.
    <wsdl:message name="AMP_WS_getCustomerDetails">
    <wsdl:part name="pGuid" type="xsd:string"/>
    <wsdl:part name="pCustName_out" type="xsd:string"/>
    <wsdl:part name="pCustomerId_out" type="xsd:decimal"/>
    <wsdl:part name="pStatus_out" type="xsd:decimal"/>
    <wsdl:part name="pMessage_out" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="AMP_WS_getCustomerDetailsResponse">
    <wsdl:part name="pCustName_out" type="xsd:string"/>
    <wsdl:part name="pCustomerId_out" type="xsd:decimal"/>
    <wsdl:part name="pStatus_out" type="xsd:decimal"/>
    <wsdl:part name="pMessage_out" type="xsd:string"/>
    </wsdl:message>
    In the AMP_WS_getCustomerDetails I am not expecting pCustName_out, pCustomerId_out, pStatus_out, or pMessage_out to be included. They are out parameters in the pl/sql.
    Has anyone else run into this?
    Thanks for any help.

    Parameters relate to procedures. Web Services require XML messages.
    Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
    Just package up the values into the XML and pass it to the web service.
    If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002}

  • Dynamic client in weblogic 9

    I have created a dynamic client to invoke a Web Service that uses non-built-in data types as parameter and return type in weblogic8.1 using ant task autotype and JAX-RPC. Now we are moving toward weblogic 9.0 but i could find equivalent way of creating dynamic client. So how can we create dynamic client in weblogic 9.0? I would also like to mention that our clients are standalone client. Thanks in advance for your help.

    Thanks for your response.My requirement is, if we change interface means return object or parameters then we don't want to do redeployment of client jar. we want if there is any changes to the interface then it should be taken automatically.

Maybe you are looking for

  • Starting up in black console screen

    My PB has just started booting up into a black screen. I get the grey Apple logo then the start-up progress bar - which seems a little quicker than usual - and then after a few moments of a blank blue screen, it goes to a black screen with the follow

  • Iphoto/ app store Help!!!

    Alight, I'm not good at explaining things so bare with me. About a year ago, my uncle who works at apple updated our family computer (or so he told my parents that he did). Anyhow, I got my own computer so the family computer was not of use to me. We

  • Simple Chat Client using Java

    Hi again. I'm thring to implement a simple chat client into my game and I need some help coding it, because it's way over my head. lol thanks

  • After updating today:  Everytime I try to sync, iTunes closes.

    My daughter updated her iTunes to the latest version today. (7.6.2.9) Now as soon as I connect the phone to my computer a window opens up and says "iTunes has stopped working" Then iTunes closes. Every thing worked fine until this update. Do I need t

  • Snap to point and line

    Sometimes when I try to drag a point or line to another point or line, it won't "snap" to it, even though I have the snap feature active. Anyone know why this happens. (Illustrator cs3) It seems to occur randomly.