WSMethodInvocationInvoke & Basic Authentication
WSMethodInvocationInvoke & Basic Authentication
- Subject: WSMethodInvocationInvoke & Basic Authentication
- From: petite_abeille <email@hidden>
- Date: Thu, 13 Mar 2003 14:14:34 +0100
Hello,
I'm trying to use WebServicesCore's WSMethodInvocationInvoke to access
an XML-RPC service... and it works well enough :-)
Now I need to use Basic Authentication (as per rfc2617) to access this
service...
How do I set the authentication information?
Setting the authorization in the url itself doesn't seem to make any
differences (e.g. "
http://username:password@localhost").
There is something like WSMethodInvocationSetProperty with
kWSHTTPExtraHeaders which could perhaps be used to set the
Authorization header manually... but I cannot find any Base64 encoder
anywhere to encode the authorization value. Is there a Base64 encoder
in Cocoa/Carbon somewhere?
Alternatively, is there a more straightforward way of doing Basic
Authentication?
Thanks.
Cheers,
PA.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.