Problem in calling BRI from PRI

Hi,
I am having problem in calling BRI from PRI. I am getting below message while debugging. Also note that calling from BRI to PRI is successful.
Mar 2 23:38:22: ISDN BR0/0 Q931: RX <- SETUP pd = 8 callref = 0x04
Sending Complete
Bearer Capability i = 0x8890
Standard = CCITT
Transer Capability = Unrestricted Digital
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info
Calling Party Number i = 0x2183, '1726601501'
Plan:ISDN, Type:National
*Mar 2 23:38:22: ISDN BR0/0:1: Incoming call rejected, unbindable
*Mar 2 23:38:22: ISDN BR0/0 **ERROR**: host_incoming_call: DIALER ERROR 0x1: b channel 0, call id 0x15E
*Mar 2 23:38:22: ISDN BR0/0 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x84
Cause i = 0x8095 - Call rejected
Pls help me.
Anis
9229109694

Dear Dharmesh,
Can u pls explain where to enable PPP Multilink.
Dear p.bevilacqua ,
I did what u told (configure "ppp chap username" under dialer interface), but the problem is same.
Anis

Similar Messages

  • Problem ! Calling report6 from forms6(run_product()) using global temporary table.

    Requirement :
    To generate stock movement report for certain selected items.
    Background :
    A Form is created with data block (tmp_item_master - a global temporary table)
    when_new_form_instance :
    inserting into tmp_item_master from item_master and then execute_query on tmp_item_master block.
    User selects certain items using check box provided.
    Now tmp_item_master is updated for ch_select_flag_yn = 'Y' for selected items
    and commit.
    Calling report from form(using run_product()).
    Now the main query in report, is joined with tmp_item_master where ch_select_flag_yn = 'Y'
    Here, we are unable to see the report for any item. As the global temporary table data is not visible in the report session.
    How to resolve this problem ?
    Note : global temporary table created with ON COMMIT PRESERVE ROWS
    Thanking you,
    From praful.
    null

    Hi,
    You are using 'ON Commit Delete Rows' . Instead of Use ' ON COMMIT PRESERVE ROWS'
    The ON COMMIT DELETE ROWS clause indicates that the data should be deleted at the end of the transaction.
    CREATE GLOBAL TEMPORARY TABLE my_temp_table (
    column1 NUMBER,
    column2 NUMBER
    ) ON COMMIT DELETE ROWS;
    In contrast, the ON COMMIT PRESERVE ROWS clause indicates that rows should be preserved until the end of the session.
    CREATE GLOBAL TEMPORARY TABLE my_temp_table (
    column1 NUMBER,
    column2 NUMBER
    ) ON COMMIT PRESERVE ROWS;
    Edited by: Mrucha on Nov 26, 2012 6:06 AM

  • Problem while calling concsub from shell script

    Hi All,
    I am facing problem when I am trying to run CONCSUB utility from shell script.The same works well when I try it from command line.The only prob I am facing from shell script is assigning values to temporary variables.
    This is how my script looks
    #!/bin/bash
    export PARM5="$5"
    export PARM6="$6"
    export PARM7="$7"
    echo "INTPARM5=\"$PARM5\""
    echo "INTPARM6=\"$PARM6\""
    echo "INTPARM7=\"$PARM7\""
    echo $FND_TOP/bin/CONCSUB $1 ONT 'Order Management Super User, Vision Operations (USA)' $3 WAIT=Y CONCURRENT ONT $PROGRAM "$INTPARM5" "$INTPARM6" "$INTPARM7"When I try to run the above shell based concurrent program it doesn't pass the parameters as expected and it errors out saying "Wrong number of arguments to call the procedure"
    I tried my luck from some of the previous posts ({thread:id=2360776} ),but to vain
    If anyone has any ideas,please suggest!!
    Thanks in advance!!
    Edited by: sandy on May 4, 2013 12:54 PM

    Here are your proofs
    Proocedure
       PROCEDURE abc(--p_errbuf            OUT   VARCHAR2,
                                                --p_errcode           OUT   VARCHAR2,
                                 p_order_no          IN    NUMBER DEFAULT NULL,
                                                p_customer_id       IN    NUMBER DEFAULT NULL,
                                 p_name              IN    VARCHAR2 DEFAULT NULL
          IS
                    v_cname    VARCHAR2(200);
               v_ordered_date DATE;
               v_order_number  NUMBER;
              v_order_type    VARCHAR2(200);
    BEGIN
                fnd_file.put_line(fnd_file.output, 'Begin Execution');
       SELECT DISTINCT ac.customer_name,
                    d.ordered_date ordered_date,
                    d.order_number order_number,
                    x.NAME order_type
            INTO   v_cname
               ,v_ordered_date
               ,v_order_number
               ,v_order_type
               FROM oe_order_headers_all d,
                    oe_transaction_types_tl x,
                    wsh_delivery_details b,
                    wsh_delivery_assignments c
                    ,ar_customers ac
              WHERE 1 = 1
                AND ac.customer_id = b.customer_id
                AND d.order_type_id = x.transaction_type_id
                AND x.LANGUAGE = 'US'
                AND b.released_status = 'B'
                AND b.source_header_id = d.header_id
                AND c.delivery_detail_id = b.delivery_detail_id
                AND d.order_number=NVL(p_order_no,d.order_number)
                AND ac.customer_id = NVL(p_customer_id,ac.customer_id)
             AND x.name=NVL(p_name,x.name)
                AND NOT EXISTS (SELECT 1
                                FROM wsh_delivery_details b
                               WHERE 1 = 1
                                      AND b.released_status != 'B'
                                      AND b.source_header_id = d.header_id)
                                       --BETWEEN ('1213794') and ('1213797'))
                AND rownum<2;
            INSERT INTO xxc_temp(customer_name,ordered_date,order_number,order_type) VALUES(v_cname,v_ordered_date,v_order_number,v_order_type);
            COMMIT;
             fnd_file.put_line(fnd_file.output, 'Order Number is' || v_order_number);
             fnd_file.put_line(fnd_file.output, 'Order Type is'   || v_order_type);
       END;Script
    #!/bin/bash
    set -x
    export PARM5="$5" 
    export PARM6="$6"
    export PARM7="$7"
    sqlplus -s $1 <<EOF
    set head off feed off serverout on size 1000000
    exec abc('$PARM5','$PARM6','$PARM7');
    exit
    EOFNow when I run the 'XX Order Detail CSV Report' I get the below log and no Output
    +---------------------------------------------------------------------------+
    Application Object Library: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXKES_PDF_TRANSFER module: XX Order Detail CSV Report
    +---------------------------------------------------------------------------+
    Current system time is 06-MAY-2013 05:05:56
    +---------------------------------------------------------------------------+
    + export PARM5=66432
    + PARM5=66432
    + export PARM6=
    + PARM6=
    + export PARM7=Mixed
    + PARM7=Mixed
    + sqlplus -s APPS/APPS
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    0
    +------------- 1) PRINT   -------------+
    Disabling requested Output Post Processing.  Nothing to process.  The output of the request is zero byte.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed successfully
    Current system time is 06-MAY-2013 05:05:56
    +---------------------------------------------------------------------------+After the concurrent program executed I queried the table xxc_temp and here you see the data
    SQL> select * from xxc_temp;
    CUSTOMER_NAME
    ORDERED_D ORDER_NUMBER ORDER_TYPE
    A. C. Networks
    18-FEB-13        66432 MixedMy procedure fetches the data fro given set of i/p parameters but it doesn't give o/p coz it's a host based conc program.Please advise if there's a way to get the o/p in a host based conc program
    Thanks!!

  • Problem in Calling BSP from Workflow

    Hi All,
         I have develpoed a workflow where in I am calling a BSP applicaiton , what ever the necessary steps that are required to take I did them perfectly and even Iam able to call the BSp application,This wrokflow is triggred from the portal when ever user clicks a link.
    Now the Problem is when I am directly executing the workflow from wrokflow builder directly it is opening the BSP application , but actually what should happen is a ACTIVITY is sent to SAP Business Wrok Place and fromt there if the AGENT executes the task then it should open the BSP aplication.
    Now In my case the BSP application is opening as soon as I execute the workflow directly and in the BUSINESS PLACE also the TASk is stored in the inbox .
    I want to open the BSp application only when AGENT executes the TASk from the Business Work Place
    What can be done , to over come this problem?
    PROBLEM SOLVED
    Thanks
    Pavan

    Could you please share the solution as it would be of great help?

  • Problem while calling servlet from java bean

    I am trying to call a servlet from java bean in cep.
    My java bean:
    package com.bea.wlevs.example.algotrading;
    import com.bea.wlevs.ede.api.StreamSink;
    import com.bea.wlevs.example.algotrading.event.MarketEvent;
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.Unmarshaller;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.StringReader;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLConnection;
    public class MarketEventBean implements StreamSink {
         String s=null;
         public void onInsertEvent(Object event) {
              if (event instanceof MarketEvent) {
                   MarketEvent marketEvent = (MarketEvent) event;
                   try {
                        JAXBContext cxt = JAXBContext.newInstance(MarketEvent.class);
                        Unmarshaller unmarsh = cxt.createUnmarshaller();
                        StringReader strReader = new StringReader(marketEvent.getString_1());
                        MarketEvent obj = (MarketEvent) unmarsh.unmarshal(strReader);
                        s=obj.getSymbol();
                        System.out.println("data: " + s);
                   } catch(Exception e) {
                        e.printStackTrace();
                   try {
                        System.out.println("test1");
         URL url = new URL("http://172.18.21.94:7001/AppServletrecv-Model-context-root/ReceiveServlet");
         URLConnection conn = url.openConnection();
              System.out.println("test2");
         conn.setDoOutput(true);
              System.out.println("test3");
         BufferedWriter out =
         new BufferedWriter( new OutputStreamWriter( conn.getOutputStream() ) );
         out.write("symbol="+s);
              System.out.println("test4");
         out.flush();
         System.out.println("test5");
         out.close();
         System.out.println("test6");
         BufferedReader in =
         new BufferedReader( new InputStreamReader( conn.getInputStream() ) );
              System.out.println("test7");
         String response;
         while ( (response = in.readLine()) != null ) {
         System.out.println( response );
         in.close();
         catch ( MalformedURLException ex ) {
         // a real program would need to handle this exception
         catch ( IOException ex ) {
         // a real program would need to handle this exception
    My servlet code:
    package model;
    import javax.servlet.http.HttpServlet;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class ReceiveServlet extends HttpServlet {
    private final static String _SYMBOL = "symbol";
    public void doPost(HttpServletRequest request, HttpServletResponse response) {
    * Get the value of form parameter
    // private final static String USERNAME = "username";
    String symbol = request.getParameter( _SYMBOL );
    * Set the content type(MIME Type) of the response.
    response.setContentType("text/html");
    * Write the HTML to the response
    try {
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<title> A very simple servlet example</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<h1>Hello " + symbol +"</h1>");
    out.println("</body>");
    out.println("</html>");
    out.close();
    } catch (IOException e) {
    Web.xml:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
    <servlet>
    <servlet-name>ReceiveServlet</servlet-name>
    <servlet-class>model.ReceiveServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ReceiveServlet</servlet-name>
    <url-pattern>/ReceiveServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    My servlet is running in weblogic server.
    But when I am running this program in weblogic server side there is no log.
    Edited by: 856272 on Jun 23, 2011 6:43 AM

    I would run both sides in a debugger and see what code is getting invoked

  • Problem in calling Webservice from Webdynpro ABAP

    I want to call a BAPI FM which is available in SAP ECC server when user is clicking on a button in a web dynpro application which is available in SAP Portal server.
    For example,
    Portal server name is DVP-EPP &
    ECC server name is DVP-ECC
    I have the done the following steps to achieve it,
    In Server DVP ECC:
    1) Created Web service from the standard BAPI FM (SE37-->Utilities-->More Utilities-->Create WebService --> From the the Func.Module)
    2) Downloaded the WebService as WSDL file from SOAMANAGER
    3) Tested the Web service through SE80, it is correctly calling the BAPI & creating necessary data.
    In Server DVP EPP:
    4) Created a Proxy class as follows,
    a) SE80 --> Package --> Create --> Enterprise service
    b) Selected Object type "Service Consumer"
    c) Selected Service Consumer "Local File"
    d) Browsed and selected WSDL file downloaded from DVP ECC
    e) Selected the Package, Prefix, Request, Completed the process & Activated it.
    5) Configured the Logical port as follows,
    a) Selected my Proxy class through F4
    b) Wrote a name for Logical port, Selected 'Default port' checkbox and selected 'Create'
    c) In the next screen, in 'Call parameters' tab, selected the 'URL' radio button & mentioned the URL of the WSDL-Document created in DVP-ECC system
    d) Saved the data & activated it
    5) Now, tested the service through (SE80-->Package-->Enterprise Services-->Client Proxy) option.
    6) When I test it, system prompts a dialog box for User-Name & Password (as available in DVP-ECC system).
    After the details are given, system throws the Information message as "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/" - Exception of class CX_AI_SYSTEM_FAULT
    No record is created in DVP-ECC through the WebService BAPI.
    Please tell me whether the steps that I followed are correct as per my requirement and a solution for the above interruption.
    Thanks in advance

    Good day guys,
    Somehow I managed to resolve the above error.
    Now in DVP-EPP system, I am able to Test the Web service Client Proxy (through SE80) and a record is successfully created in destination system (DVP-ECC).
    Now, in Webdynpro I am unable to call this webservice proxy class.
    System throws the error,
    Error (id=SoapFaultCode:5): Web service processing error; more details in the
    web service error log on provider side (UTC timestamp 20141006045544;
    Transaction ID 9A144DE49C12F1B5A6B9E41F137BE3CC)
    I just created a sample WDA application and on click of a button I am calling the Webservice Proxy class as follows,
    Method on_submit_click().
    TRY.
          CREATE OBJECT wd_assist
            EXPORTING
              logical_port_name = 'ZLOG_PORT'. "Logic port creatd for Proxy class (in SOAMANAGER)
          CALL METHOD wd_assist->bus1240create     "Method available in generated Proxy Class
            EXPORTING
              input  = ls_inp                                        
            IMPORTING
              output = ls_outp.
        CATCH cx_ai_system_fault.
      ENDTRY.
    ENDMETHOD.
    Do I have to do any thing additionally in order to call the WebService in WDA?? Because, in the same system, if I test it in SE80, record is perfectly created in destination server.
    Also please suggest if I have to do any other configuration changes related to this.
    Keenly awaiting your reply.
    Have a nice day .
    Thank you.

  • Problem with calling Webservice from Java Webdynpro

    Hi,
    I have a scenario where I need to call a Webservice through my Webdynpro application. I need to pass few parameters(of type string) and the Webservice is suppose to retrun a few records based on the input values.
    When I run the webservice directly using the browser, the output is in XML format.
    When I create a model for the webservice in webdynpro, the return value is a Node element of type java.lang.Object. From webdynpro, I am successfully able to make a call to the Webservice (as there is no exception with model execute command), but the return value is always null. I am not sure if the webservice is not returning any data or if I am not reading the correct context element. There is no documentation available for the webservice either.
    Can anyone tell me what is that I am missing. Is it not possible for Webdynpro to call a webservice which can return only XML data?
    Any help on this issue would be greatly appreciated.
    Thanks,
    Sudheer

    Hi Sudheer,
    You can refer to wiki link (& other links available at the end in this)
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq-Models-AdaptiveWebService
    Kind Regards,
    Nitin

  • Problem while calling webservice from a plsql stored procedure

    Hi everybody,
    I need to call a webservice from a plsql stored procedure.
    I was following documentation published in the otn at the following link.
    "http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html"
    I am encountering the following error on my sql prompt-
    SQL> exec dbms_output.put_line(time_service.get_local_time('94065'));
    BEGIN dbms_output.put_line(time_service.get_local_time('94065')); END;
    ERROR at line 1:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1022
    ORA-12545: Connect failed because target host or object does not exist
    ORA-06512: at "APPS.DEMO_SOAP", line 65
    ORA-06512: at "APPS.TIME_SERVICE", line 13
    ORA-06512: at line 1
    Has anybody worked on the same example. Please direct me.
    Thanks & Regards
    Kiran Kumar

    Kiran, were you able to solve this?
    I am facing the same error.
    Oracle Server is Unix and webservice is .NET.
    I am able to connect to Java web service.

  • Problem while Calling Webservice from ABAP

    Hello All,
                 I am Calling the Webservice using ABAP-Class from abap,i getting the following HTML response error from the Webservice.Can any one help me.
    tional//EN">######
    ####td {font-family : Arial, Tahoma
    , Helvetica, sans-serif; font-size : 14px;}##A:lin
    k ##A:visited
    ##A:active ####
    Thanks and Regards,
    Kamal

    It is not finding the correct URL - hence the 404 - page not found error.
    Correct the URL and try again.

  • Problem in calling BLT from external system as Web Service

    Hi All,
    I have written a BLT, which basically does some functionality with certain input and gives out some output. Stored the transaction and taken the WSDL from ../WSDLGen/..../TransactionName
    Then using that WSDL in external application (3rd party tool basically does web services call) calling the BLT with the required input.
    BLT also called and sends out the output as expected to external application.
    But the weird happening here, some times it calls some time it not.
    Alternatively calls some times. Goes in to fault.
    Its not working for sequential calls.why is it? Do i need to clear any thing?
    while calling I ahve to close Business Logic Editor? I have done all the things still works occasionally.
    Thanks in advance,
    Murugappan.

    Murugappan,
    Now the version should be 11.5.3 which is available on the  <a href="http://service.sap.com">SAP Service Marketplace</a>.  The URL call should be: http://<ServerName>/Lighthammer/WSDLGen/<Path To Transaction>/<TransactionName>.  The output transaction property has to be of type String, but the string can be XML data.  Please post what the results of your efforts are.
    -Sam

  • Problem in calling arraylist from client

    Hi
    I am trying to execute a webservice program and facing some problems in the
    client side ,am trying to pass arraylist from client in weblogic8.1
    this is my client code and the error i am getting on the serverside all the files
    are getting generated properly,am i missing something.
    i have webserviceclient.jar in the classpath also,
    package examples.webservices.basic.statelessSession;
    import weblogic.utils.Debug;
    import java.util.ArrayList;
    import java.util.Collection;
    import javax.xml.soap.SOAPConstants;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.encoding.TypeMapping;
    import javax.xml.rpc.encoding.TypeMappingRegistry;
    import weblogic.xml.schema.binding.internal.builtin.JavaUtilArrayListCodec;
    import weblogic.xml.schema.binding.internal.builtin.JavaUtilCollectionCodec;
    public final class Client {
    private final static boolean debug = true;
    private final static boolean verbose = true;
    public Client() {}
    public static void main(String[] argv)
    throws Exception
    HelloWorldEJB_Impl ws = new HelloWorldEJB_Impl(argv[0]);
    HelloWorldEJBPort port = ws.getHelloWorldEJBPort();
    TypeMappingRegistry registry = ((Service)port).getTypeMappingRegistry();
    TypeMapping mapping = registry.getTypeMapping(SOAPConstants.URI_NS_SOAP_ENCODING
    mapping.register(
    ArrayList.class,
    new QName("java:language_builtins.util", "ArrayList"),
    new JavaUtilArrayListCodec(),
    new JavaUtilArrayListCodec()
    mapping.register(
    Collection.class,
    new QName("java:language_builtins.util", "Collection"),
    new JavaUtilCollectionCodec(),
    new JavaUtilCollectionCodec()
    ArrayList arrList = new ArrayList(1);
    arrList.add("ccc");
    arrList.add("bbb");
    port.sayHelloList(arrList);
    The error i am getting while compiling with ant is
    [javac] C:\bea\weblogic81\samples\server\examples\src\examples\webservices\b
    asic\statelessSession\Client.java:92: sayHelloList(java.lang.Object[]) in exampl
    es.webservices.basic.statelessSession.HelloWorldEJBPort cannot be applied to (ja
    va.util.ArrayList)
    [javac] port.sayHelloList(arrList);
    [javac] ^
    [javac] 1 error
    Kindly reply at the soonest
    Sindhu

    Hi
    I tried object[] that was working fine but the requirement for the project
    is that we should use arraylists.i found a solution like i overwrote the xml in
    client.jar but again looks like i have to regenrate the stubs.
    Is there any way to regenerate except using the clientgen
    this time i got
    run:
    [java] java.rmi.RemoteException: null; nested exception is:
    [java] java.lang.ClassCastException
    [java] at examples.webservices.basic.statelessSession.HelloWorldEJBPort
    Stub.sayHelloList(HelloWorldEJBPortStub.java:32)
    [java] at examples.webservices.basic.statelessSession.Client.main(Clien
    t.java:75)
    [java] Caused by: java.lang.ClassCastException
    [java] at weblogic.xml.schema.binding.internal.builtin.JavaUtilCollecti
    onCodec.serializeOneDimArray(JavaUtilCollectionCodec.java:90)
    [java] at weblogic.xml.schema.binding.SoapArrayCodecBase.gatherContents
    (SoapArrayCodecBase.java:442)
    [java] at weblogic.xml.schema.binding.CodecBase.serializeFill(CodecBase
    .java:279)
    [java] at weblogic.xml.schema.binding.CodecBase.serialize_internal(Code
    cBase.java:216)
    [java] at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.jav
    a:178)
    [java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(Ru
    ntimeUtils.java:188)
    [java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(Ru
    ntimeUtils.java:174)
    [java] at weblogic.webservice.core.DefaultPart.invokeSerializer(Default
    Part.java:324)
    [java] at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:2
    97)
    [java] at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.
    java:619)
    [java] at weblogic.webservice.core.ClientDispatcher.send(ClientDispatch
    er.java:206)
    [java] at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDisp
    atcher.java:143)
    [java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
    tion.java:444)
    [java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
    tion.java:430)
    [java] at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:2
    70)
    [java] at examples.webservices.basic.statelessSession.HelloWorldEJBPort
    Stub.sayHelloList(HelloWorldEJBPortStub.java:26)
    and my xml i changed this way
    <wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <wsdd:type-mapping-entry xmlns:p1="java:language_builtins.util"
    type="p1:ArrayList"
    class-name="java.util.ArrayList"
    serializer="weblogic.xml.schema.binding.internal.builtin.JavaUtilArrayListCodec"
    deserializer="weblogic.xml.schema.binding.internal.builtin.JavaUtilArrayListCodec">
    </wsdd:type-mapping-entry>
    </wsdd:type-mapping>
    Sindhu
    "jas" <[email protected]> wrote:
    >
    If you haven't already ... please see the thread below .. This might
    be of sokme
    use
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=4378&utag=
    cheers
    jas
    "sindhu" <[email protected]> wrote:
    Hi
    I am trying to execute a webservice program and facing some problems
    in the
    client side ,am trying to pass arraylist from client in weblogic8.1
    this is my client code and the error i am getting on the serversideall
    the files
    are getting generated properly,am i missing something.
    i have webserviceclient.jar in the classpath also,
    package examples.webservices.basic.statelessSession;
    import weblogic.utils.Debug;
    import java.util.ArrayList;
    import java.util.Collection;
    import javax.xml.soap.SOAPConstants;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.encoding.TypeMapping;
    import javax.xml.rpc.encoding.TypeMappingRegistry;
    import weblogic.xml.schema.binding.internal.builtin.JavaUtilArrayListCodec;
    import weblogic.xml.schema.binding.internal.builtin.JavaUtilCollectionCodec;
    public final class Client {
    private final static boolean debug = true;
    private final static boolean verbose = true;
    public Client() {}
    public static void main(String[] argv)
    throws Exception
    HelloWorldEJB_Impl ws = new HelloWorldEJB_Impl(argv[0]);
    HelloWorldEJBPort port = ws.getHelloWorldEJBPort();
    TypeMappingRegistry registry = ((Service)port).getTypeMappingRegistry();
    TypeMapping mapping = registry.getTypeMapping(SOAPConstants.URI_NS_SOAP_ENCODING
    mapping.register(
    ArrayList.class,
    new QName("java:language_builtins.util", "ArrayList"),
    new JavaUtilArrayListCodec(),
    new JavaUtilArrayListCodec()
    mapping.register(
    Collection.class,
    new QName("java:language_builtins.util", "Collection"),
    new JavaUtilCollectionCodec(),
    new JavaUtilCollectionCodec()
    ArrayList arrList = new ArrayList(1);
    arrList.add("ccc");
    arrList.add("bbb");
    port.sayHelloList(arrList);
    The error i am getting while compiling with ant is
    [javac] C:\bea\weblogic81\samples\server\examples\src\examples\webservices\b
    asic\statelessSession\Client.java:92: sayHelloList(java.lang.Object[])
    in exampl
    es.webservices.basic.statelessSession.HelloWorldEJBPort cannot be applied
    to (ja
    va.util.ArrayList)
    [javac] port.sayHelloList(arrList);
    [javac] ^
    [javac] 1 error
    Kindly reply at the soonest
    Sindhu

  • Problem with calling dispose() from static method

    I have one class, where I have this:
    EditorWindow.disposeWindow();and class EditorWindow, where I have static method
    protected static void disposeWindow() {
        dispose();
    }But, dispose() cant be called from static method. Is there any way to hide or close the EditorWindow window?

    kaneeec wrote:
    I dont have references of these windows, because it would be too difficult. They are created just by new Window().setVisible(true);It's not difficult:
    Window w = new Window();
    w.setVisible(true);Now you have a reference (w) to your window that you can later call dispose() on.
    w.dispose();dispose() isn't a static method, so you have no choice but to call it on a specific instance.

  • Wierd SQL problem when calling StoredProc from Forms's JavaBean

    Hello,
    I have a Oracle Forms form and it contains JavaBean that uses Oracle DB via JDBC. Wierd thing is that sometimes I get following error in Oracle Forms.
    Error: ORA-06550 line, column 13: PLS-00201: identifier 'F1' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored.
    What in earth this means? Sometimes I don't get it put after a while it starts appearing again.
    F1 is a following function in DB:
    CREATE OR REPLACE FUNCTION F1 ( PN$Param IN NUMBER )
    RETURN VARCHAR2
    IS
    BEGIN
    DBMS_LOCK.Sleep( PN$Param ) ;
    RETURN ('Function ended at ' || To_Char(SYSDATE,'HH24:MI:SS') );
    END;
    My Oracle Forms Pushbutton code is following: (WHEN-BTN-PRESSED)
    Declare
         LC$Res Varchar2(32000) ;
    Begin     
    Set_Custom_Property( 'EMP.BEAN',
    1, 'INITCONN', 'jdbc:oracle:thin:@localhost:1521:demo') ;
    Set_Custom_Property( 'EMP.BEAN', 1, 'INITUSER', 'scott' ) ;
    Set_Custom_Property( 'EMP.BEAN', 1, 'INITPWD' , 'tiger' ) ;           
    Set_Custom_Property( 'EMP.BEAN', 1, 'INITFUNC',
    'begin ? := ' || 'F1(10);' || ' end;' ) ;
    Message('Command sent'); synchronize;      
    End ;
    And JavaBean just fetch data using JDBC code below:
    CallableStatement function = conn.prepareCall (sQuery);
    function.registerOutParameter(1, Types.CHAR);
    function.execute ();
    sValue = function.getString (1) ;
    function.close();
    The purpose is to wait 10 seconds and then return time after that.
    I have put JavaBeans code in jar file, signed it and declated it to Oracle Forms.
    When I have created F1 I have granted execute public access:
    grant execute on F1 to public;
    Have anyone any ideas what could cause this kind of error?
    Cheers!

    Do they give support to their sample snippets?
    Yep, StoredProc+PLSQL is taken from French site's sample to this sample
    but that is the real issue of samples. Or do you disagree?
    But I and my collague have same problems with same kind of thing.
    One thing was that taking time from DB might charge more user rights... but I'm not sure. So, please tell if you know something. Quite mnny seems to have problems with that SP.

  • The problem about call dll from VB....

    Dear All.
    I have a device and  VB dll file.I want to use labview to call  dll.But Labview show "An Exception occurred within the external code ..."
    Below is  to call this dll details.
    1、FindHardware:
    Call it at beginning when load program first, it can let program auto detect printer port address and model of dso scope.
    parament
    winversion:
    winversion = 2  "Windows NT,XP"
    UIP: open UIP(2048) array
    UCP:open  UCP(1023, 1023 + 11, 6)  array
    return:
    board_model:
    dso2902_128 = 27
    Then is my program
    Could somebody tell me what's wrong?
    Attachment file is this dll.
    http://us.f1.yahoofs.com/bc/500cf3ac/bc/dll/dll.ra​r?bfd1QSDBkHPgKI9c
    Thanks.
    由 Samyang 在 10-09-2005 07:14 AM 上編輯的訊息

    I can't say I understand the documentation snippet you provides, and I also can't access the DLL, but here are a couple things...
    1. I doubt very highly that a VB DLL is built with the C calling convension. I believe you should try the stdcall instead.
    2. You have the winversion being passed by pointer, but the docs make it look like a regular integer. Is that correct?
    3. Your board model is being passed by value, but it is listed as a return value in the docs. That would indicate an actual return value or a parameter passed by reference.
    My guess is that one or more of the above is causing the stack to get corrupted or an invalid pointer to be accessed and that is generating the error. Is there anyway to see the document (pdf or webpage)?
    Brian Tyler
    http://detritus.blogs.com/lycangeek

  • List problem while calling report from froms

    forms 6i i am using.
    i am passing parameters to report from my form.
    in report i have company parameter.
    user select ALL/Specific
    i populate list for specific on run time like with this query.
    Populate_Group_With_Query(rg_id,'select sym_code,sym_code from companies');
    but how can i populate companies name along with all option in my list item.

    query works fine..
    now i have all in my list along with other sym_code.
    but when i give ...ALL... as initial value in my list item..
    it gives error
    initial value does not match available list items.
    even all is in list..

Maybe you are looking for