Object respPojo = handleSOAPRequestElement(reqElem);
SOAPMessage soapResp = messageFactory.createMessage();
SOAPBody respBody = soapResp.getSOAPBody();
if (respPojo != null) {
JAXB.marshal(respPojo, new SAAJResult(respBody));
} else {
SOAPFault fault = respBody.addFault();
fault.setFaultString("Unknown SOAP request: " + (reqElem != null ? reqElem.getElementQName() : ""));
}
return soapResp;