public class WSATest extends DynamicPortTestCase
{
public void testWSA() throws Exception
{
EmployeeDirectory_Service svc = new EmployeeDirectory_Service();
EmployeeDirectory port = svc.getEmployeeDirectoryPort(new AddressingFeature());
BindingProvider bp = (BindingProvider) port;
bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost:" + getPorts().get(0) + "/services/employee");
System.out.println(port.getEmployees());