Deploying JAX-RPC Client for client-side application

I have a java Swing client side application that I am attempting to integrate web services capabilities into. The web services were already written (new to web services myself), I am just calling them. Using Oracle's JDeveloper I managed to create proxies for the web services and to call them just fine, once I added the JAX-RPC Client library to my project.
My only issue is how to deploy. Again within the development environment all works perfectly. I tried references to all the jar files identified by the Oracle JAX-RPC Client library to know luck. I've referenced other jar files I use for deployment with no issues.
Anyone created standalone applciations before that call web services? How did you deploy the web service related libraries.
I'm using JDeveloper 10.1.3.3.0 with Java 1.5.0_06.
I appreciate any guidance provided.

I found a solution, but it shouldn't have been that difficult. JDeveloper provides a view of what JARs are part of a library. I used that as a starting point of what JARs might be required for my instance. I switched to linking to the individual JARs within their JDeveloper installed locations directly instead of the single library. I then systematically starting removing them one-by-one from my list to determine which were actually being used in my implementation. I did this because there were way too many to deploy. Once that was done I created a separate directory for holding the required JARs files local to my application.
Lastly, I had to take care of any internal references within the JARs that may link to other JAR files. So I opened each JAR and looked at its manifest and copied those files over. Then I repeated the steps of deternmining if they were really necessary and copying over other internal references until I had the complete list.
In the end I ended up with a considerable smaller list of JARs then if I had just assumed all JARs within the library and their references. However, it was much more difficult then it needed to be.

