public class WSSClient {
public static void main(String[] args) throws MalformedURLException, RemoteException {
Hello hello = getEndpointPort();
UserType userType = new UserType();
userType.setMsg("Hello ESB");
UserType retObj = hello.echoUserType(userType);
System.out.println("Echo received '" + retObj.getMsg() + "'.");
}