Advertisement
Guest User

HelloWorldPublisher

a guest
Sep 3rd, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. package com.stuff.endpoint;
  2.  
  3. import javax.xml.ws.Endpoint;
  4. import com.stuff.ws.HelloWorldImpl;
  5.  
  6. //Endpoint publisher
  7. public class HelloWorldPublisher{
  8.  
  9. public static void main(String[] args) {
  10. Endpoint.publish("http://localhost:9999/ws/hello", new HelloWorldImpl());
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement