Thanks Bernard - I tracked down the problem based on your advice. It is that
there was an Apache redirect on the server and while without authentication
the url works fine with the XMLRPC library - turn on authentication and it
does not work - switching to alternate non-redirected url allows
authenticated XMLRPC access. I guess that is a bug?

On 07/03/07, Bernard Devlin <[EMAIL PROTECTED]> wrote:

David, I've only done some simple tests, but I can get basic
authentication working like this:

> put revxmlrpc_createrequest() into myrequest
>
>
> revxmlrpc_sethost myrequest,"myUsername:[EMAIL PROTECTED]"
> revxmlrpc_setport myrequest,"8080"
> revxmlrpc_setpath myrequest,"/"
>
> revxmlrpc_setmethod myrequest,"undo_log"
> put revxmlrpc_execute(myrequest) into myresponse
> if myresponse is a number then
>     answer revxmlrpc_getparam(myresponse,1,"string")
>     revxmlrpc_free myresponse
> else answer myresponse
> revxmlrpc_free myrequest

When you say it is not working, what kind of response are you getting?

Bernard

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to