Calling jax-rpc from applet

Hi,
I have been able to get the examples for jwsdp-1.2 to run ok. What I want now is to build an applet which calls by jax-rpc a webservice of my own. Now I get the following error:
java.lang.NoClassDefFoundError: com/sun/xml/rpc/client/BasicService
Should I install an extra jar file on the client ? Which jar file ? Where must I put it ?
Any hints will be appreciated,
Kind regards
Marco Laponder
mlr AT interchain DOT nl

I found out the jars to use...see my next post with new problems :-(
Kind regards
Marco Laponder

Similar Messages

  • Calling a webservice(JAX-RPC) from non java client ?

    Hi,
    I read JAX-RPC is used for accessing webservices by calling the webservice methods from a java-based client.
    Is it possible to call the Webservice methods(writeen using jax-rpc) from a non-java client,who sends his request in the form of SOAP based calls?
    If JAX-RPC is not the correct one to call a RPC from a non-java client,In what way i can do this?
    Can anyone please clarify my doubt..,
    Thanks in Advance
    Rao.,

    Hi Arun,
    Can i write a my client program using cgi scripts?
    In the JAX-RPC docs it was said that i can invoke my Webservices through my Service endpoints or using WSDL location?
    If iam using a Non-java Client,it will be easier(I think) to use the WSDL file to call the Web-Service(deployed using JAX-RPC).But,the Client should be aware of that WSDL file.
    I have to develop a small Application using webServices(must use XML,SOAP technologies).The user will pass some Parameters as request and the Response should be an XML(SOAP message) message.User should be able to request via browser.(http://localhost:8080/)
    Can you please suggest me which technology is correct to use,so that i can use the XML,SOAP in it.
    Please let me know...,
    thank you once again..,
    Regards
    Rao.,

  • How to call JSP page from applet?

    I have some page1.jsp from which I call applet.
    User works with this applet but some information does not in date inside applet.
    So user click on some component at applet (some button etc.) and now I would like to do this:
    1) open new window;
    2) call page2.jsp at this new window.
    The reason is that page2.jsp will read some data from database and then displays it in HTML inside page2.jsp itself. It is not necessary to pass these date back to applet for displaying them inside of applet.
    So user then can have 2 windows: page1.jsp with applet and page2.jsp with some details information.
    But I DO NOT know how to call page2.jsp from applet, and do ti in a new window. Is it possible and how?
    Thanks
    Mirek

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MainMenu extends JApplet implements ActionListener
         private JMenuBar mbar;
         private JMenu Master,Leave,Report,Logout;
         private JMenuItem UserMaster,DeptMaster,DesignationMaster,LeaveAvailable,LeaveApply,Generate;
         private JPanel jp;
         public void init()
              mbar=new JMenuBar();
              Master=new JMenu("Master");
              Leave=new JMenu("Leave");
         Report=new JMenu("Report");
              Logout=new JMenu("Logout");
              UserMaster=new JMenuItem("UserMaster");
              UserMaster.setMnemonic('U');
              DeptMaster=new JMenuItem("DeptMaster");
              DeptMaster.setMnemonic('D');
              DesignationMaster=new JMenuItem("DesignationMaster");
              DesignationMaster.setMnemonic('D');
              LeaveAvailable=new JMenuItem("LeaveAvailable");
              LeaveAvailable.setMnemonic('L');
              LeaveApply=new JMenuItem("LeaveApply");
              LeaveApply.setMnemonic('L');
              Generate=new JMenuItem("Generate");
              Generate.setMnemonic('G');
              Master.add(UserMaster);
              Master.add(DeptMaster);
              Master.add(DesignationMaster);
              mbar.add(Master);
              Leave.add(LeaveAvailable);
              Leave.add(LeaveApply);
              mbar.add(Leave);
              Report.add(Generate);
              mbar.add(Report);
              mbar.add(Logout);
              UserMaster.addActionListener(this);
              DeptMaster.addActionListener(this);
              DesignationMaster.addActionListener(this);
              LeaveAvailable.addActionListener(this);
              LeaveApply.addActionListener(this);
              Generate.addActionListener(this);
              Logout.addActionListener(this);
              mbar.setVisible(true);
              Container con=getContentPane();
              con.add(mbar,BorderLayout.NORTH);
         public void actionPerformed(ActionEvent ae){
              if(ae.getSource()==UserMaster)
              }

  • Calling javascript function from applet

    Can anyone pl help me with the syntax for calling a javascript function from applet.
    Thanx.

    Try this url:
    http://www.inquiry.com/techtips/java_pro/10MinuteSolutions/callingJavaScript.asp
    It also provides some examples.

  • Calling web service from applet

    Hi,
    I am trying to consume a .NET web service from a java applet. I use JDev9i and I generated a clientside-stub...
    It works fine in the development environnement, but I get this exception when executing from browser:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertiesAccess(Unknown Source)
         at java.lang.System.getProperties(Unknown Source)
         at oracle.soap.transport.http.OracleSOAPHTTPConnection.<clinit>(OracleSOAPHTTPConnection.java:105)
         at AppletPackage.Service1Stub.<init>(Service1Stub.java:23)
    I replaceOracleSOAPHTTPConnection with SoapHTTPConnection, but then I get the same exception when trying to execute
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData)); (in the stub)
    Is there anything wrong with the methods of the Oracle packages that could cause security problems?

    Nope, the problem is that the webservice impl is trying to get all system properties and this is a restricted operation for applets. Seems like every single api impl done by oracle is not usable from applets, unless you sign them. I've tried webservices, xml and jndi.. all of them rely on system properties

  • Call a JSP from applet and display the results in the browser

    Hello All,
    I have written an applet which performs some functionality at the clinets browser. When the applets method finishes exectution, I would like to call
    a jsp. The results of the JSP should be displayed like a normal page in the browser.
    I tried creating a HttpURLConnection and calling the jsp but two things happened
    1. The jsp call failed because the applet doesn't have a valid session id.
    2. even if I disable the valid user check at the jsp, the results of the jsp are returned as a set of bytes to the applet. They are not displayed in the browser window.
    Then I tried applet.getAppletContext().showDocument()... However with this api I cannot do a POST operation on the JSP with some input data because this takes only a URL as an input parameter.
    Please help me in this problem and I will be very gratefull to you.
    1. applet uses the same session id as the browser so that when applet makes a request to the jsp it does not get user invalid exception.
    2. the results of the jsp are displayed on the browser and not given to the applet.
    Thank you so much for your help.
    regards,
    Abhishek.

    I hope this can help you
    I made a package calls fun
    and a clsss calls JspTestingFun
    package fun;
    public class JspTestingFun{
      private String sample = "welcome to jsp";
      //Access sample property
      public String getSample() {
        return sample;
      //Access sample property
      public void setSample(String newValue) {
        if (newValue!=null) {
          sample = newValue;
    }then I make a jsp file
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
    <%@ page import =  "fun.JspTestingFun"%>
    <html>
    <head>
    <title>
    jspTest
    </title>
    </head>
    <jsp:useBean id="mytest" scope="session" class="fun.JspTestingFun" />
    <jsp:setProperty name="mytest" property="*" />
    <body bgcolor="#ffffff">
    <%
    mytest.getSample();
    %>
    <h1>
    Just for testing
    </h1>
    <form method="post">
    <br>Enter anything   :  <input name="sample"><br>
    <br><br>
    <input type="submit" name="Submit" value="Submit">
    <input type="reset" value="Reset">
    <br>
    this what we get<jsp:getProperty name="mytest" property="sample" />
    </form>
    </body>
    </html> 

  • Java.security.AccessControlException when calling web service from applet

    I have an applet that calls a webservce (Xmethods' delayed stock quote service). When I run the applet in appletviewer, I get the following:
    [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.security.AccessControlException: access denied (java.net.SocketPermission 66.28.98.121:9090 connect,resolve); targetException=java.lang.IllegalArgumentException:
    Error opening socket: java.security.AccessControlException:
    access denied
    etc.....
    My code works fine as an application, but not as an applet. (This was after I eventually had to extract the necessary SOAP .jar files into the same directory as my applet, but that's another topic...or maybe not?)
    Help!
    Regards,
    John Kirksey                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    The default security settings does not give an applet to connect to any other server apart from the one from which it was downloaded. This is your problem. To mitigate that you have to change the security setting of the applet conatiner i.e the JVM in the browser.
    Ironluca

  • Calling JSP file from applet and passing a parameter in POST form

    Hi,
    Can anybody help me. I want to call a JSP page from within a applet and to this JSP page i want to pass the query which the applet has created in POST method.
    I want to refresh the applet page with the new JSP page by passing the query object so the jsp page with take this query, and display the resultset
    Thanks in advance
    JK

    Review
    URL.openConnection()
    and HttpURLConnection

  • Can Call Web Service from Applet?

    Can we call a .NET Web Service from an Applet?.
    Please help me.

    if the Applet has been downloaded from the same web server where the web service runs, pretty easily. else, you might have to sign the applet.
    just build the XML messages .NET is expecting, post them to the server and process the response.
    you can try using JAXM but i am not sure the messages it produces will be digested by .NET - just try!

  • Calling DCE RPCs from Forte

    Hi all,
    We are considering the use of DCE RPC with Forte.
    I know that it is possible to both call-in and call-out to DCE from
    Forte, and we are primarily interested in calling out, i.e.
    presenting an existing set of DCE RPCs as methods in a virtual Forte
    service object to be invoked by Forte clients. What we would like to
    know is:-
    In this scenario, what would be used as the interacting mechanism
    between the Forte client and the virtual service object containing
    the DCE RPCs? Would it be DCE instead of Forte messaging?
    Am I correct to think that we won't be able to use Forte features
    such as load balancing, fail-over, and asynchronous method invokation
    on this virtual service object? Are there any other Forte features
    which we won't be able to utilize?
    Anyone can share their experiences on this subject?
    Cheers
    Michael Chiu.

    Michael,
    In this scenario where Forte is front-ending the DCE functions
    with a service object, the Forte clients would use standard Forte
    messaging to send messages to this Forte partition which in turn
    would use DCE messaging to call-out to your DCE services. Given
    that, the Forte clients could still use the benefits of Forte
    messaging such as async, load balance, etc.
    Bobby
    At 01:07 PM 1/24/97 +0800, Michael Chiu wrote:
    Hi all,
    We are considering the use of DCE RPC with Forte.
    I know that it is possible to both call-in and call-out to DCE from
    Forte, and we are primarily interested in calling out, i.e.
    presenting an existing set of DCE RPCs as methods in a virtual Forte
    service object to be invoked by Forte clients. What we would like to
    know is:-
    In this scenario, what would be used as the interacting mechanism
    between the Forte client and the virtual service object containing
    the DCE RPCs? Would it be DCE instead of Forte messaging?
    Am I correct to think that we won't be able to use Forte features
    such as load balancing, fail-over, and asynchronous method invokation
    on this virtual service object? Are there any other Forte features
    which we won't be able to utilize?
    Anyone can share their experiences on this subject?
    Cheers
    Michael Chiu.
    Bobby Carp Forte Software, Inc.
    Mailto:[email protected] 1800 Harrison St. 15th Floor
    voice: 510-869-3451 Oakland, CA 94612
    fax: 510-834-1508
    ************************************************************

  • Calling One Jax/rpc web service from another.

    We have a number of services residing in the same Oracle 10.1.3 app server container. These are deployed as Jax RPC Web Services
    I am trying to figure out what are the different options to have once web service invoke an operation on another (without directly linking to the Java code). The reason we want to keep separation as far as possible is that these services may later migrate to different app servers and in the spirit of SOA all we want to change when a service migrates is address and would like everything else to remain the same.
    So for example, if Web Service A needs to invoke an operation X in web service B,
    One way to do this seems to be to generate a proxy for web service B, include the proxy in Web Service A and then simply do B.X() from Web Service A.
    Is this is the best way to do it ?
    Are there other alternative approaches available ? Such as using the built in ESB features of Oracle App Server 10.1.3?
    Any pointers will be greatly appreciated.
    Thanks
    RR

    Hi all,
    I've managed to get this working by using the following property settings:
    System.getProperties().setProperty("http.proxyHost", "Proxy_Hostname");
    System.getProperties().setProperty("http.proxyPort", "8080");
    System.getProperties().setProperty("http.nonProxyHosts", "localhost,hostbox09");
    And solving the authentication problem using this property setting on the java cmd line:
    -Dweblogic.net.proxyAuthenticatorClassName=com.mycompany.MyProxyAuthenticator
    This class is an impl class of weblogic.common.ProxyAuthenticator interface.
    The other thing to note is that MyProxyAuthenticator needs to be in the server pre_classpath.
    Then I just call JAX-RPC or JAX-WS web service client calls as normal.
    Regards,
    Paul

  • JAX-RPC whitepaper available on dev2dev

    The Java API for XML-based remote procedure calls (JAX-RPC) simplifies
    the process of building Web services that incorporate XML-based RPC.
    Rajesh Sumra looks at how developers can use JAX-RPC to implement and
    call SOAP-based Web services described by the Web Services Description
    Language (WSDL) on the BEA WebLogic Platform.
    http://dev2dev.bea.com/articles/Sumra.jsp

    et al
    http://dev2dev.bea.com/technologies/webservices/index.jsp
    Bruce Stephens wrote:
    >
    The Java API for XML-based remote procedure calls (JAX-RPC) simplifies
    the process of building Web services that incorporate XML-based RPC.
    Rajesh Sumra looks at how developers can use JAX-RPC to implement and
    call SOAP-based Web services described by the Web Services Description
    Language (WSDL) on the BEA WebLogic Platform.
    http://dev2dev.bea.com/articles/Sumra.jsp

  • HTML from Applet

    How can we call HTML page from applet.
    My requirement is when a button or a menu option in an applet is clicked, a HTML page should be opened.

    Maybe you can find the answer here
    http://forum.java.sun.com/thread.jspa?threadID=792441
    http://java.sun.com/docs/books/tutorial/deployment/applet/browser.html
    Satanduvel

  • Calling One Jax RPC Web Service from another in Oracle AS 10.1.3

    We have a number of services residing in the same Oracle 10.1.3 app server container. These are deployed as Jax RPC Web Services
    I am trying to figure out what are the different options to have once web service invoke an operation on another (without directly linking to the Java code). The reason we want to keep separation as far as possible is that these services may later migrate to different app servers and in the spirit of SOA all we want to change when a service migrates is address and would like everything else to remain the same.
    So for example, if Web Service A needs to invoke an operation X in web service B,
    One way to do this seems to be to generate a proxy for web service B, include the proxy in Web Service A and then simply do B.X() from Web Service A.
    Is this is the best way to do it ?
    Are there other alternative approaches available ? Such as using the built in ESB features of Oracle App Server 10.1.3?
    Any pointers will be greatly appreciated.
    Thanks
    RR

    Found document of 10.1.3.1.0 how to Creating a Custom Identity Service Plug-in
    Oracle® BPEL Process Manager Administrator's Guide
    10g (10.1.3.1.0)
    Part Number B28982-03
    http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/plugin.htm
    But may be no help.

  • Call a PL/SQL procedure or function from applet

    Could anyone please let me know how I could call a PL/SQL procedure
    or function from a JDBC method from applet with Internet Explorer?

    It depends from where you are calling your PLSQL routine. If it is SQL*Plus then you can use & (ampersand) with the variable to be input at run time.
    If you are executing the PLSQL routine from another application (some front end application) then it's not possible. Because when a procedure is executing at server side, the front end application does not have control, and the control is only transfered back to front end application when the PLSQL routine either completes successfully or throws an exception.
    In either case, you can not go back to the PLSQL routine.
    In this case, what you can do is, write code in your front end application to get that variable value from user and then pass that value to PLSQL routine.

Maybe you are looking for

  • Itunes broken

    Itunes cannot be open because of a problem. Process:         iTunes [360] Path:            /Applications/iTunes.app/Contents/MacOS/iTunes Identifier:      com.apple.iTunes Version:         ??? Build Info:      iTunes-1115011001005005~2 Code Type:    

  • Configuring date format in Oracle 8.1.7

    I have just unloaded records from tables into an sql script file with insert statements. However, the date format for the records that I have unloaded is MM/DD/YYYY. When I try to run this sql script, oracle gives an error, saying it's not a valid mo

  • Packing Proposal Mandatory in Sales Order

    Hello We want to maintain Packing Proposal as mandatory for each line items in sales orders. We want to add this in incompletion log. is there any standard configuration for this. These packing proposal should then be copied to delivery and be modifi

  • A contract modified in IS-U not updated at CRM

    Hi!!! I'm try to update the data of crm contract from sap isu contract, but isn't works fine, the status and the description of CRM contract for example is not updated. The Bdoc SI_CONTRACT is generated correctly, and the Badi's DOWNLOAD on ISU and C

  • How to get the materials consumption data

    Hi expert, My requirement is to show the material ordered, material received,material consumption,material stock against project definition... 1. I got the materials ordered and material received against PO of that Project definition but they tell to