Newer
Older
package com.informatika.ojek.webservice;
import javax.xml.ws.Endpoint;
//Endpoint publisher
public class Main{
public static void main(String[] args) {
Endpoint.publish("http://localhost:9999/ws/profile", new Profile());
Endpoint.publish("http://localhost:9999/ws/order", new Order());
Endpoint.publish("http://localhost:9999/ws/history", new History());