Cant create Web services using netbeans 5.5

I tried lots of tutorials to create a simple web service but i couldn't make it to run.
I am using
IDE :NB 5.5.
App servers: SJSAS9 and Apache Tomcat 5.5.17
JDK 1.5 available
Apart from these do i have to use any other plug in.
i need to continue with this sample application.
http://www.netbeans.org/kb/55/websvc-jax-ws.html
please help this is the complete code, and giving error once i tried to run the web service.
package org.me.calculator;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
@WebService()
public class CalculatorWS
     * Web service operation
    @WebMethod
    public int add(@WebParam(name = "i") int i, @WebParam(name = "j") int j)
       int k = i + j;
        return k;
Error is:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
do-dist:
dist:
In-place deployment at D:\NetBeans\WS\CalculatorWSApplication\build\web
Start registering the project's server resources
Finished registering server resources
moduleID=CalculatorWSApplication
deployment started : 0%
Deploying application in domain failed; com.sun.tools.apt.Main.process(Lcom/sun/mirror/apt/AnnotationProcessorFactory;[Ljava/lang/String;)I
D:\NetBeans\WS\CalculatorWSApplication\nbproject\build-impl.xml:453: Deployment error:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 1 second)
Please help, i am really stucked here.

which app server did u deploy yr web service into?
SJSAS9 or Tomcat?I am using SJSAS9.
did u receive any java exceptions? can u attach them
here if u have them..?
I am getting this under output -> Sun java system application server tab
Exception occured in J2EEC Phase
java.lang.NoSuchMethodError: com.sun.tools.apt.Main.process(Lcom/sun/mirror/apt/AnnotationProcessorFactory;[Ljava/lang/String;)I
at com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:605)
at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:538)
at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:56)
at com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:44)
at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1820)
at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2089)
at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:396)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:155)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)

