__log.warn("Fault response: faultType=(unkown)\n" + reply.getEnvelope().toString());
final SOAPFaultReason r = reply.getEnvelope().getBody().getFault().getReason();
SOAPFault f = reply.getEnvelope().getBody().getFault();
String reason = r != null ? r.getText() : "Unspecified";
Element details = f != null ? OMUtils.toDOM(f) : null;
odeMex.replyWithFailure(FailureType.OTHER, reason, details);
}
} else {
Message response = odeMex.createMessage(odeMex.getOperation().getOutput().getMessage().getQName());
_converter.parseSoapResponse(response, reply.getEnvelope(), operation);
if (__log.isInfoEnabled()) __log.info("Response:\n" + (response.getMessage() != null ?