I set up a client for calling a
soap webservice as mentioned in Martin Kalin's web services up and running Page 248. The callback handler does not seem to be triggering.
And moreover , the output dump of the SOAPMessage does not have a header added.
I figured the getHeader call inside the SOAPHandler will be adding this header along with the Username tokens - username and password.
The code is as-is from the book but not sure why it is not creating the expected SOAPMessage as shown in page 256
I am preparing for the certification so i figured this is the right place to ask such questions. Pardon me if its not. Also i am new to SOAP web services.
Code for the client below
caller
CustomClientHandler
CustomPrompter
client.xml