request.getParameter("xsd") != null || request.getParameter("XSD") != null) {
GeronimoQueryHandler queryHandler = new GeronimoQueryHandler(this.bus);
URI requestURI = request.getURI();
EndpointInfo ei = this.destination.getEndpointInfo();
// update service port location on each request
SoapAddress address = ei.getExtensor(SoapAddress.class);
address.setLocationURI(getBaseUri(requestURI));
OutputStream out = response.getOutputStream();
String baseUri = requestURI.toString();
response.setContentType("text/xml");
queryHandler.writeResponse(baseUri, null, ei, out);
} else if (endpoint.isSOAP11()) {