Java Web Service/Eclipse/Tomcat v5.5/Axis v1.4

I am developing a Java web service in Eclipse for deployment on Tomcat v5.5 and Axis v1.4 .
When I run a web service client I've developed to test the web service I get the following error:
Jan 23, 2009 10:27:55 AM org.apache.axis.InternalException <init>
SEVERE: Exception:
java.lang.Exception: The OperationDesc for IPublishEvent was not synchronized to a method of edu.monmouth.rri.ahett.pubwebservice.PublisherWebService.
I have looked on the Apache Axis web site and while there are posts related to this problem they appear to be 1) old and 2) unanswered (or at least I can't find the answer).
I can provide any of the following, if needed, to help diagnose this problem: 1) the Java source code for my class, 2) the WSDL file created when generating the web service in Eclipse, and 3) the deploy.wsdd XML generated.
Thanks

Hello,
I have the same issue on my side --> Tthe OperationDesc for releaseCard was not synchronized to a method"
did you solve this issue?
Thanks in advance.

Similar Messages

  • Java web Service and Tomcat

    Hello,
    how can I set where service save files. Becouse when I save file in web service running on Tomcat 6.0, it is in directory Tomcat\bin.

    Well how do you tell it which file/directory to save it in?
    Just with new File("myFileName.txt") ?
    In that case it just uses the current working directory which normally just happens to be the Tomcat/bin directory.
    Better way is to use the constructor for File which takes two arguments - a directory and a filename
    File saveDirectory = new File("c:/data/webservicefiles/");
    File saveFile = new File(saveDirectory, "myFileName.txt");
    Of course the directory for saving should be configurable somewhere. In a properties file most likely.

  • Deploy JDeveloper 10g Web Services to Tomcat

    We are currently running our web services in Tomcat (using Apache Axis). Is it/will it be possible to deploy web services to Tomcat from JDeveloper 10g?
    Thanks,
    Jasmin

    JDeveloper will only directly support deployment of web services to an Apache 2.2 Web Server.

  • Creating a java Web Service Using Axis

    I need to write a Java web Service using Axis which send a file as an DIme attachement and It should to be invoked by .NET Client .
    I need to know how to attach a file to Soap response and how to read a file from the response at Client.
    I am new to web Services ,,please help me......

    Hi
    You can use a java web service to publish a Web service from a Java class.
    A wizard creates the WSDL document and deployment files needed to publish your code as a Web service. After you select the class and methods you want to publish, the wizard generates deployment descriptors, a JAX-RPC mapping file, and a WSDL document that can be deployed to an application server.
    You can refer : \bpel\samples\tutorials\102.InvokingProcesses\ws sample to invoke a WS using JAX-RPC Call.
    Hope that helps!
    Cheers
    A

  • Newbie question to java web services....

    hi,
    I used to be a .net programmer for a few years, and am have done web services in .net.... (using IIS, of course)
    And i moved onto Java side recently - and am pretty new to tomcat / axis..etc..
    I looked at the netbeans ide tutorial, and it covered on how to create a web services and a client using the IDE - with that is with the sun app server. Since I want to stick with Tomcat (which is a servlet container, i believe), the compilation complained that the HelloWSImpl.java is not a servlet, and will not let me run the web app. I have tried the WSDP 2.0 tutorial as well, but I first got the FastSetsource.jar not found? Then I got some other classes not found..etc... so, until now - i still am not able to create a web service, and a cliet to talk back and forth.
    I have the following questions..
    1. I am confused that how come tomcat itself is already a webserver, why would people use it on top of apache http server, which is another web server?
    2. To create a web services, (I am thinking of the .net web services that i have done - that once you deploy it with IIS, and you browse to that service, if the function takes 2 parameter, there will be 2 textboxes waiting for you to put data to, then once you post - the xml response will come back...), does java allow front end interface automatically like that in .net? Or you have to code the JSP pages to include those textboxes yourself, and do a manual post to the web services address?
    3. Are there any book out there, explains how to use tomcat for webservices? I have looked thru some of the java books that talks about web services, they mainly explain what webservices are, what is xml..etc... and of course, they did talk about the differenct type of messaging format available. (JAX-RPC..etc..)
    4. In the java world - how do you use webservices? Is it the same way that i am familiar with? Like, that we have a front end gui, that it will call the web services, pass it a few param, and get the xml result back, and parse it and display / store.. it? Or that is not the correct way to consume the web services in java world?
    5. In .net - as long as i have the .net framework sdk, and a IIS - i am good to go. In java - what do i need in order to deploy a web services?? I already have tomcat / jdk / wsdp / IDE - do i have enough to create a simple ws? if so, can you show me a basic tutorial??
    based on some reading, i understand that the ws on the service side, needs an SEI implementing java.rmi.remote, and we need another class implementing this SEI. But I would really want to see more example, or downloads, where i can just download / view the whole thing all at once... I googled "java web service", "jax-rpc example"..etc.. most of the return links are from either java.sun.com, or ibm, or some other vendor's web site, explaining the architecture... I really want to look at the code, to get a better understand, what is the relationship between each of these softwares (tomcat, apache http server, axis...)
    Any suggestions??
    Thanks,
    T

    I think I can answer your Q1
    Apache is very good at serving simple HTML pages
    Tomcat is capable of serving active content
    So the two complement each other
    Or that's how I understand it.
    Steaker

  • Which is the BEST Java Web Service Framework to use?

    Hi all,
    I'm a beginner to Web Services.
    I am planning to implement java web services to make the communication between java(Tomcat Server) and C# client.
    I found list of web service frameworks like,
    1. Apache Axis,(POJO,Axiom)
    2. JSON-RPC,
    3. Java Web Services Development Pack ,
    4. Web Services Invocation Framework,
    5. Xfire,
    6. XML Interface for Network Services. ...
    Please do reply me that which web service framework will be efficient to use.

    But, I want to know which Framework will provide
    better performance?
    better than what?
    Also I want to develope the web service as a standard
    one andeach has it's own quircks and implementation details. Each should be able to generate and accept the same SOAP messages though if you implement them properly.
    It should be able to provide bulk data exchange.
    That will depend in large part on your hardware.
    Please suggest a web service framework
    (Java-based) which will give better performance.again, better than what?
    Better than messenger pidgeons?
    Better than swallows (European or African)?
    And if so, how heavy would the message capsule be? 2 swallows may be able to carry a coconut together, holding it on a piece of string.

  • Seeking advice with concept / design of a Java Web Services Application

    Hi all,
    After a week of searching the internet I'm not sure how which projects, services, etc. I should use to develop my application. Please could someone offer some advice?
    Application outline (Java application running on Linux):
    1. Wait for an instruction from a Windows WCF application. Instruction contains a list of domain names and one or two other parameters.
    2. Perform queries upon those domain names (find if they are registered, etc. - takes 10-20 mins to do complete list)
    3. Send back results to WCF application.
    Solution 1 (first idea):
    1. Create SOAP web service using Java Web Services / Apache to listen for requests. Executes a Java Client Application upon request.
    2. Java Client Application performs the queries...
    3. Java Client Application sends results to the Windows web service.
    Solution 1 Problems:
    a) Using 2 applications, they won't be able to share the same memory.
    b) The whole process will be slow (having to pass the domain names from the service to application and execute the application each time) - A quick response is critical.
    c) Would like is for the whole process to be done under one application, sharing the same memory.
    Solution 2:
    1. Create a Java Daemon from scratch listening for an incoming SOAP message (no web service like Apache/Tomcat involved).
    2. Query the domain names in a new thread inside the Java Daemon
    3. Send the results back via SOAP.
    Solution 2 Problems:
    Cannot find examples of how to create a SOAP service from scratch. E.g. creating a WSDL file based on my application; converting application methods to SOAP-callable methods easily (without writing a framework).
    With all the Java tools and projects out there - Java EE, Glassfish Project - there must be a very easy way to achieve this seemingly simple task. Please can someone offer some advice?
    Many thanks for reading this.
    Richard
    Edited by: jazzinbrazil on Mar 30, 2009 4:58 AM

    You just need an app server like Tomcat.If I'm not wrong, Tomcat is a Servlet container.
    Servlets aren't deactivated when they don't receive
    any request for some time?
    How can I deploy an application to Tomcat in order to
    keep it always active?I don't know what you mean. Tomcat is an application that is always running. In what way are the Servlets deactivated?
    Apache Axis: http://ws.apache.org/axis/
    Yes I'm collecting some info about this... let's see
    it!
    Finally, to be more clearer... I don't want to start
    a new application at each invocation (something like
    getting the request, instantiating the necessary
    classes and executing them) but to call an already
    running app at each invocation (so, getting request
    and invoking, in a manner that I don't know, the
    running application).The container manages this. If you have data that must remain loaded, you can associate it with the class (use a static modifier.) This will complicate threading, however.
    I can use Axis to get the request, but it also grants
    me that my app will always be active?I think you are just using the wrong terminology here. What I think you are asking is whether the resources will be loded into memory at all times. If you want to ensure this behavior, you need to associate the data with a class. I'm not 100% positive, but I don't think Tomcat will unload classes in normal circumstances.

  • How to deploy and debug java web service in eclipes or using any other soft

    Hai,
    can any one tell me how to deploy and debug java web service in eclipes or using any other software.
    i have used tomcat web server and jdk1.4.0 to develop web service.
    we have used web service to interact with MS outlook .
    bye
    sudhakar.m

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • How to test a Java Web Service locally?

    I developed simple java web services.
    Now I want to test them locally.
    I want to expose my web service through my Web Server(Tomcat).
    How can I expose that webservice?
    After that I want to access my web service through a Internet Browser.
    Is it possible to test that web service locally (localhost)?
    My computer is not connected to a network or internet.
    My OS is Windows XP Professional.

    I just set up TCPMON. Considering it is free and the fact that it has more than just a basic UI, I am quite impressed. I also use SOAPscope, which is another great tool, but I am looking for a free option.
    My issue: I set up TCPMON to sniff messages sent over HTTPS through port 8080. But I am getting encrypted messages upon sending the SOAP request as follows:
    �b�b�b�bvC�Ym�)f��OvC�Ym�)f��W�O�k�v�W&#65533;�dQ�$�{� �4�����F&#65533;������vO���XEC
    )��~9gl^�OvC�Ym�)f��W�O�k�v�W&#65533;�dQ�$�{� �4�����F&#65533;������vO���XEC
    )��~9gl^�OvC�Ym�)f��W�O�k�v�W&#65533;�dQ�$�{� �4�����F&#65533;������vO���XEC
    )��~9gl^�
    Any clue why?
    Your help is greatly appreciated.
    Aish

  • Java Web Service Book Recommendation

    Hello,
    my company is converting our old HP database system to Oracle database/server. I am looking for some books that can help me get familiar with Java Web Services. I want to use the latest Java.
    If anyone owns/knows a good book to recommend is very appreciated. Also, I would like to get a book regarding security in Java Web Service.
    Thank you.

    Three words: Amazon.com user reviews. They've never let me down yet.
    Note that the online documentation is absolutely not bad at all and the internet is riddled with examples; I managed to figure it all out without the help of a book.
    JAX-WS: https://metro.java.net/discover/
    JAX-RS: https://jersey.java.net/nonav/documentation/latest/index.html
    Of course these are only the reference implementations. Many people choose to use Apache Axis 2 in stead of Metro for example, which has its own (rich) documentation, user base and forums.

  • Java Web Services - a nightmare?!

    Hello Techies,
    Java Web Services has been a nightmare for me. I would like to take your help in understanding it better. I have read many articles on it. But I did not ,yet, get a complete picture on it. They say there are JAX RPC , JAX WS , Axis and so many varities of Web Services. Its so confusing. Will you be kind enough to give a simple overview Java Web Services ? and Where do i start , If i have to learn it ? Any good source of information to learn them?
    Sincere thanks.

    I'm also facing the same problem with you to understand what is web service and how to go about it. Until today I still confusing but I tried to understand it by running a few tutorials. So far the cool one is at http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/.

  • Java web services tutorial.

    Hi i have seen and tried the Java web services JAX-RPC tutorial.
    And i have a question here.
    If i want to invoke lets say a web service on a .NET platform, can i still use JAX-RPC to invoke it?
    Must the server implement JAX-RPC if i want to use it on the client side?
    sorry i still not clear about it.

    once you are done creating .war files having WSDL and all, deploy it on Tomcat or any other web container.
    create .vb (or which ever language) stub for the JAX-RPC service using WSDL.exe for the .NET enviornment.
    In your .NET enviornment, import this stub in your project. In your code, you can define a local varible as a "JavaService" object and assign the instance of your jax-rpc service and use the local variable methods as any other object method calls.

  • "The Java Web Services" - ant install

    Hi, I recently downloaded "The Java Web Services" and "The Java Web Services Tutorial".
    And I've reached the Creating the Build Properties File portion of the tutorial:
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/GettingStarted2.html#73059
    I'm using Windows ME and I have no idea where to put the build.properties file.
    Can anyone give me any suggestions? I am successfully able to
    ant compile
    but I can't get
    ant install
    to work once I have done the ant compile and I suspect this is because of me not having the build.properties file set... although it could be unrelated to that.
    when I try to use:
    ant install
    I get the following error at the command prompt:
    C:\tim\programs\jwsdp-1_0\docs\tutorial\examples\gs\build.xml:46: java.io.IOExce
    ption: Server returned HTTP response code: 401 for URL: http://localhost:8080/ma
    nager/install?path=%2Fgs&war=file%3AC%3A%5Ctim%5Cprograms%5Cjwsdp-1_0%2Fdocs%2Ft
    utorial%2Fexamples%2Fgs%2Fbuild
    Now tomcat is running on the correct port (8080) and the directory being referenced in the above URL exists. Am I supposed to map tomcat to a particular file system or something?
    Thanks,
    Tim
    PS I have another post in this forum (it contains only my first question concerning the build.properties file), so if you would like the Duke dollars for both posts, feel free to post in both threads and if your answer helps me out, I'll give you the Dollars from both threads.

    Hi Tim
    I have the same problem with the build.properties file. i am not able to solve the problem. did u find any solution for that problem u had. so plz let me knpow about that. i would appreciate if u could mail mne at [email protected]
    thanks in ADV.

  • Java web service (jwsdp)

    Hi,
    I am a newbie to java web service. In my currect project [ using jsf, j2se5.x and tomcat 5.5.17 and Oracle as DB ] I need to update an external system's database (Clarity,CA). So far I read, I understand that I need to use web services to do that. One of colleague has already used jwsdp-2 to a different system. Clarity's web service system uses XOG(Xml open gateway) which uses wsdl.
    In this stage, I am totally confused. How can I connect to jwsdp with clarity's web service ? Can anyone help me how to proceed with this ? How can I start writing a web service ?
    Please help me.
    Thanks,
    njan.

    sun.njan wrote:
    Hi,
    I am a newbie to java web service. In my currect project [ using jsf, j2se5.x and tomcat 5.5.17 and Oracle as DB ] I need to update an external system's database (Clarity,CA). So far I read, I understand that I need to use web services to do that. One of colleague has already used jwsdp-2 to a different system. Clarity's web service system uses XOG(Xml open gateway) which uses wsdl.
    In this stage, I am totally confused. How can I connect to jwsdp with clarity's web service ? Can anyone help me how to proceed with this ? How can I start writing a web service ?
    Please help me.
    Thanks,
    njan.You need to study SOAP first in order for them to pass values.

  • Is it possible to deploy Web Services to Tomcat?

    Good day,
    Can anybody tell me or it is possible to deploy Web Services to Tomcat 5.5.x ? It is possble for ADF, so I was wondering or it is possble for Web Services.
    I tried to deploy it with the following libraries:
    J2EE (excluding the servlet.jar using the filter, while this package is already present in Tomcat)
    Oracle SOAP
    Struts Runtime
    JSP Runtime
    and manually added as library:
    wsserver.jar
    wsdl.jar
    WebServicesHtmlXmlWizard.jar
    The situation at this moment is that after deployment, and execution by the a http browser the http request screens shows up as expected (I have been used Embedded stubs), but after sending I get a:
    28-Sep-2005 11:03:36 org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet MyWebService1 threw exception
    java.lang.NoClassDefFoundError: oracle/aurora/ncomp/java/ClassNotFound
         at oracle.j2ee.ws.StatelessJavaRpcWebService.getGenerator(StatelessJavaRpcWebService.java:28)
         at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:461)
         at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:414)
         at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:532)
         at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:631)
         at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1173)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Any sugestions? Or is there a different behaviour between Oracle en Tomcat version caused by modifications from the apache source.
    I should appreciate it to get some more details about this issue.

    JDeveloper will only directly support deployment of web services to an Apache 2.2 Web Server.

