MathConsumer_default_0441beaf6acfaf394fa5cef72c11c0f1
MathConsumer_default_0441beaf6acfaf394fa5cef72c11c0f1
JaxWsProxyFactoryBean;
// Use the URL defined in the soap address portion of the WSDL
factory.setAddress("http://localhost:8080/MathUtility/services/MathUtilityPort");
try {
System.out.println(response);
int response2 = ((MathUtility)client).addIntegers(5,2);
System.out.println(response2);
} catch (SecurityException e) {
e.printStackTrace();
} catch (IllegalArgumentException e) {
e.printStackTrace();
}
}
}