You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Robert Dietrick <ro...@nokia.com> on 2005/07/19 21:24:50 UTC
setting HTTP headers in Axis Stub
I'm using a ServiceLocator to get an instance of my Stub class capable
of interacting with my remote service. That is,
MyServiceIF client = MyServiceServiceLocator.getMyService(serviceUrl);
Then I use the client object (a subclass of org.apache.axis.client.Stub)
to make calls to my service. I.e.,
client.someRemoteMethod(someArg);
I'd like to be able to pass custom HTTP headers in my calls, but I can't
find any API calls that would grant me access to the transport layer.
Does anyone know if that's possible?
Thanks.
-rob