Document handler to register fields for SOAP Header call

Hello,

Do any one of you know how to implement handlers for document in SOAP call?
Basically I am trying to include certain authentication fields like username and password in header section of SOAP request request call to IS such that IS service should internally validates username and password to proceed with the access to the actual service?
How this can be done, can anyone please help me?