Abstract: first time I'm dealing with web service, soap, appurtenances, so forgive me ignorance absolute. (Also for the bad english)
I have a wsdl on a web server institutional written in java that does NOT contain the client and the various calls no header, but it always requires, for each call.
Problem: I create the client quietly with the endpoint, I connect to the web server responds to me and I read all the parameters (which I do not need anything) of the server. (So I created the tunnel)
Just try to make a call using any of the wsdl, type wsdl.result res = wsdl.getvalore (parameters), I always get errors due to the lack of the header in the message, for example: Private key is not in the X.509 certificate. (But NOT required private key to feel the support of the web service) or No Security Header.
Following the example of the soap message in XML. For the part BODY no problem, but how do I add the header? Thanks to everyone who can help me out. Regards.