Exemplo n.º 1
0
 public Client(String dxservice, String username, String password) {
   try {
     call = (Call) service.createCall();
     call.setTargetEndpointAddress(dxservice);
     call.setTimeout(callTimeout);
     call.setUseSOAPAction(true);
     call.setProperty(HTTPConstants.REQUEST_HEADERS, encodeAuth(username, password));
   } catch (Exception e) {
     throw new RuntimeException(e);
   }
 }
Exemplo n.º 2
0
 public void setTimeout(int timeout) {
   call.setTimeout(timeout);
 }