AXIS vs. JWSDP ?

Hello,
While I might be an experienced Java developer, I am going CRAZY trying to figure out all of these web service paradigms and acronyms. Specifically, I have yet to find a whitepaper that explains the differences between:
Axis2
Java WSDP 2.0
Can anyone help me there?
What I need to do is set up a web service that allows private clients to submit data, and either get back a synchronous response, asynchronous response, or an email at a later time. Now, the data is formatted in XML, however, I don't think I necessarily need it passed via SOAP (the raw XML is fine with me).
Finally, I do NOT want to have to install Tomcat or other application server. Can anyone tell me if I need to use Axis2, JWSDP2, or a combination of both of them to achieve my goals, which are:
- define a web service to transfer xml data (doesn't NEED to be in SOAP envelope)
- do not want to be forced to use Tomcat or any other J2EE application server (i.e. standalone)
- do not need to call remote methods (RPC)
In fact, the more I think about this, the more I see all these new technologies as overhead. Having a public web service defined in some type of registry is useful, but isn't there a ton of overhead with the SOAP envelop and all of the communication mechanisms back/forth?
What above technolog(ies) would I need to use if I wanted to implement my own web service client and server and transfer raw XML, without needing Tomcat?
Thank You,
Eric

I can't speak for Axix, but I can tell you what JAX-WS is capable of.
JAX-WS can deal with any XML based message, it doesn't have to be SOAP.
You can use the Dispatch interface on the client and Provider on the Server to
have direct access to the message.
JAX-WS can proxies can be generated with asynchronous call methods. These methods let the client application use either polling or callback when the response is returned. Currently the response still comes on the transport back channel. The next release of JAX-WS will be more flexible and will allow WS-Addressings non-anonymous replies.
JAX-WS and and Endpoint interface that one can use to publish a lightweight
endpoint that can be used as a callback if necessary. This interface does not require a web container such as tomcat.
Best of all, JAX-WS will be part of Java 6 and you can get all of this functionality without additional jar files. However, it does also run on Java 5.
You can read more about JAX-WS at http://jax-ws.dev.java.net.

Similar Messages

  • JAX-RPC or JAXM or AXIS/GLUE

    Hello,
    I am starting with webservices and am confused with all the APIs out there. Should I start with JAX-RPC or JAXM to develop/consume webservices? Do I need SOAP implementations like AXIS or GLUE?
    Please Help !!!
    -ss

    Yes, it's pretty overwhelming when you're first starting out. My suggestion is to start with JAX-RPC because:
    1. it's easy to understand
    2. most existing web services are RPC-based
    3. there are many nice tools to help you create JAX-RPC based services
    Now you can decide which JAX-RPC implementation to use. Both JWSDP and Axis have JAX-RPC implementations. JWSDP is nice everything-rolled-into-one installation, so it's a good platform for learning (the tutorial version 1.2 isn't available yet but most of the 1.1 tutorial applies to JWSDP 1.2). Just download the JWSDP 1.2 installation package and the tutorial and you're ready to go (Tomcat is bundled with the JWSDP).
    However, I believe that many more commercial web service implementations are based on Axis than JWSDP. If you plan on deploying web services yourself, you may want familiarize yourself with Axis. Just download and install Tomcat, then download and install Axis. The axis-user mailing list at http://ws.apache.org/axis/mail.html is very helpful.
    And don't worry too much about which package is better. Any services you develop with either platform can be ported unchanged to the other.
    Good luck,
    Mike

  • Core Web Services: Definition of...

    Hi there,
    I'm not a native English speaker, so I'm having a hard time trying to translate the word 'endpoint'.
    W3C defines WSDL as "an XML format for describing network services as a set of ENDPOINTS operating on messages containing either document-oriented or procedure-oriented information..."
    The definition uses the word 'endpoint' several times.
    Could anyone help me here, by defining it, in a clear way?

    A web service "endpoint" is a URL that identifies the server host/port and web app. that services calls to a particular web service ... at least that's what it is in practice when the web service is implemented in Java using toolkits such as Axis and JWSDP.

  • WebServices with Java

    Hi,
    I�m a begginer with webservices. I have had some tests and I would like to get some explanations if possible:
    1- What's the difference between Apache AXI and JWSDP ?
    2- A web container is needed in both ?
    3- I had downloaded the JWS tutorial 1.4 and this tutorial says that is needed Sun Java System Application Server Platform Edition 8, but the sun web site says that I can use tomcat-jwsdp too.
    The questions:
    3.1 - Could I use any web container to webservices?
    3.2 - Is Sun Java System Application Server Platform Edition 8 a freeware ?
    3.3 - Is tomcat-jwsdp freeware ?
    3.4 - The difference betweenn tomcat-jwsdp and the apache tomcat is only the jwsdp ?
    Sorry my english is begginer and
    Thank you very much for help

    The Java Web Services Developer Pack (Java WSDP) provides the APIs and toolkit for building applications with Web Services. These are J2EE extensions to J2SE.
    Apache AXIS is an implementation of Web Services, there are others.
    A

  • Can weblogic run serializer classes created by wscompile tool

    Hi,
    I am trying to deploy a webservice on weblogic.
    This webservice implements a given wsdl.
    I have created type mapping classes from 'wscompile' tool and not by 'autotype'
    provided by weblogic as i want my code to follow JAX-RPC standards and it should
    not depend upon weblogic classes.
    when i package the webservice and deploy it on weblogic, i get the following error:
    weblogic.webservice.server.ConfigException: failed to add type mapping to registry:
    - with nested exception:
    [java.lang.InstantiationException: com.egain.adapter.StartMonitoringResponse_LiteralSerializer]
    at weblogic.webservice.server.WebServiceFactory.initTypeMaps(WebServiceFactory.java:228)
    How can we deploy a webservice created with JAX-RPC standard (with either Apache
    Axis or JWSDP) on weblogic?
    I am using WLS 7.0 SP1.
    Thanx for any help in advance.
    Davinder

    JAX-RPC serializer classes are not portable. So you can not use the
    serializer classes
    generated by Sun's RI in weblogic JAX-RPC runtime.
    provided by weblogic as i want my code to follow JAX-RPC standards and itshould
    not depend upon weblogic classes.You dont have to refer any weblogic specific classes to use WLS JAX-RPC
    impl. You
    only need to use the weblogic provied tools. The application code you write
    is portable.
    Check out the edoc for more details:
    http://edocs.bea.com
    -regards,
    manoj
    "davinder" <[email protected]> wrote in message
    news:3e66e03a$[email protected]..
    >
    Hi,
    I am trying to deploy a webservice on weblogic.
    This webservice implements a given wsdl.
    I have created type mapping classes from 'wscompile' tool and not by'autotype'
    provided by weblogic as i want my code to follow JAX-RPC standards and itshould
    not depend upon weblogic classes.
    when i package the webservice and deploy it on weblogic, i get thefollowing error:
    >
    weblogic.webservice.server.ConfigException: failed to add type mapping toregistry:
    - with nested exception:
    [java.lang.InstantiationException:com.egain.adapter.StartMonitoringResponse_LiteralSerializer]
    atweblogic.webservice.server.WebServiceFactory.initTypeMaps(WebServiceFactory.
    java:228)
    >
    How can we deploy a webservice created with JAX-RPC standard (with eitherApache
    Axis or JWSDP) on weblogic?
    I am using WLS 7.0 SP1.
    Thanx for any help in advance.
    Davinder

  • Axis 2.0  or JWSDP 2.0

    Hi,
    I have worked in Webservices using JWSDP2.0. and never worked using AXIS 2.0.
    Would like to know the major differences or advantages over one another and which is best to use and easy in creating the webservices.
    Thanks,
    Narendra

    Hi,
    I have worked in Webservices using JWSDP2.0. and never worked using AXIS 2.0.
    Would like to know the major differences or advantages over one another and which is best to use and easy in creating the webservices.
    Thanks,
    Narendra

  • JWSDP,Axis and Websphere -help!

    Hi everyone,
    I developed a webservice and created a client with Axis 1.1. Then I deployed the webservice both under Apache/Tomcat and everything works fine (ws is alive, client calls correctly the method exposed), and unde WEBSPHERE 5.1 but even if webservice seems installed correctly (WSDL is visible in browser), when I try to call the method exposed i get
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: JAXRPC.JAXRPCSERVLET.30: Internal server error (JAXRPC.JAXRPCSERVLET.43: failed to instantiate service implementor for port "EperWebService")
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace: AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: JAXRPC.JAXRPCSERVLET.30: Internal server error (JAXRPC.JAXRPCSERVLET.43: failed to instantiate service implementor for port &quot;EperWebService&quot;)
    faultActor:
    faultNode:
    faultDetail:
    JAXRPC.JAXRPCSERVLET.30: Internal server error (JAXRPC.JAXRPCSERVLET.43: failed to instantiate service implementor for port "EperWebService")
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
         at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1675)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
         at org.apache.axis.client.Call.invoke(Call.java:2553)
         at org.apache.axis.client.Call.invoke(Call.java:2248)
         at org.apache.axis.client.Call.invoke(Call.java:2171)
         at org.apache.axis.client.Call.invoke(Call.java:1691)
         at it.keytech.EperWebClient.EperWebServiceIFBindingStub.getListaRicambi(EperWebServiceIFBindingStub.java:169)
         at it.keytech.EperWebClient.TestServlet.doGet(TestServlet.java:35)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356)
         at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1723)
         at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1673)
         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:783)
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:945)
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:800)
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454)
    Any ideas? thanks in advance ....

    Did you ever figure this out. Havew the same problem

  • Deploying JAXRPC service on NON-JWSDP Tomcat

    Hi,
    I saw a similar question earlier, but not an answer..
    I'm in a situation where I want to deploy a JAXRPC service on a Tomcat 4.1.12. I use the JSWDP kit from Sun to develop and test, and then I would like to be able to package my service as a .war file and deploy in on a Tomcat 4.1.12 - and still be able to use it as when its deployed in the JWSDP Tomcat. That should not be a problem - right?!
    Unfortunatly (for me) I can't make it work.....not even with the veeery simple JAXRPC hello example program included in the JWSDP tutorial.
    Under the JWSDP Tomcat everything is fine..
    Then I try to use the Tomcat 4.1.12: I copy the .war file to the /webapps directory and restarts Tomcat - it shows up in the Manager as deployed, but I can't create a communication to it from the client!! I get a RemoteException: "Cannot connect to server: /hello-jaxrpc/hello..".
    Can someonegive me a pointer on this one??
    Thanks in advance,
    Kim Vestergaard

    Hi again,
    I did try for a few days without getting near to a solution.
    Instead I started to look at the Apache Axis kit (http://xml.apache.org/axis) - In the latest version it includes support for JAXRPC, and thats what I need. The kit is easier (for me anyway ;-) to figure out, because it is not tight bundled with Tomcat as JWSDP is - Tomcat is still the servletengine-of-choice.
    When I found http://www.javaworld.com/javaworld/jw-01-2002/jw-0125-axis-p3.html the installation and setup was straight forward. I now have Tomcat 4.1.12 / Axis 1.0 running my JAXRPC based webservice....
    /Kim

  • I am new with webservices. what platform should i use? wasp, glue, jwsdp .

    hello i just study web services. i am very new of this. there
    are many soap-based web services platform such as axis,
    glue, wasp ,jwsdp etc. i don't know much about these
    platform. what platform should i use in my project ? i use
    java in my project. anyone have any recommend for me?
    every recommend is important for me. thank you

    If you're not currently involved with a web service project that is using a particular server (e.g., WebSphere, WebLogic, etc.), I suggest starting with Axis. Apache software tends to be adopted by other vendors as a basis for their products. Also, the Axis mailing lists are very active and you're more likely to get your questions answered quickly. Once you're comfortable with Axis, it's probably worthwhile to download the evaluation version of WebSphere or WebLogic to learn how to deploy web services on a commercial platform.
    Good luck,
    Mike W.

  • JWSDP 2.0 Installation problem

    Hi
    I am trying to install JWSDP 2.0, but can not be successful yet.
    OS: "Windows XP SP2"
    Java SDK Version: "1.5.0_06-b05"
    D:\Setup files\Programming>java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    JAVA_HOME environment variable is set to: "C:\Program Files\Java\jdk1.5.0_06"
    Others: "Apache Tomcat 5.5.17 Server" is installed.
    "Axis 1.3" has been installed.
    When I run the executable installation file I get the following output:
    Searching for Java(tm) Virtual Machine...
    Searching for Java 1.5.X by Sun Microsystems
    Verifying Java 1.5.X by Sun Microsystems
    .........................................An unhandled error occurred -- specify
    system property "is.debug" for more information.I tried some workarounds for command line executing with parameters but they did not work either.
    e.g.
    D:\Setup files\Programming>jwsdp-2_0-windows-i586.exe -is:javahome "C:\Program Files\Java\jdk1.5.0_06"Anybody has an aswer for this problem?
    Thanks

    hello,
    i had the same problem and it is about for the language settings of windows platform (mine is xp sp2). My language was set to turkish and changed to english (usa).
    It is working well now...
    Good luck !!!

  • Doubt in AXIS-Exception in thread "main" . how can i run this program

    hi
    I am new to axis., I done few webservice program using Jwsdp
    i can't resolve the reason for this exception.
    I have set all the classpath and other path variable that is necessary for axis .,
    I got this example from http://javaboutique.internet.com/tutorials/Axis/index.html
    Can any one help to solve this problem.,
    **************Code***************
    import java.util.*;
    public class NHLService {
      HashMap standings = new HashMap();
      public NHLService() {
        // NHL - part of the standings as per 04/07/2002
        standings.put("atlantic/philadelphia", "1");
        standings.put("atlantic/ny islanders", "2");
        standings.put("atlantic/new jersey", "3");
        standings.put("central/detroit", "1");
        standings.put("central/chicago", "2");
        standings.put("central/st.louis", "3");
      public String getCurrentPosition(String division, String team) {
        String p = (String)standings.get(division + '/' + team);
        return (p == null) ? "Team not found" : p;
    package hansen.playground;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.rpc.namespace.QName;
    import java.net.*;
    public class NHLServiceClient {
       public static void main(String [] args) throws Exception {
           Service service = new Service();
           Call call = (Call)service.createCall();
           String endpoint = "http://localhost:8081/axis/NHLService.jws";
           call.setTargetEndpointAddress(new URL(endpoint));
           call.setOperationName(new QName("getCurrentPosition"));
           String division = args[0];
           String team = args[1];
           String position =
             (String)call.invoke(new Object [] {new String(division), new String(team)});
           System.out.println("Got result : " + position);
    }************ classpath***************
    :/home/sujithkr/webservices/xml-axis/java:
    /home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/axis.jar
    /home/sujithkr/webservices/xml-axis/lib/activation.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/clutil.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/commons-logging.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/jaxrpc.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/log4j-core.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/tt-bytecode.jar
    ********************Error Report*******************************
    java hansen.playground.NHLServiceClient atlantic philadelphia
    Exception in thread "main" Error while compiling: /usr/local/tomcat/webapps/axis//NHLService.java
    at org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown Source)
    at org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown Source)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at hansen.playground.NHLServiceClient.main(NHLServiceClient.java:21)
    suse-1:/home/sujithkr/webservices # clear
    suse-1:/home/sujithkr/webservices # java hansen.playground.NHLServiceClient atlantic philadelphia
    Exception in thread "main" Error while compiling: /usr/local/tomcat/webapps/axis//NHLService.java
    at org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown Source)
    at org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown Source)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at hansen.playground.NHLServiceClient.main(NHLServiceClient.java:21)
    thank you for helping me in your hectic schedule....

    Please post your code using code tags.
    When I try to compile or build i cant.What is your question? Exactly what error message do you get?

  • Has anyone successfully installed JAXM 1.1.2 with JWSDP 1.2?

    I'm unable to get the /jaxm-provider app from jaxm 1.1.2 running on jwsdp 1.2. Tomcat gives a failure message when I try to start the app manually but no detailed error message is logged. The jaxm samples that do not use a messaging provider are working fine. Has anyone else gotten the jaxm 1.1.2 provider to run?
    Thanks,
    Mike

    Problem solved. I had installed Axis 1.1 as a web app. log4j-1.2.8.jar is copied to JWSDP_HOME/common/lib as part of the Axis installation. When I removed that jar, /jaxm-provider started with no problem. Axis complains about the missing jar but it seems to work anyway.
    Mike

  • WSDP vs. Axis

    These are some pretty basic questions:
    -Does WSDP utilize Apache Axis? If not, which is a better choice for building and consuming web services (WSDP or Axis)?
    -Where can I find a simple example of consuming a web service with WSDP?
    -Can you use the regular Apache Tomcat 5.0 with WSDP, or does it have to be Tomcat for WSDP?
    Thanks!

    Hi
    WSDP does not use Axis, it uses Sn's own JAX-RPC implementation (The "SI" or "Reference Implementation"). As for an example, I would recommend looking at the Web Services section of the J2EE Tutorial (http://java.sun.com/j2ee/1.4/docs/tutorial/doc/).
    And finally, yes, you can use regular Tomcat 5 with the JWSDP (or in theory any other web container that is compliant with the Servlats API 2.3+) - I have been doing so.

  • Jwsdp+jni

    Hi
    I have a little server side Class, which calls a c Library with jni under Linux
    public class NagJniLibrary implements NagJniLibraryIF
      static
          System.loadLibrary("NagJniLibrary");
        public native double sin(double x);
    }if I use ant to build the Service, I get the following error messages at Taget "run-wsdeploy"
    ant build
    Buildfile: build.xml
    clean:
    [delete] Deleting directory /home/j_shen/tmp/NagJniLibrary/build
    prepare:
    [echo] Creating the required directories....
    [mkdir] Created dir: /home/j_shen/tmp/NagJniLibrary/build/nagservice
    [copy] Copying 1 file to /home/j_shen/tmp/NagJniLibrary/build/nagservice
    compile-service:
    [echo] Compiling the server-side source code....
    [javac] Compiling 3 source files to /home/j_shen/tmp/NagJniLibrary/build
    generate-sei-service:
    prepare:
    [echo] Creating the required directories....
    set-wscompile:
    run-wscompile:
    [echo] Running wscompile:
    [echo] /home/j_shen/jwsdp-1.3/apache-ant/..//jaxrpc/bin/wscompile.sh -define -d build -nd build -classpath build config-interface.xml -model build/model.gz
    [delete] Deleting: /home/j_shen/tmp/NagJniLibrary/build/NagJniLibraryService.wsdl
    setup-web-inf:
    [echo] Setting up build/WEB-INF....
    [copy] Copying 4 files to /home/j_shen/tmp/NagJniLibrary/build/WEB-INF/classes/nagservice
    [copy] Copying 1 file to /home/j_shen/tmp/NagJniLibrary/build/WEB-INF
    [copy] Copying 1 file to /home/j_shen/tmp/NagJniLibrary/build/WEB-INF
    [copy] Copying 1 file to /home/j_shen/tmp/NagJniLibrary/build/WEB-INF
    prepare-dist:
    [echo] Creating the required directories....
    package-service:
    [echo] Packaging the WAR....
    [delete] Deleting: /home/j_shen/tmp/NagJniLibrary/dist/nag-jaxrpc-portable.war
    [jar] Building jar: /home/j_shen/tmp/NagJniLibrary/dist/nag-jaxrpc-portable.war
    set-wsdeploy:
    process-war:
    [delete] Deleting: /home/j_shen/tmp/NagJniLibrary/dist/nag-jaxrpc.war
    prepare:
    [echo] Creating the required directories....
    set-wsdeploy:
    run-wsdeploy:
    [echo] Running wsdeploy:
    [echo] /home/j_shen/jwsdp-1.3/apache-ant/..//jaxrpc/bin/wsdeploy.sh -o dist/nag-jaxrpc.war dist/nag-jaxrpc-portable.war
    [exec] java.lang.reflect.InvocationTargetException
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:324)
    [exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    [exec] Caused by: java.lang.UnsatisfiedLinkError: no NagJniLibrary in java.library.path
    [exec] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
    [exec] at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    [exec] at java.lang.System.loadLibrary(System.java:834)
    [exec] at nagservice.NagJniLibrary.<clinit>(Unknown Source)
    [exec] at java.lang.Class.forName0(Native Method)
    [exec] at java.lang.Class.forName(Class.java:219)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.EndpointCompileTool.classExists(EndpointCompileTool.java:80)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.EndpointCompileTool.afterHook(EndpointCompileTool.java:256)
    [exec] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:580)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.process(DeployTool.java:303)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:213)
    [exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
    [exec] ... 5 more
    [exec] Result: 1
    if I comment the "System.loadLibrary("NagJniLibrary")"; such as
    static
         //System.loadLibrary("NagJniLibrary");
    ... it will be builded
    Anyone can help me ? Thanks a lot.

    Hi, i had the same Problem and decided to encapsulate the Native call with an RMI-Wrapper.
    So my topology is now as follows:
    httpClient --> WebService --> RMIServer --> C-library
    I still have some Accesserrors while invoking the native Methods, but i'm sure this is some kind of Axis Security Problem.
    If you got a solution for the problem, please let me know.
    JAN

  • Eclipse WTP + JWSDP + Tomcat

    Hi,
    I am trying to setup eclipse WTP with Java WSDP (1.6) and Tomcat for JWSDP
    (http://java.sun.com/webservices/containers/tomcat_for_JWSDP_1_5.html)
    Any idea whether it is possible to have such development environment or
    would I have to use Netbeans?
    Wouldn't I require a server runtime for (J)WSDP instead of Tomcat's deault
    Axis runtime? Is there such a runtime available?
    Thanks!

    I guess you could say that using Tomcat+WSDP in WTP would "work", but
    not with the same level of integration that you get using the WTP
    supplied Axis. I'm not familiar with JSDP, but I don't think WTP would
    get in the way. However, I can't say if it will provide as much
    "developmental help" as you are looking for.
    Larry
    Neeraj Mahajan wrote:
    > Hi Larry,
    >
    > By "development environment" I mean an intelligent IDE i.e. something
    > like eclipse+WTP that would help me develop/build/deploy/debug Web
    > Services. As you mentioned Tomcat doesnt include Axis runtime, and that
    > is the reasin why, I think, it can be used with Java WSDP too. But AFAIK
    > WTP includes Axis runtime to be used with Tomcat. So the question is,
    > can I use WTP to develop WebServices for Tomcat+WSDP. If yes, then what
    > plugins do I need to use for this.
    >
    > Cheers,
    > Neeraj
    > PS: The reason for using WSDP is beyond my control :(
    >
    > Larry Isaacs wrote:
    >
    >> I'm not sure exactly what you are asking for in the way of a
    >> "development environment". Tomcat doesn't include a default Axis
    >> runtime. I assume the Java WSDP would somehow provide that. WTP has
    >> its own support for developing web services that doesn't involve the
    >> Java WSDP. Have you investigated this support and decided to use Java
    >> WSDP instead?
    >
    >> Cheers,
    >> Larry
    >
    >> Neeraj Mahajan wrote:
    >>> Hi,
    >>>
    >>> I am trying to setup eclipse WTP with Java WSDP (1.6) and Tomcat for
    >>> JWSDP
    >>> ( http://java.sun.com/webservices/containers/tomcat_for_JWSDP_ 1_5.html)
    >>> Any idea whether it is possible to have such development environment
    >>> or would I have to use Netbeans?
    >>> Wouldn't I require a server runtime for (J)WSDP instead of Tomcat's
    >>> deault Axis runtime? Is there such a runtime available?
    >>>
    >>> Thanks,
    >>> Neeraj
    >>>
    >>>
    >

Maybe you are looking for

  • Re-print Quote Smartform from Backend

    Hi,    How do i reprint a quote from the backend. In the action tab I am not able to re-process it .

  • Unable to export a report to pdf but it can be exported to .xlsx

    Hello, I created a report layout as per my specifications after I try to export it to an .xlsx and it successfully exports to it with all the data Now I try to export it to a .pdf but I get the error as "Failed to load a document" I am using google c

  • Stored Proc to create XML (using nested cursors)?

    From previous posts and from the documentation for XSQL I have discovered the joys of the CURSOR operator to create nested tables: i.e: SELECT dname, CURSOR (SELECT ename, sale....) as employees FROM dept However, I can not find any other documentati

  • Why can't I sync my Palm Desktop with iCal?

    When I enable iSync for my Palm (Tungsten E2, Palm Desktop 4.2.1 Rev.D) it disables the conduits I need to sync my Palm Desktop calendar information (Date Book, Tasks, To Do, etc.) with anything else. So when I make a change on Palm Desktop it doesn'

  • IPhone texting showing up green still?

    I understan that by downloading the latest version of iTunes, I should have been able to text back and forth with other iPhone users for free?  Plus, they should show up in blue text.  Mine are still showing up as green after the download.  Any thoug