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); } }
public void setTimeout(int timeout) { call.setTimeout(timeout); }