Similar Messages

  • Creating Web Services using Netbeans GUI only

    Hi all,
    Creating, deploying & testing simple web-services through Netbeans point-n-click interface is quite simple (demo at: http://download.java.net/javaee5/screencasts/hello-simple-glassfish/). The demo shows a very simple service creation scenario, accepting and returning String types only. The service can easily be tested using the GUI option 'Test Web Service', which simply test the service through a simple web page at http://localhost:8080/MyWebApplication/MyWebService?Tester
    In a similar manner, I am trying to implement a web service (a little complex one, accepting and returning custom types) using Netbeans GUI only. Versioning information I am using are as follows:
    NetBeans IDE 6.1
    Sun Java System Application Server 9.1_02 (build b04-fcs)
    JAX-WS 2.1.3.1
    Roughly speaking, the service's method signature I am using is shown below:
    public abstract myclass.X MyService.serviceMethod( myclass.X )
    Since it uses a custom type in parameter and return-types, the web-based test doesn't work any more. I wrote a separate client class to invoke the service using client-side stub classes (suppose to be generated by JAX-WS generated classes). The client code looks like as follows:
    public class ServiceClient {
         public static void main(String[] args) {
              MyService srv = new MyService ().getMyServicePort();
              X xin= new X();
              X xout= srv.serviceMethod( xin );
              System.out.println( "Result: "+ xout.toString());
    Netbeans shows a compiler error on "MyService srv = new MyService ().getMyServicePort();
    Is it possible to get it resolved without making use of ant scripts for generating client-side artifacts (stubs etc.)?
    Thanks,
    irfan

    Hello Sandy,
    Have you installed the Sun Java System App Server or JWSDP? If so, please make sure that one of the libraries in your Netbeans project contains the jaxrpc-api and jaxrpc-impl jars (which seem to be necessary to run wscompile).
    Netbeans ("standalone") doesn't seem to install the jaxrpx libraries and other jars required to compile and run webservices.
    Regards,
    Jonatan

  • Creating Web Services using Java Implementation

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

  • Creating Web services using JDeveloper for Pl/SQL package having ref cursor

    Hi,
    I am trying to create web services for PL/SQL package in JDeveloper. When I am trying to create this web service, the functions in the package which is returning referential cursor or record cursor are not visible. When I highlight the function and click "Why Not?", it displays the message "The following types used by the program unit do not have an XML schema mapping and/or serializer Specified: REF CURSOR". Could you please let me know, how I can create this web service?
    I am getting similar error when I am trying to create web service for a package with overloaded functions also.
    Thanks,

    Ok so I played around with this some more. I created the same process in bpel using oracle bpel designer and here are the results.
    1. Against 10g database running a synch process data is retutned without error.
    2. Against 9i database running an asynch process data is retutned without error.
    3. Against 9i database running a synch process data is retutned with error.
    I'm definilty missing something.

  • Create web service using java class

    Hi,
    I created the web service using java class then i deployed this web service in to the weblogic admin server.when i tested this process it is working fine.
    when I tested The generated WSDL to this process in browser(IE). it is not working.
    I need to to invoke this webservice from another BPEL but this WSDL is not working.

    Hi,
    when i created the webservice in jdeveloper by default it is connected to integrated weblogic server and generates this wsdl.
    http://localhost:7101/helloApplication-javaexcel-context-root/MyWebService1Soap12HttpPort?WSDL
    then I deployed this webservice in to the Adminserver.it gives the following URL.
    http://192.168.56.1:7001/extracExcelToCSV-extractExcelToCSV-context-root/ExtractExcelToCSVSoap12HttpPort?wsdl
    This URL is not working but when i tested this process it is working fine.
    It is giving below error when i try to invoke from jdeveloper
    Error while reading wsdl file
    caused by:java.net.connectExcepption :Connection timed out:connect

  • Create Web service using nwds

    Dear all,
           steps for create web service in nwds 7.01
    Regards,
    Antony.A

    Please check this. http://scn.sap.com/community/java/blog/2013/10/16/create-simple-web-service-to-save-data-in-java-table-using-ejb-and-jpa

  • Bug: JDeveloper 10.1.2.1.0 (1913) Cant create Web Service

    Hello,
    I have several java files that I usually right click on to create J2EE web services. Today I cannot create web services for any of the files, as I receive a nullpointer exception. I checked that all classes in the project compile. Specifically, I have a [main] method in the PatientWS file for which I wish to create a web service, and the class runs just fine. Based on another post, it seems the problem is with web.xml. I have deleted web.xml and it continues to get re-created so maybe it is not it. Any help will be appreciated. Please let me know if there is any other information that I need to provide.
    java.lang.NullPointerException
         at oracle.jdevimpl.webservices.generator.WARGenerator.addToClassesGroup(WARGenerator.java:280)
         at oracle.jdevimpl.webservices.generator.WARGenerator.generate9iASWarFile(WARGenerator.java:261)
         at oracle.jdevimpl.webservices.generator.WARGenerator.generateWarFile(WARGenerator.java:187)
         at oracle.jdevimpl.webservices.generator.WARGenerator.generate(WARGenerator.java:162)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateNonJAXJavaService(JAXRPCGenerator.java:1852)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateNonJAXService(JAXRPCGenerator.java:1544)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateService(JAXRPCGenerator.java:223)
         at oracle.jdeveloper.webservices.JAXRPCSvcModel.saveEdit(JAXRPCSvcModel.java:1613)
         at oracle.jdeveloper.webservices.JAXRPCJavaModel.createWebServiceFromClass(JAXRPCJavaModel.java:2852)
         at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:1663)
         at oracle.ide.IdeAction.performAction(IdeAction.java:649)
         at oracle.ide.IdeAction$1.run(IdeAction.java:857)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Oracle IDE     10.1.2.18.38
    Business Components Version     10.1.2.18.73
    UML Modelers Version     10.1.2.16.83
    Versioning Support     10.1.2.16.83
    WebDAV Support Version     10.1.2.16.83
    Struts Modeler Version     10.1.2.6.27
    Designer Generators Framework     10.1.2.7.68
    CVS Client Version     (CVSNT) 2.0.51d (client/server)
    ADF UIX     2.2.20
    java.version     1.4.2_06
    java.home     C:\jdev1012\jdk\jre
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.4.2_06-b03
    user.language     en
    user.region     <no value assigned>
    user.name     Mobile
    user.home     C:\Documents and Settings\Mobile
    user.dir     C:\jdev1012\jdev\bin
    os.name     Windows XP
    os.version     5.1
    os.arch     x86
    http.proxyHost     <no value assigned>
    http.proxyPort     <no value assigned>
    http.nonProxyHosts     <no value assigned>
    ide.patches     
    ide.user.dir

    I got the issue resolved by deleting all deployment descriptors from the project and the web.xml.
    Thanks,
    Frank

  • How to Create web service using JMS with PUB/SUB pattern.

    Hi All,
    I need to expose web service using JMS with PUB/SUB pattern.
    if you have any source for this.
    I tried to use @WLJmsTransport annotation but unable to get it done.
    I have configured all JMS server, topic, and connection factory.
    Thanks.

    Hi, I am having web sample web service program which is simple one.
    But I need to Modify this to JMS enable.
    Can any one help me?
    Thanks.

  • How to create Web Services Using EP7

    Hi
    I got a chance to work on Web Service using EP7 and i am new to web services
    This is the first time i am working on Web Services
    so please can you guide me where to start and how to start.
    if possible reffer some links regarding web services.
    regards
    mmukesh

    Hi Mukesh,
    Please refer to the document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60046fb9-ac5b-2910-08a6-b7b04b463c62
    Thanks
    Sarang

  • Books and resources teaching J2EE 5 (and creating web services using it)

    Hi!
    I'm starting a new job next week, developing a J2EE 5 system. I have a solid background in J2SE 1.4 and know most of the new syntactical and semantic stuff in J2SE 5.
    What I need is a good book teaching J2SE 5 to someone inexperienced with J2SE in general. There isn't a need for me to study J2SE 1.4 as we won't be using it. Also, we will develop some web services using the platform. As time is of the essence I'd prioritize learning about those within the platform, at first.
    I don't need to read the entire book in one week, of course. But I need something to study and also have as a reference by my side when programming.
    As the offerings in J2SE 5 books seems quite low, I need some advice from you, more experienced people. What book or web resource do you recommend? Thank you for your time reading this post!
    Best Regards,
    Kent

    Hello Kent!
    I have found "Enterprise JavaBeans 3.0" by by Richard Monson-Haefel and Bill Burke really interesting. If you have some knowledge about Java EE in general go for it it's really good one!

  • Web services using netbeans

    Hi frnds
    Currently i am creating a webservice using java. I am using netbeans4.1 IDE. When i checked the example given in the quick start guide of Netbeans i am getting an error like cannnot find the Wscompil.class. Here iam pasting the build output
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    Created dir: C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Created dir: C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\META-INF
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\META-INF
    library-inclusion-in-archive:
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    library-inclusion-in-manifest:
    Compiling 3 source files to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Copying 3 files to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web
    wscompile-init:
    C:\Documents and Settings\sandeep.e\ws\HiWS\nbproject\build-impl.xml:226: taskdef class com.sun.xml.rpc.tools.ant.Wscompile cannot be found
    BUILD FAILED (total time: 10 seconds)
    Can anyone please telll me why this is happening? The jar files necessary is present in the library, eventhough it is showing the error.
    Thanks in anticipation

    Hello Sandy,
    Have you installed the Sun Java System App Server or JWSDP? If so, please make sure that one of the libraries in your Netbeans project contains the jaxrpc-api and jaxrpc-impl jars (which seem to be necessary to run wscompile).
    Netbeans ("standalone") doesn't seem to install the jaxrpx libraries and other jars required to compile and run webservices.
    Regards,
    Jonatan

  • Failure to create Web Service using Java client

    Attempting to create a WebService using a Java client (partial code follows):
    String xml = "<custId xmlns=\"http://samples.otn.com\">" + 101 + "</name>";
    //Context ic = new InitialContext();
    Locator lctr = new Locator("default", "bpel");
    IDeliveryService dservice = (IDeliveryService)lctr.lookupService(IDeliveryService.SERVICE_NAME);
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml);
    However - get the following error message:
    E:\OraBPELPM_1\jdk\bin\javaw.exe -client -classpath E:\OraBPELPM_1\integration\jdev\jdev\mywork\Workspace1\BPELProcess1\output;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\orabpel.jar;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\orabpel-common.jar;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\orabpel-thirdparty.jar;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\bpm-infra.jar;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\bpm-services.jar -Dhttp.proxyHost=ges-proxy.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=jpa*.jp.oracle.com|jpe*.jp.oracle.com|*.oracle.co.jp|144.23.230.118|144.23.230.110|psh*.peoplesoft.com|*.us.oracle.com|ex*.oracle.com|es0*.oracle.com|localhost|127.0.0.1 BusinessProcess.TestBPEL
    java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:218)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:47)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:65)
         at BusinessProcess.TestBPEL.main(TestBPEL.java:19)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:47)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:65)
         at BusinessProcess.TestBPEL.main(TestBPEL.java:19)
    Exception in thread "main" Process exited with exit code 1.
    The line: Locator lctr = new Locator("default", "bpel");
    is the point of the error -
    What is the problem here. I have seen several similar issues on the forum but I have not foound one that iindicated a solution to the problem.
    THANKS - Ken Cooper

    Applied the suggested code and am getting following errors:
    E:\OraBPELPM_1\jdk\bin\javaw.exe -client -classpath E:\OraBPELPM_1\integration\jdev\jdev\mywork\Workspace1\BPELProcess1\output;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\orabpel.jar;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\orabpel-common.jar;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\orabpel-thirdparty.jar;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\bpm-infra.jar;E:\OraBPELPM_1\integration\jdev\jdev\lib\ext\bpm-services.jar -Dhttp.proxyHost=ges-proxy.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=jpa*.jp.oracle.com|jpe*.jp.oracle.com|*.oracle.co.jp|144.23.230.118|144.23.230.110|psh*.peoplesoft.com|*.us.oracle.com|ex*.oracle.com|es0*.oracle.com|localhost|127.0.0.1 BusinessProcess.TestBPEL
    java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NoInitialContextException: Cannot instantiate class: com.evermind.server.rmi.RMIInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.evermind.server.rmi.RMIInitialContextFactory]
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:216)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:126)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:97)
         at BusinessProcess.TestBPEL.main(TestBPEL.java:30)
    Caused by: java.lang.ClassNotFoundException: com.evermind.server.rmi.RMIInitialContextFactory
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
         ... 8 more
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:126)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:97)
         at BusinessProcess.TestBPEL.main(TestBPEL.java:30)
    Error occurs at the bold line below - same location as before:
    Properties props = new Properties();
    props.setProperty("orabpel.platform", "oc4j_10g");
    props.setProperty("java.naming.factory.initial",
    "com.evermind.server.rmi.RMIInitialContextFactory");
    props.setProperty("java.naming.provider.url", "ormi://localhost/orabpel");
    props.setProperty("java.naming.security.principal", "admin");
    props.setProperty("java.naming.security.credentials", "welcome");
    props.setProperty("dedicated.rmicontext", "true");
    Locator lctr = new Locator("default", "oracle", props);
    Thanks - Ken

  • Creating web services using WAS 6.40

    Hello All,
      When I try to create one in my WAS 6.40, I always get stuck @ the entry that prompts for the package. The error messgae that I received is "Test objects cannot be created in foreign namespaces". Can someone advise what could be the problem ? Am I missing something here ? My apologies if the questions is too trivial but I am totally new to all this R/3 / ABAP thingy. Thank you.
    from
    Kwok Wei

    Hi Kwok,
    There are two solutions for your problem.
    first, if you want to make it transportable then create a
    package and asign your object to that package, you'll get
    Request Number for package and object assigned.
    Secondly you can also save it as Local Object.
    To read about web services in details visit <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm">this</a> and <a href="http://help.sap.com/saphelp_nw04/helpdata/en/D6/F9BC3D52F39D33E10000000A11405A/frameset.htm">this</a>
    Hope it helps.
    Regards,
    Narinder Hartala

  • Calling a web-service using JAX-WS client on the browser

    Hi,
    I created a basic web-service using netbeans/glassfish, which can be successfully called from a JavaFX application running stand-alone.
    But when I try to run the same JavaFX application on a browser, the web-service call does not work, and it is hard to get any information on where it is failing.
    I can see the error is a Throwable (not an Exception), but the message is null.
    What are the restrictions on being able to call a webservice using the JAX-WS libraries? Are there security issues? I am not using the javafx HTTP libraries.
    Also, if Java1.6u10 is available on the machine running the browser, do I still need to package all the JAX-WS libraries for the client?
    Any help is appreciated, even if it is just about how to track down the problem.

    Thank you very much for responding.
    There was no error due to WebService. Actually, I was using xmlbeans and I did not put those xmlbeans jar files into appropriate place. That is what caused the problem. I have solved it now and it is working fine.
    I put those xmlbeans jar files into my war file. It is working. Earlier, I had put them in tomcat 5.5's shared/lib directory. It was not working.
    Thank you once again for replying.
    Sasi.

  • Validation error while creating Web Service Proxy.

    Hi,
    I'm trying to create Web Service Proxy. But I'm stuck with a Validation error
    model error: type
    +"{http://xmlns.oracle.com/2001/XMLSchema/DOM}+
    +org.w3c.dom.Document" not found.+
    I'm using "Create Web Service Proxy" wizard. There are 6 steps in creating proxy through JDev. wizard.
    First step itself displaying the above validation error when I click on "Next" button.
    Few points
    We have created web service using "oracle.j2ee.ws.StatelessJavaRpcWebService" servlet
    Thanks in advance.
    -Sukumar

    Hi,
    It might be that the .net service which you have is not WS-I compliant. Can you first run WS-I Analyzer on the wsdl to see it the test passes.
    Thanks,
    Vishal

