*
The moose likes Web Services and the fly likes web service newbie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "web service newbie" Watch "web service newbie" New topic
Author

web service newbie

dale con
Ranch Hand

Joined: Apr 15, 2005
Posts: 93
Has anyone created authentication web service?

Thanks
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Hello gill,

We have a simple policy here that all posters should comply with regarding their name. Would you please take a minute and read the JavaRanch naming policy (which requires you to have a proper display name), and then change your display name to comply with that policy. You can change it by following this link.

Thank you.
Regards
Balaji
dale con
Ranch Hand

Joined: Apr 15, 2005
Posts: 93
Sorry don't get what you are on about

Gill is my name. Do you want my surname as well ?
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by gill:
Has anyone created authentication web service?

Thanks


Have you tried the security samples from Apache Axis
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by gill:
Sorry don't get what you are on about

Gill is my name. Do you want my surname as well ?


Yes please...
dale con
Ranch Hand

Joined: Apr 15, 2005
Posts: 93
That's not really what i want

I need to validate user credentials with a back-end db and generate a token. That token is passed on to the calling web service. The token is used by the calling web service so the user doesn't have to keep logging in.

Not sure how to pass the token to the calling web service
Neel Chow
Ranch Hand

Joined: Jan 10, 2005
Posts: 55
I have similar type of problem. In my case I need to to pass the authentication information as soap header.

<soap:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>abc</wsse:Username>
<wsse assword>abc</wsse assword>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>

I am not sure how to do this in java. I am trying to write stand alone application for a web services. Someone suggested me to write managed web services client in j2ee container or EJB which confused me more.
Please if you have any clue please let me know.
I am using Rational Application developer for this.
Thanks
Avijit
 
 
subject: web service newbie
 
Similar Threads
i want to know how do you invoke any string,array,object data from web service
Design pattern to consume an existing web service
Web service method call behaviour?
How do we get the CurrentURL ??
Syncing files