java webservice

java webservice

hi,

Here is my Code :-

package hello;

import javax.jws.WebService;
import javax.xml.ws.Endpoint;

@ WebService

public class CircleFunctions 
{
   public double getArea(double r) 
   {
       return java.lang.Math.PI * (r * r);
    }

   public double getCircumference(double r) 
   {
        return 2 * java.lang.Math.PI * r;
    }

    public static void main(String[] args) {

          Endpoint.publish(
             "http://localhost:8080/WebServiceExample/circlefunctions",
             new CircleFunctions());

    }
}
View Answers









Related Tutorials/Questions & Answers:
Java Webservice
Java Webservice  Can i have a introductionary java webservice pdf introductionary with example ?   Have a look at the following link: Java Webservices
java webservice
java webservice  hi, Here is my Code :- package hello; import javax.jws.WebService; import javax.xml.ws.Endpoint; @ WebService public class CircleFunctions { public double getArea(double r) { return
Advertisements
java webservice
java webservice  hello sir, i download fedex sample code and want to run in eclipse, but i cant do this . so sir guide me how to use fedex web service
RESTful Webservice
RESTful Webservice  Hi Everyone, presently I am trying RESTful webservice in java. But I din't get the proper example for this. So Can anyone please send me the RESTful webservice example with all requests(GET,POST,PUT,DELETE
Asynchronous webservice
Asynchronous webservice   Hi Can anyone help me in creating sample asynchronous webservice. Thanks in advance
webservice - WebSevices
webservice  how to call axis webservice from mule (esb
create webservice
create webservice  Hi Can anyone help me to create a webservice which access another webservice results and display it. thanks
Java Client webservice
Take a new web project.Give it the name  Java-WebService ADS... Take a new Java Application  project Give the name as Java-webservice...; Here we will show you how you can develop a webservice that calculates
Maven dependency for com.sdl - odata_webservice version 2.6.9 is released. Learn to use odata_webservice version 2.6.9 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.6.9 ) in their Java project... and includes  com.sdl - odata_webservice version 2.6.9 java library in your project...Maven dependency for  com.sdl  - Version 2.6.9 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.7.13 is released. Learn to use odata_webservice version 2.7.13 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.7.13 ) in their Java project... and includes  com.sdl - odata_webservice version 2.7.13 java library in your...Maven dependency for  com.sdl  - Version 2.7.13 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.12 is released. Learn to use odata_webservice version 2.8.12 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.12 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.12 java library in your...Maven dependency for  com.sdl  - Version 2.8.12 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.8 is released. Learn to use odata_webservice version 2.9.8 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.8 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.8 java library in your project...Maven dependency for  com.sdl  - Version 2.9.8 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.9 is released. Learn to use odata_webservice version 2.9.9 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.9 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.9 java library in your project...Maven dependency for  com.sdl  - Version 2.9.9 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.13 is released. Learn to use odata_webservice version 2.10.13 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.13 ) in their Java... that downloads and includes  com.sdl - odata_webservice version 2.10.13 java library...Maven dependency for  com.sdl  - Version 2.10.13 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.6.8 is released. Learn to use odata_webservice version 2.6.8 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.6.8 ) in their Java project... and includes  com.sdl - odata_webservice version 2.6.8 java library in your project...Maven dependency for  com.sdl  - Version 2.6.8 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.7.12 is released. Learn to use odata_webservice version 2.7.12 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.7.12 ) in their Java project... and includes  com.sdl - odata_webservice version 2.7.12 java library in your...Maven dependency for  com.sdl  - Version 2.7.12 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.11 is released. Learn to use odata_webservice version 2.8.11 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.11 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.11 java library in your...Maven dependency for  com.sdl  - Version 2.8.11 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.7 is released. Learn to use odata_webservice version 2.9.7 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.7 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.7 java library in your project...Maven dependency for  com.sdl  - Version 2.9.7 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.12 is released. Learn to use odata_webservice version 2.10.12 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.12 ) in their Java... that downloads and includes  com.sdl - odata_webservice version 2.10.12 java library...Maven dependency for  com.sdl  - Version 2.10.12 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.10 is released. Learn to use odata_webservice version 2.9.10 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.10 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.10 java library in your...Maven dependency for  com.sdl  - Version 2.9.10 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.17 is released. Learn to use odata_webservice version 2.10.17 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.17 ) in their Java... that downloads and includes  com.sdl - odata_webservice version 2.10.17 java library...Maven dependency for  com.sdl  - Version 2.10.17 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.17 is released. Learn to use odata_webservice version 2.10.17 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.17 ) in their Java... that downloads and includes  com.sdl - odata_webservice version 2.10.17 java library...Maven dependency for  com.sdl  - Version 2.10.17 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.11 is released. Learn to use odata_webservice version 2.10.11 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.11 ) in their Java... that downloads and includes  com.sdl - odata_webservice version 2.10.11 java library...Maven dependency for  com.sdl  - Version 2.10.11 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.10 is released. Learn to use odata_webservice version 2.8.10 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.10 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.10 java library in your...Maven dependency for  com.sdl  - Version 2.8.10 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.9 is released. Learn to use odata_webservice version 2.8.9 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.9 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.9 java library in your project...Maven dependency for  com.sdl  - Version 2.8.9 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.3 is released. Learn to use odata_webservice version 2.10.3 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.3 ) in their Java project... and includes  com.sdl - odata_webservice version 2.10.3 java library in your...Maven dependency for  com.sdl  - Version 2.10.3 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.1 is released. Learn to use odata_webservice version 2.10.1 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.1 ) in their Java project... and includes  com.sdl - odata_webservice version 2.10.1 java library in your...Maven dependency for  com.sdl  - Version 2.10.1 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.14 is released. Learn to use odata_webservice version 2.10.14 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.14 ) in their Java... that downloads and includes  com.sdl - odata_webservice version 2.10.14 java library...Maven dependency for  com.sdl  - Version 2.10.14 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.6 is released. Learn to use odata_webservice version 2.9.6 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.6 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.6 java library in your project...Maven dependency for  com.sdl  - Version 2.9.6 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.4 is released. Learn to use odata_webservice version 2.9.4 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.4 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.4 java library in your project...Maven dependency for  com.sdl  - Version 2.9.4 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.7.7 is released. Learn to use odata_webservice version 2.7.7 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.7.7 ) in their Java project... and includes  com.sdl - odata_webservice version 2.7.7 java library in your project...Maven dependency for  com.sdl  - Version 2.7.7 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.16 is released. Learn to use odata_webservice version 2.10.16 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.16 ) in their Java... that downloads and includes  com.sdl - odata_webservice version 2.10.16 java library...Maven dependency for  com.sdl  - Version 2.10.16 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.10.15 is released. Learn to use odata_webservice version 2.10.15 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.10.15 ) in their Java... that downloads and includes  com.sdl - odata_webservice version 2.10.15 java library...Maven dependency for  com.sdl  - Version 2.10.15 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.6.7 is released. Learn to use odata_webservice version 2.6.7 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.6.7 ) in their Java project... and includes  com.sdl - odata_webservice version 2.6.7 java library in your project...Maven dependency for  com.sdl  - Version 2.6.7 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.3 is released. Learn to use odata_webservice version 2.9.3 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.3 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.3 java library in your project...Maven dependency for  com.sdl  - Version 2.9.3 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.2 is released. Learn to use odata_webservice version 2.9.2 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.2 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.2 java library in your project...Maven dependency for  com.sdl  - Version 2.9.2 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.1 is released. Learn to use odata_webservice version 2.9.1 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.1 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.1 java library in your project...Maven dependency for  com.sdl  - Version 2.9.1 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.6.5 is released. Learn to use odata_webservice version 2.6.5 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.6.5 ) in their Java project... and includes  com.sdl - odata_webservice version 2.6.5 java library in your project...Maven dependency for  com.sdl  - Version 2.6.5 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.5.6 is released. Learn to use odata_webservice version 2.5.6 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.5.6 ) in their Java project... and includes  com.sdl - odata_webservice version 2.5.6 java library in your project...Maven dependency for  com.sdl  - Version 2.5.6 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.3.22 is released. Learn to use odata_webservice version 2.3.22 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.3.22 ) in their Java project... and includes  com.sdl - odata_webservice version 2.3.22 java library in your...Maven dependency for  com.sdl  - Version 2.3.22 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.3.21 is released. Learn to use odata_webservice version 2.3.21 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.3.21 ) in their Java project... and includes  com.sdl - odata_webservice version 2.3.21 java library in your...Maven dependency for  com.sdl  - Version 2.3.21 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.3.19 is released. Learn to use odata_webservice version 2.3.19 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.3.19 ) in their Java project... and includes  com.sdl - odata_webservice version 2.3.19 java library in your...Maven dependency for  com.sdl  - Version 2.3.19 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.3.18 is released. Learn to use odata_webservice version 2.3.18 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.3.18 ) in their Java project... and includes  com.sdl - odata_webservice version 2.3.18 java library in your...Maven dependency for  com.sdl  - Version 2.3.18 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.9.0 is released. Learn to use odata_webservice version 2.9.0 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.9.0 ) in their Java project... and includes  com.sdl - odata_webservice version 2.9.0 java library in your project...Maven dependency for  com.sdl  - Version 2.9.0 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.8 is released. Learn to use odata_webservice version 2.8.8 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.8 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.8 java library in your project...Maven dependency for  com.sdl  - Version 2.8.8 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.7 is released. Learn to use odata_webservice version 2.8.7 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.7 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.7 java library in your project...Maven dependency for  com.sdl  - Version 2.8.7 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.6 is released. Learn to use odata_webservice version 2.8.6 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.6 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.6 java library in your project...Maven dependency for  com.sdl  - Version 2.8.6 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.5 is released. Learn to use odata_webservice version 2.8.5 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.5 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.5 java library in your project...Maven dependency for  com.sdl  - Version 2.8.5 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.8.4 is released. Learn to use odata_webservice version 2.8.4 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.8.4 ) in their Java project... and includes  com.sdl - odata_webservice version 2.8.4 java library in your project...Maven dependency for  com.sdl  - Version 2.8.4 of odata_webservice
Maven dependency for com.sdl - odata_webservice version 2.7.11 is released. Learn to use odata_webservice version 2.7.11 in Maven based Java projects
this version ( com.sdl - odata_webservice version 2.7.11 ) in their Java project... and includes  com.sdl - odata_webservice version 2.7.11 java library in your...Maven dependency for  com.sdl  - Version 2.7.11 of odata_webservice

Ads