• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Standalone web service Client using WSS4J

 
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have written a standalone web-service client, And i am able to connect to the service and getting proper response, however my client is working i don't have complete understanding of my client. we are using wss4j in the client side for authentication the web-service.

i just tried to log the message on every stage of the message that my client post to the server, And below is the code that i have



Please refer the Question No below withe relevent piece of code as highlighted in bold

Q1:After this statement securityToken.prepare(doc); the doc is not updated,why its not updated

Q2:Though iam setting securityHeader.setMustUnderstand(false);its not reflecting in the message any other thing i need to do, my message looks like <wsse:Security S:mustUnderstand="1" for both true and false

Q3: differnce between prependToHeader and appendToHeader method

thanks
Amir

>
 
reply
    Bookmark Topic Watch Topic
  • New Topic