예제 #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);
   }
 }