Bug Fix

Waygood
2013-10-29
2013-10-29
  • Waygood
    Waygood
    2013-10-29

    There is an error in setCredentials() header construction code.

    In lib/class.soap_transport_http.php line 521 and nusoap.php line 2675, the $opaque setting is place inside the digest_uri parameter.

    The result when using opaque is currently not parseable:

    ... uri="/index.php?wsdl, opaque="e2150ecc65e46961ebd5972044c3ff4f"", cnonc...
    (note no ending quote for uri, but extra quote for opaque)

    You need to change
    uri="' . $this->digest_uri . $opaque . '", cnonce="' . $cnonce

    to:
    uri="' . $this->digest_uri . '"' . $opaque . ', cnonce="' . $cnonce