esercizi webservices wsdl
This commit is contained in:
17
test5_ws_client/Client.java
Normal file
17
test5_ws_client/Client.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package test5_ws_client;
|
||||
|
||||
import test5_ws.*;
|
||||
|
||||
/**
|
||||
* Created by Giovanni on 12/06/2015.
|
||||
*/
|
||||
public class Client {
|
||||
public static void main(String[] argv) {
|
||||
HelloWorldInterface service = new HelloWorldService().getHelloWorldPort();
|
||||
//invoke business method
|
||||
ObjectToPass o = new ObjectToPass();
|
||||
o.message = "jo from the client";
|
||||
System.out.println(service.modifymessage(o).message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user