TriprequestService service = new TriprequestService();
Triprequest port = service.getTriprequestPort();
BindingProvider bp = (BindingProvider) port;
Map map = bp.getRequestContext();
map.put(BindingProvider.USERNAME_PROPERTY, "shafiek1");
map.put(BindingProvider.PASSWORD_PROPERTY, "password");
map.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://qapo:8888/trex-pn/triprequest ");
Setting endpoint for JAX-RPC
Triprequest port = service.getTriprequestPort();
BindingProvider bp = (BindingProvider) port;
Map
map.put(BindingProvider.
map.put(BindingProvider.
map.put(BindingProvider.
Setting endpoint for JAX-RPC
stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,
username);
stub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,
password);
username);
stub._setProperty(javax.xml.
password);