code: public static SOAPElementFactory newInstance() throws SOAPException {
          try {
              return new SOAPElementFactory(SOAPFactory.newInstance());
          } catch (Exception ex) {
              throw new SOAPException(
                  "Unable to create SOAP Element Factory: " + ex.getMessage());
          }
      }
docs: Creates a new instance of <code>SOAPElementFactory</code>.
  
  @return a new instance of a <code>SOAPElementFactory</code>
  
  @exception SOAPException if there was an error creating the
  default <code>SOAPElementFactory</code>