When trying to browse a UPNP server that requires authorisation, I get Job.Success=False and the Job.ErrorMessage is set to "Internal Server Error". However the Log displays the following....
I do not know where this Log has originated from as I have disabled all calls to Log in my program and yet still it appears. I've tried to use Job.GetString instead of Job.ErrorMessage but that faults because the the string is Null when Job.Success=False.
I would very much like to access the information in this Logged message as it tells the user that they do not have the necessary access rights to view the UPNP device. I'm guessing that I need to use the reflection library? Please can someone advise on how to proceed?
Thanks,
RandomCoder
B4X:
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<u:UPnPError xmlns:u="urn:schemas-upnp-org:control-1-0">
<u:errorCode>801</u:errorCode>
<u:errorDescription>Access denied</u:errorDescription>
</u:UPnPError>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I do not know where this Log has originated from as I have disabled all calls to Log in my program and yet still it appears. I've tried to use Job.GetString instead of Job.ErrorMessage but that faults because the the string is Null when Job.Success=False.
I would very much like to access the information in this Logged message as it tells the user that they do not have the necessary access rights to view the UPNP device. I'm guessing that I need to use the reflection library? Please can someone advise on how to proceed?
Thanks,
RandomCoder