BindingProvider bindingProvider = (BindingProvider)port;
Map<String, Object> reqContext = bindingProvider.getRequestContext();
reqContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, TARGET_ENDPOINT_ADDRESS);
TestEnumeration res = null;
BClass input = new BClass();
input.setA(1);
input.setB("hello service");
try
{
res = port.testMethod(input);
assertEquals(res, TestEnumeration.A);
}