public Response(RegistryErrorListGenerator rel) throws XdsInternalException { init(version_3, rel); }
setLocationForXCA(); return getRoot();
public void run(ErrorRecorder er, MessageValidatorEngine mvc) { this.response = rrSim.getResponse(); try { er.detail("Wrapping response in SOAP Message"); OMElement env = dsSimCommon.wrapResponseInSoapEnvelope(response.getResponse()); dsSimCommon.sendHttpResponse(env, er); } // this cannot be - registry errors already sealed - this must be SOAP Fault catch (Exception e) { er.err(XdsErrorCode.Code.SoapFault, e); dsSimCommon.sendFault("Error wrapping response in Soap Envelope", e); System.out.println(ExceptionUtil.exception_details(e)); } }
resp.add(relg, null); } catch (Exception e) {}
void build() throws XdsException, LoggerException { er = response.getErrorRecorder();
response.add_error("XDSRegistryError", "Unknown Stored Query query id = " + query_id, "AdhocQueryRequest.java", SqDocRef.QueryID, log_message);
private void returnRetrieveError() { mvc.run(); Response response = null; try { response = dsSimCommon.getRegistryResponse(); er.detail("Wrapping response in RetrieveDocumentSetResponse and then SOAP Message"); OMElement rdsr = dsSimCommon.wrapResponseInRetrieveDocumentSetResponse(response.getResponse()); OMElement env = dsSimCommon.wrapResponseInSoapEnvelope(rdsr); dsSimCommon.sendHttpResponse(env, er); } catch (Exception e) { } }
public Response(short version, RegistryErrorListGenerator rel) throws XdsInternalException { init(version, rel); }
public Response() throws XdsInternalException { init(version_3, new RegistryErrorListGenerator(version_3, true /* log */)); }
public Response(short version) throws XdsInternalException { init(version, new RegistryErrorListGenerator(version, true /* log */)); }