Maybe you are looking for

  • Authorize-deauthorize circle

    Another member of my household recently purchased a 15" MacBook Pro POST mid-2010, that is, a laptop whose mini displayport outputs audio as well as video. I would like to display the videos purchased in iTunes from his laptop to our HDTV. We have th

  • Vault + Time Machine w/ Referenced Masters

    I know this general question has been asked several times, but I can't find a solution that matches my specific setup. I'm running Aperture off my MBP, so I have set up one external drive to hold my referenced masters. My internal drive has my apertu

  • Gis map legend missing on .pdf exporting

    Hi guys, i've a big problem with the WAD exporting for printing. I've a simple gis map template with legend visible.Template is running fine on internet explorer but when i try to print report (right clic on the map - printable version) in the output

  • Ffmpeg 1.2.6-2 build libx264.so dependancy not found [Solved]

    I can't build the latest ffmpeg build because of this error ==> Installing missing dependencies... error: target not found: libx264.so I build my own ffmpeg package so I can include "nonfree" Does this libx264.so package excist or is it an error in t

  • Showing dates of segments in iMovie projects

    Hello, I have searched everywhere, and could not find the answer (perhaps I am not so good at searching . My camcorder automatically shows the date for each new segment. This data is acquired by iMovie, and I see it in the Events window. Can I make i