I would like to set a custom value for the HTTP user agent, in an Axis 1.4 client. The company I work for has recently started distributing java libraries for accessing our webservice. These libraries use Axis, but provide convenience features that make it easier to use the web service. I'd like to put a custom name and version of the library into the user agent, so I know what version of the library customers are using.
It does not look like there is a supported way to do this. Cruising through the code, I can see that org.apache.axis.transport.http.HTTPSender pulls the user agent from org.apache.axis.i18n.resource.properties. It does look like you can specify user supplied http headers to a MessageContext, but those headers are written to the Socket after the user agent from the properties file has already been written. Does anybody have any suggestions for setting the user agent? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
