Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I get username/password in my service?

Donna Reschke
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set up a test client and used the following code to set the username and password:
client.set(Transport.USER, userId);
client.set(Transport.PASSWORD, passWord);
Now, how do I get those same values once my service has been invoked??? I am using Apache Axis. I looked at the API and it shows a getUsername and getPassword method in the MessageContext class but since I am using Axis 1.0 it doesn't recognize those methods. Is there any other way???
Please help.
thanks, Donna
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic