code: private String getSoapVersion(String requestString, boolean goodguess) {
  
          String guessedVersion = SOAPConstants.SOAP_1_1_PROTOCOL;
          String otherVersion = SOAPConstants.SOAP_1_2_PROTOCOL;
          if (requestString.contains(SOAPConstants.URI_NS_SOAP_1_2_ENVELOPE)) {
              guessedVersion = SOAPConstants.SOAP_1_2_PROTOCOL;
              otherVersion = SOAPConstants.SOAP_1_1_PROTOCOL;
          }
          return goodguess ? guessedVersion : otherVersion;
  
      }
docs: <p>
  Gives a hint as to which version of SOAP using the rudimentary check
  below. If the hint fails, it'll try the other version anyway.
  </p>
  <ul>
  <li>SOAP 1.1 : http://schemas.xmlsoap.org/soap/envelope/</li>
  <li>SOAP 1.2 : http://www.w3.org/2003/05/soap-envelope</li>
  </ul>
  <p>
  This is on a per-request basis and can't be static since we need to
  support SOAP 1.1 and 1.2
  </p>
  
  @param requestString
  @param goodguess
  @return SOAP version 1 or 2
  @throws IOException
  @throws SOAPException