private SOAPElement assertRequestXML(SOAPMessage msg) throws Exception {
assertTrue(msg != null);
SOAPBody body = msg.getSOAPBody();
assertTrue(body != null);
Node invokeElement = (Node) body.getFirstChild();
assertTrue(invokeElement instanceof SOAPElement);
assertTrue(SoapMessageProvider.REQUEST_NAME.equals(invokeElement.getLocalName()));
Node discElement = (Node) invokeElement.getFirstChild();
assertTrue(discElement instanceof SOAPElement);
assertTrue(SoapMessageProvider.REQUEST_DATA_NAME.equals(discElement.getLocalName()));
String text = discElement.getValue();
assertTrue(text != null);
assertTrue(text.length() > 0);
TestLogger.logger.debug("Request Message Type is:" + text);
return (SOAPElement) discElement;