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() + "'.");
}
private static Hello getEndpointPort() throws MalformedURLException {
QName serviceName = new QName(Hello.SERVICE_NAMESPACE, Hello.SERVICE_NAME);