This discussion is archived
1 Reply Latest reply: May 8, 2012 3:41 PM by 669114 RSS

JAX-RPC Webservice in OEPE using weblogic 10.3 to support .net client

391746 Newbie
Currently Being Moderated
It is easy to develop JAX-WS web service using OEPE and Weblogic (10.3.6). I can work through creating JAX-RPC web service using command line. But how can I develop JAX-RPC on Eclipse and deploy it on Weblogic instance running inside Eclipse. I tried to run the ant build file for JAX-RPC inside Eclipse but it does not fined the jwsc task even though weblogic.jar is in the classpath in the Eclipse project. What I need to do in Eclipse project which in effect is same as doing setDomainEnv.cmd.
I need to develop JAX-RPC to support basic-profile 1.0 and .net clients.

Thanks
Salman
  • 1. Re: JAX-RPC Webservice in OEPE using weblogic 10.3 to support .net client
    669114 Newbie
    Currently Being Moderated
    Hello,

    Hopefully I can provide some partial answers now, and work through more detailed example later. OEPE has support for running WLST scripts.

    WLST Setup:
    a.) Project Setup Example: Create Web Service Project: File>New>Other>Oracle>WebLogic>Web Services>Web Service Project. Enable the Oracle WebLogic Scripting Tools (WLST) Support Facet. You can also enable this facet by rt clicking the project and navigate to the project facets.

    b.) Rt Click the new wlst source directory and you can create a new WLST script here. There are some templates to get you started or if you have an existing template you can put it here.

    c.) You can perform Run-As operation on your wlst script and it will get run from OEPE.

    See the Help Documentation on this feature for additional detail.

    JAX-RPC
    Using wlst for this is a good idea to start with. Outside of the wlst scripting, you will have to create and specify the weblogic-webservices.xml file containing <webservice-type>JAXRPC</webservice-type>. Additionally, a webservices.xml will exist describing jaxrpc-mapping. I havent tried this in awhile, and will make an attempt a little later in the week.

    Here is a link that may serve as a reference: http://docs.oracle.com/cd/E23943_01/web.1111/e13760/toc.htm

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points