rvi / ONVIFCameraAndroid

Example on how to connect to an ONVIF camera on Android
MIT License
142 stars 68 forks source link

Get Profile Request failed #24

Closed engrtaipu closed 1 year ago

engrtaipu commented 1 year ago

E/ERROR: request failed: GetProfiles Response: 400 - Bad Request

<s:Envelope xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2">
  <s:Body>
    <s:Fault>
      <s:Code>
        <s:Value>s:Sender</s:Value>
        <s:Subcode>
          <s:Value>ter:NotAuthorized</s:Value>
        </s:Subcode>
      </s:Code>
      <s:Reason>
        <s:Text xml:lang="en">Sender not Authorized. Invalid username or password! You still have 29 attempt(s).</s:Text>
      </s:Reason>
    </s:Fault>
  </s:Body>
</s:Envelope>