Does anyone have an answer to this? I'm in a situation where the user agent is used to create a hash stored in a database. I need the actual user agent of the browser that the user is using to invoke the soap call - 'Axis/1.3' doesn't cut it.
Thanks! Rich Marc Esher wrote: > > Greetings all. I'm using 1.4, call-style invocation (i.e. not generated > with > wsdl2java) and am having trouble overriding the default axis user-agent > header. here's what i'm currently doing: > > Hashtable m = new Hashtable(); > m.put(HTTPConstants.HEADER_USER_AGENT, "Mozilla/5.0(blah blah > blah)"); > call.setProperty(HTTPConstants.REQUEST_HEADERS, m); > > > Problem is, this basically just doubles up the user agent header instead > of > overwriting the existing header. > > So... how does one override this header? > > Thanks so much. > > Marc > > -- View this message in context: http://www.nabble.com/setting-the-user-agent-header-tp14343495p16969507.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
