Hi,
I want to add more HTTP headers when sending SOAP messages over HTTP.
As long as I see HTTPSender.java, only a fixed set of HTTP headers can be added.  Users cannot define their own headers to add.  Am I right?
I think that there are so many HTTP headers not covered in Axis, and some HTTP servers often can accept their own headers for specifi purposes (security, performance, routing etc.).  It would be a good idea to make this portion extensible.
 
Proposed change would be:
1. Define a constant for     MessageContext.get/setProperty
    i..e. HTTPConstants.HEADERS
2. The value of the property would be Hashtable, HashMap, etc.
3. HTTP headers/values are stored in the Hashtable.
4. HTTPSender take the hashtable to serialize into HTTP headers.
 
Off course, you do not have the entry in your MessageContext.bag, then nothing won't happen.
 
Any problem?
 
Best regards,
 
Yuichi Nakamura
 
IBM Tokyo Research Laboratory
Tel: +81-46-215-4668
e-mail: [EMAIL PROTECTED]
          [EMAIL PROTECTED]
BEGIN:VCARD
VERSION:2.1
N:Yuichi;Nakamura
FN:Yuichi Nakamura
ORG:IBM Research
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20020319T081858Z
END:VCARD


Reply via email to