OMElement el) throws DataServiceFault {
String queryId = el.getAttributeValue(new QName(DBSFields.HREF));
Map<String, WithParam> withParamList = new HashMap<String, WithParam>();
Iterator<OMElement> wpItr = el.getChildrenWithName(new QName(DBSFields.WITH_PARAM));
OMElement wpEl;
WithParam withParam;
while (wpItr.hasNext()) {
wpEl = wpItr.next();
withParam = createWithParam(wpEl);
/* key - target query's name, value - withparam */
withParamList.put(withParam.getName(), withParam);
}
/* get the required roles for the call query */
Set<String> requiredRoles = extractRequiredRoles(el);
CallQuery callQuery = new CallQuery(dataService, queryId, withParamList, requiredRoles);