I'm using Axis 1.4 for a web services client, and would like to change the
"User-Agent" header from "Axis/1.4" to something else. Is there any way to
do it?
I've been able to add a "User-Agent" header:
Hashtable t = new Hashtable();
t.put(HTTPConstants.HEADER_USER_AGENT, "My Client");
call.setProperty(HTTPConstants.REQUEST_HEADERS, t);
...but it doesn't replace the "Axis/1.4" header, I just end up with two
headers:
...
User-Agent: Axis/1.4
...
User-Agent: My Client
...
Any ideas?
Thanks,
Hilton
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]