Similar Messages

  • Building JAX-WS Clients for Oracle Cloud Applications

    Hello,
    We are looking for a tutorial on how to build JAX-WS clients for Oracle Cloud Applications using Eclipse and OEPE.
    Do you know if there is any document about this, or any document that can help us on this task.
    Thanks and regards,
    Gustavo.

    A JAX-WS web service client with OEPE would be the same for a cloud service.
    https://docs.oracle.com/cd/E15315_09/help/oracle.eclipse.tools.weblogic.doc/html/webservices/start.html
    For developing for Oracle Cloud refer
    https://apex.oracle.com/pls/apex/f?p=44785:24:100395514147349::NO::P24_CONTENT_ID%2CP24_PREV_PAGE:7026%2C2

  • JAX-RPC Dynamic Proxy Client Question

    I have a very simple web service successfully deployed using Tomcat 5 and Apache Axis. It simply takes a string and returns a String. Regardless, it's working.
    Now I'm wanting to create a JAX-RPC dynamic proxy client as described on the following page:
    http://java.sun.com/webservices/docs/1.3/tutorial/doc/JAXRPC5.html
    There are numerous other articles out there describing the same method.
    My problem is that I'm getting a ServiceException on the following line every time I try to run my client:
    ServiceFactory factory = ServiceFactory.newInstance();
    Would anyone have any ideas why this might be or what I might be missing? All the articles make it seem like this is just a trivial line and never mention much about it.
    Any help would be appreciated. Thanks.

    Hello,
    You are getting a service Exception on ServiceFactory.newInstance() method?
    Actually, I have never seen this problem before. Is it possible that there are
    classpath issues? That is, are you using just the jars from the jwsdp?
    Regards,
    Kathy

  • Error deploying JAX-RPC war in JBoss

    I am using the JBoss 3.0.3 with Tomcat 4.1.12. After creating a JAX-RPC application I have tried deploying the completed war to JBoss, but get an error saying that Jboss cannot find the:
    com.sun.xml.rpc.server.JAXRPCContextListener. java.lang.ClassNotFoundException
    This class lives in the jaxrpc-ri.jar file, from the jwsdp-1_0_01 distribution (Java Web Services Developer Pack). I've tried copying this jar file to the Jboss lib directory, but it still doesn't get past the error.
    How can install this jar (and/or other JAX-RPC jars) for Jboss to use? See server errors below:
    9:56:31,071 INFO [Engine] WebappLoader[VehicleInfoService]: Deploy class files /WEB-INF/classes/space/jboss/jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/work/MainEngine/localhost/VehicleInfoService/WEB-INF/classes
    19:56:31,671 INFO [Engine] ContextConfig[VehicleInfoService]: Added certificates -> request attribute Valve
    19:56:31,852 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader delegation: true
    19:56:31,853 INFO [Engine] StandardManager[VehicleInfoService]: Seeding random number generator class java.security.SecureRandom
    19:56:31,856 INFO [Engine] StandardManager[VehicleInfoService]: Seeding of random number generator has been completed
    19:56:32,141 ERROR [Engine] StandardContext[VehicleInfoService]: Error configuring application listener of class com.sun.xml.rpc.server.http.JAXRPCContextListener
    java.lang.ClassNotFoundException:
    com.sun.xml.rpc.server.http.JAXRPCContextListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1428)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3217)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3524)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
    at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:427)
    at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:302)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
    at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy4.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
    at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

    Deploy the jax-rpc implementation along with your application.
    The library is found in the Webservices Developers Kit at
    jaxrpc-1.0.3/lib/jaxrpc-ri.jar

  • ACE deployment with two interface for client side

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-fareast-language:EN-US;}
    In a ACE router mode deployment, I have a single context configured with two interface for server side and two interface for client side. In this situation how can we meet the demands of customers arriving from both networks? How can the ACE handle the client request if we configure one default-gateway to each network?
    Regards,
    Egomes

    Enable "mac-sticky" comand under each client inteface.
    It will ensure that ACE sends the response to the MAC address from which the request to the VIP was recieved.
    For more details
    http://cisco.biz/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A1/command/reference/if.html#wp1033275
    HTH
    Syed Iftekhar AHmed

  • JAX-RPC Web services client error

    Hi!
    I use Jdevelop 10g 9.0.5.2 with JAX-RPC extension and OC4J 10.1.3.
    I can develop RPC/literal and document/literal Web services, but when I try to run a client program I've got this error.
    "Error: cannot access class oracle.j2ee.ws.saaj.soap.Constants; file oracle\j2ee\ws\saaj\soap\Constants.class not found"
    Could anyone tell me how to solve this problem?

    Hi,
    I am attempting the same task. With different problems.
    After creating a .war with deploytool, I try to deploy it to a OC4J that comes with JDev.
    It result in an exception saying the Servlet is not a Servlet. Wich is true.
    Do you know how to deploy this .war to an OC4J? (read IAS 9.0.3)

  • How can I give my application to client? I work with Access 97 and use SQL Toolkit 5.0. NI must sell one license to client for distributed this application.

    Thanks,
    Jorge.

    Hi Dennis,
    But I must install SQL Toolkit 5.0 for execute my application (.EXE), in other hand my application generate errors. But I can't give an installer application to client, if is neccesary install SQL Toolkit.
    Thanks for your time,
    Jorge.

  • BI system with additional client for non-BI application

    We have a test SRM system with the BI_CONT add-in loaded.  Our intent was to use one client for BI and another client for SRM unit testing.  It is feasible to run BW in the same physical instance as SRM, given that they are both built on NW 70, and we loaded the BI_CONT.
    In the BW client (100) I try to create a source system for the SRM app (client 400).  After I enter the RFC destination (SRMCLNT400) and necesasry credentials, the system tries to sign me back into client 100.  Then it gives error "SRDCLNT100 already exists".  That source does exist because it is the BI souce, and I never specified SRDCLNT100.  I used the RFC destination created for SRDCLNT400.  Why might this be happening because to the BI client (100), it shouldn't be able to distinguish between a source system that's on the same physical instance (different client) versus a differnet instance/host.

    Hi
    Somehow yes, but as I said:
    I faced the problem with "The logical system name has changed" (exit only). I tried to solve it by running BDLS but it did not solve the problem.
    This is why I asked about the proper approach. Your proposal is a little bit different to my last try, because you suggest to copy 800 to the new client. I have used 000 as a source for copy.
    My main concern is what with some functionalities in client 800 if I move BI to the new client (this means RSA1 will not work in 800).
    See here (though this is for solution manager): Re: BW / SolMan Logical System Change
    This is why I considered using the same client for ERP and BI (only 800), but here I am not sure if there are some disadvantages (but compared to having Bi on different client, so database size is not an issue).
    Do you know what will be wrong to use only client 800 and only add BI CONT to the system ? Do you know any SAP notes which says that this is wrong?
    regards
    Rafal

  • Create and deploy jax-rpc ws on weblogic 9.2

    I am finding a solution how to build a simple jax rpc web service using weblogic 9.2 ant tasks. I cant find a task which generate war out of my implementation.
    It have to be JAX-RPC ws (not JAX-WS).
    Please help me, I have been searching for hours yet...(without success)
    Edited by julius4 at 04/07/2008 3:58 AM

    Hi Carmen,
    WLS 8.1 provides a spec compliant, full featured JAX-RPC
    implementation. Mixing the impl can cause unpredictable and unexpected
    results because they share many of the same upper layers, but under the
    covers things can be quite different.
    If you are looking for J2EE 1.4 web service features, stay tuned...we
    are working at flank speed.
    Regards,
    Bruce
    Carmen wrote:
    >
    Hi All :
    I am a beginner and I need help ...!!
    as far as I know , weblogic 8.1 is a J2EE 1.3-compliant application server ..so
    does this mean that I can't deploy Sun's jax-rpc webservice (which is a standard
    way to develop webservices in j2EE 1.4 ) on weblogic 8.1..?
    and If I can't , is there a way to configure weblogic in order to deploy Sun's
    jax-rpc webservice..?
    would you please help me to find the answers..??
    Thanks,

  • Has anyone deployed JAX-RPC based webservices on WebLogic8.1

    Hi all...
    I 've been trying to deploy the jaxrpc based webservices on weblogic8.1/6.1....but its not working...it works fine on tomcat server...
    so if anyone has deployed and tested the webservices on weblogic successfully...pls help..
    thanks
    khajaM

    Jwenting,
    Thanks for your reply.Could you please tell me what should I need to perform to overcome this problem.I have pasted below my client program for your reference.
    import org.apache.axiom.om.OMAbstractFactory;
    import org.apache.axiom.om.OMElement;
    import org.apache.axiom.om.OMFactory;
    import org.apache.axiom.om.OMNamespace;
    import org.apache.axis2.Constants;
    import org.apache.axis2.addressing.EndpointReference;
    import org.apache.axis2.client.Options;
    import org.apache.axis2.client.ServiceClient;
    import org.apache.axis2.context.MessageContext;
    public class AxisBasedClientForJWS {
    private static EndpointReference targetEPR =
    new EndpointReference("http://localhost:7001/final/IntegWebservice");
    private static OMElement getResponse(String symbol) {
    OMFactory fac = OMAbstractFactory.getOMFactory();
    OMNamespace omNs = fac.createOMNamespace("http://IntegratorWebservices.org/wsdl","");//"http://IntegratorWebservices.org/wsdl", "tns");
    OMElement method = fac.createOMElement("add", omNs);
    OMElement value = fac.createOMElement("symbol", omNs);
    value.addChild(fac.createOMText(value, symbol));
    method.addChild(value);
    return method;
    public static void main(String[] args) {
    try {
         OMElement getResponse = getResponse("WSO");
         Options options = new Options();
    options.setTo(targetEPR);
    options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
    ServiceClient sender = new ServiceClient();
    sender.setOptions(options);
    OMElement result1 = sender.sendReceive(getResponse);
    String response1 = result1.getFirstElement().getText();
    System.err.println("Current price of WSO: " + response1);
    } catch (Exception e) {
    e.printStackTrace();
    System.out.println(e);
    With regards
    Ramesh.G

  • Jax-rpc handler for certain Web methods

    Hi, all
    Is there any way to deploy a handler for certain method of the web service?
    For example, I have a web service calls testService. This testService has two methods (A and B) which can be accessed by the client. How could I specify the handler is only for method A? How the WSDD will look like?
    Thanks for your help. /dan

    Hi,
    I am facing a similar kind of problem. If maybe I could look at your wsdl and wsdd files, maybe we could come up with a solution. Also my email id is [email protected]
    Feel free to mail me and maybe we can exchange ideas. Thanks.

  • Verify registry settings on MBAM client for Client UI encryption Pop-up

    We are using MBAM 2.0 SP1 .The entire set-up is ready along with Group Policy settings . The issue we are facing is that the pop-up on Windows 7 MBAM clients doesn't appear.
    I can see the registry entries on the clients in 2 locations
    1.HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE\MDOPBitLockerManagement
    2.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MBAM
    Please confirm if these are the only and required registry settings o rthere is something missing for the Client UI to pop-up.
    We also don't see any error events listed under MBAM Admin section in event-viewer.
    Awaiting for your replies.

    Can you create a DWORD entry "NoStartupDelay" with value "1" at the location "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MBAM".
    It will start the MBAM agent service instantly. After creating the registry do a restart of the MBAM
    Agent service. 
    You can also reduce the frequency (default - 90 mins & 720 mins.) in which the MBAM agent communicates
    with the MBAM web server using endpoints. This will make the proceeding faster in case any error occurred.
    Also you need to create a registry key on the MBAM web Server using below steps:-
    - Create a Registry key "MBAM" at the location "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft".
    - Create a DWORD value "DisableMachineVerification" with value as "1".
    - Restart the MBAM web server.
    Do let us know about the proceedings.
    Gaurav Ranjan

  • How to deploy one common filter for all web applications

    I want to deploy a filter for all the web applications i have running on weblogic server. I don't want to deploy the filter just within a specific web
    context, was able to achieve this on tomcat as it provides a common web.xml
    which will apply to all web apps. But i don't know how to achieve this on Weblogic. Your help would so much appreciated.

    Thanks Vidyut! You've answered my question.
    I placed the jar file in the $CATALINA_HOME/shared/lib directory. But where should I place the taglib TLD file? And how should I reference it in web.xml?
    Currently, my web.xml is as follows and it doesn't work.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <taglib>
    <taglib-uri>http://abc.com</taglib-uri>
    <taglib-location>c:\Tomcat\shared\lib\mytags-taglib.tld</taglib-location>
    </taglib>
    </web-app>
    Thanks again!
    Joe

  • Free servers for server-side applications

    Please go to:
    http://forums.java.sun.com/thread.jspa?threadID=677266&tstart=0
    Thanks!

    You can use the tomcat container to test your servlets and jsps. Its free to download. You can download it at the following URL:
    http://jakarta.apache.org/tomcat/

  • 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.,

Maybe you are looking for

  • How to swap fields in screen painter.

    hello gurus,, how to swap fields in screen painter.

  • ESignature details not shown.

    Hi All, Using Jdev11.1.1.6(webcenter and UCM PS5). Use Case: Admin User will check in agreement(document to UCM) and Client User will accept that agreement. To accept the agreement, user needs to click on accept button which will create ESignature wa

  • JButton on XP non-modal Jdialog doen't work.

    I recently upgraded from 1.3 to 1.4 while upgrading my OS from NT 4.0 to XP. In a stand-alone application I have non-modal JDialog's that are launched as threads so that I can have multiple instances of them running simultaneously. There are JButton'

  • How to evaluate cross-line?

    For example, suppose that there are two set of line objects, river and road. I want to query their intersection point as the shape of bridges. I can't find some topologic relations in SDO_RELATE to specify "line cross (interior intersect but boundary

  • Validation GGB0

    Hello Can anyone clarify how many validation can we have in a company code? there is already 1 validation in a company code for TDS i.e. line item validation for entering Business place & now i want to create a line item validation for Cash Payment a