public static void main(String[] args) {
try { // Call Web Service Operation
wspub.WsPubService service = new wspub.WsPubService();
wspub.WsPub port = service.getWsPubPort();
// TODO initialize WS operation arguments here
InPanel iPanel = new InPanel();
iPanel.setVisible(true);
java.lang.String indice = "1";
java.lang.String msg = "ola";
int duracao = 10;
// TODO process result here
java.lang.String result = port.pedido(indice, msg, duracao);
System.out.println("Result = "+result);
} catch (Exception ex) {
// TODO handle custom exceptions here
}
|