public ExtensibilityElement unmarshall(
      Class parentType, QName elementType, Element el, Definition def, ExtensionRegistry extReg)
      throws WSDLException {
    SOAPBody soapBody = (SOAPBody) extReg.createExtension(parentType, elementType);
    String partsStr = DOMUtils.getAttribute(el, SOAPConstants.ATTR_PARTS);
    String use = DOMUtils.getAttribute(el, SOAPConstants.ATTR_USE);
    String encStyleStr = DOMUtils.getAttribute(el, SOAPConstants.ATTR_ENCODING_STYLE);
    String namespaceURI = DOMUtils.getAttribute(el, Constants.ATTR_NAMESPACE);
    String requiredStr =
        DOMUtils.getAttributeNS(el, Constants.NS_URI_WSDL, Constants.ATTR_REQUIRED);

    if (partsStr != null) {
      soapBody.setParts(StringUtils.parseNMTokens(partsStr));
    }

    if (use != null) {
      soapBody.setUse(use);
    }

    if (encStyleStr != null) {
      soapBody.setEncodingStyles(StringUtils.parseNMTokens(encStyleStr));
    }

    if (namespaceURI != null) {
      soapBody.setNamespaceURI(namespaceURI);
    }

    if (requiredStr != null) {
      soapBody.setRequired(new Boolean(requiredStr));
    }

    return soapBody;
  }
  public ExtensibilityElement unmarshall(
      Class parentType, QName elementType, Element el, Definition def, ExtensionRegistry extReg)
      throws WSDLException {
    MIMEContent mimeContent = (MIMEContent) extReg.createExtension(parentType, elementType);
    String part = DOMUtils.getAttribute(el, MIMEConstants.ATTR_PART);
    String type = DOMUtils.getAttribute(el, Constants.ATTR_TYPE);
    String requiredStr =
        DOMUtils.getAttributeNS(el, Constants.NS_URI_WSDL, Constants.ATTR_REQUIRED);

    if (part != null) {
      mimeContent.setPart(part);
    }

    if (type != null) {
      mimeContent.setType(type);
    }

    if (requiredStr != null) {
      mimeContent.setRequired(new Boolean(requiredStr));
    }

    return mimeContent;
  }