code: protected Node unwrapSoapResponse(SOAPMessage soapResponse) throws ActivityException, AdapterException {
          try {
              // unwrap the soap content from the message
              SOAPBody soapBody = soapResponse.getSOAPBody();
              Node childElem = null;
              Iterator<?> it = soapBody.getChildElements();
              while (it.hasNext()) {
                  Node node = (Node) it.next();
                  if (node.getNodeType() == Node.ELEMENT_NODE && node.getLocalName().equals(getOutputMessageName())) {
                      NodeList childNodes = node.getChildNodes();
                      for (int i = 0; i < childNodes.getLength(); i++) {
                          if (getResponsePartName().equals(childNodes.item(i).getLocalName())) {
                              String content = childNodes.item(i).getTextContent();
                              childElem = DomHelper.toDomNode(content);
                          }
                      }
                  }
              }
              if (childElem == null)
                throw new SOAPException("SOAP body child element not found");
  
              // extract soap response headers
              SOAPHeader header = soapResponse.getSOAPHeader();
              if (header != null) {
                  extractSoapResponseHeaders(header);
              }
  
              return childElem;
          }
          catch (Exception ex) {
              throw new ActivityException(ex.getMessage(), ex);
          }
      }
docs: Unwrap the SOAP response into a DOM Node.