• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WSMethodInvocationInvoke & Basic Authentication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: WSMethodInvocationInvoke & Basic Authentication
      • From: petite_abeille <email@hidden>
  • Prev by Date: Printing on both sides from a subclassed NSView
  • Next by Date: Text in Boxes Design Help Sought
  • Previous by thread: Re: Printing on both sides from a subclassed NSView
  • Next by thread: Re: WSMethodInvocationInvoke & Basic Authentication
  • Index(es):
    • Date
    • Thread