This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "help needed" Watch "help needed" New topic
Author

help needed

Neel Chow
Ranch Hand

Joined: Jan 10, 2005
Posts: 55
Guys Help me out...
I am writing Java client for a webServices which requires Soap Authentication.


I have to include the username and the password in the soap header.
How can I do that in WebSphere Application developer.
Thanks in advanced.
Avijit
Neel Chow
Ranch Hand

Joined: Jan 10, 2005
Posts: 55
I did not make the funny faces in the previous code..

<soap:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse: Username>abc</wsse: Username>
<wsse: Password>abc</wsse: Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
 
Have you checked out Aspose?
 
subject: help needed
 
It's not a secret anymore!