Call a webservice in Java Posted: 08 Jul 2013 09:00 AM PDT If you have already created your first Java Web Service, and you are wondering how to consume this web service then this tutorial will show you just that. In fact one of the main advantages of Web Services is its Platform indepence. Which means your web service can be written in any language whereas you can call this web service and consume it from any other programming language |
Java WebService - Create your first web service in Java Posted: 08 Jul 2013 09:00 AM PDT If you are tasked to develop a web service in Java, you will probably try to google around and check how to get started. If you are a beginner in Web Services, you will surely get confused with the various tools, terms, acronyms, technologies related to Java based web services. In reality, it is NOT that complex. The problem usually lies in the fact that there is no complete tutorial for a beginner. Of course you can find some on the web, but they normally tend to use complex acronyms and steps that will confuse the beginner. Therefore this tutorial will help you to create your first Java web service using just the command prompt and JDK. |
package javax.jws does not exist Posted: 08 Jul 2013 09:00 AM PDT From jdk 1.6, the java web services package and the related files were bundled with the JDK. The best solution therefore is to upgrade to the latest jdk (jdk 1.7). If even after installing the jdk 1.7, you still get this error, then check your JAVA_HOME environment variable and the PATH environment variable. Both these variables should be updated and pointed to your jdk 1.7 installation folder. |