Maybe you are looking for

  • Call Forward to mobile unallocated/unassigned

    Hey, I am having issue with a customer. I have tried all possiblities. Manimpulating translation rules and tried the below link http://www.cisco.com/en/US/tech/tk801/tk133/technologies_tech_note09186a00800b48cb.shtml but nothing worked. Please find b

  • .mac mail account not displaying correctly

    My .mail account has worked for two years but now, when I sign in and the mail inbox is displayed, it does not load fully, text is not displayed correctly and I cant read or reply to mail as the mouse click has no effect... I've emptied the cache and

  • How to activate 5 free UCCX bundle with CUCM in BE6000

    Hi, I'm deploying BE 6000 and am currently trying to install licenses. I'm wondering how do we get 5 UCCX enhanced licenses that come as promo with the UCCM? We ordered HA licenses and an additional 5 enhanced licenses (the goal is to have 10 with th

  • ADF table skins

    I have used jdev 11.1.1.6.0 I have create ADF table , In table header row ,if i drag column header to resize column,it will resize column data only first time, if i refresh column data, column will comes its original size and header remains in resize

  • Printers HP Office Jet Pro 8600

    So I've had an Office Jet Pro 8600 for about a year now. It has been great. just recently, the printing started going to black only and when I tried changing the color cartridges and the black cartridge, I could not get it to work right. It eiter pri