XML Web Service Authentication

J

John.Arthur

Hi,

I need to build Web Service that allows me to create some methods that
are not public and other that are public. I need something like logging
to the Web Service with username and password. Only successfully logged
uses can use some of the methods.

Any ideas?

Thanks
 
J

John.Arthur

Thank you fir the answer Brock.

I was reading about the session object in the Web Services, is it a
good idea if I put something in the Web Service Session and if it does
not exist that means the use is not logged.
 
B

Brock Allen

No, don't use the Session object in WebServices as it's a hack. It replies
upon cookies and an out of band (outside of WSDL) agreement with the client
to use them. It also ties you to HTTP. Use the header I mentioned and require
the credentials on every request.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top