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
>