I have a WSDL file and i want to add header to it when I am requesting it from the wed service client.
I want to add these three attributes to it in the header. I am using Java and Apache CXF
<soapenv:Header>
<UsernameToken xmlns="http://example.com/webservice">username</UsernameToken>
<PasswordText xmlns="http://example.com/webservices">password</PasswordText>
<SessionType xmlns="http://example.com/webservices">Stateless</SessionType>
</soapenv:Header>