File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web service newbie

 
dale con
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone created authentication web service?

Thanks
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic