Hi Tudor,
I am not the bet person to answer your question on Java API.
However, a glance through the Java Stub API gives me the idea that
this is not possible and the Java Stub API deals more with SOAP
specific headers.
Please send this question to the Java mailing list.
Thanks,
Samisa...
On Tue, 1 Feb 2005 10:45:36 +0200, Tudor Denilson <[EMAIL PROTECTED]> wrote:
> Thank you very much, Samisa.
>
> Is there a similar method in the Java Stub API, please? This is
> because part of our project is implemented in C only, the other being
> a JNI based one, with Java calls for invoking remote methods.
>
> Thank you again,
>
> Tudor Vintilescu
>
>
> On Tue, 1 Feb 2005 09:59:55 +0600, Samisa Abeysinghe
> <[EMAIL PROTECTED]> wrote:
> > In the Stub API, there is a method
> > void setTransportProperty(const char *pcKey, const char *pcValue);
> >
> > Assuming your stub object is 'stub' you can call:
> > stub.setTransportProperty("TEST-REQUEST", "TEST-VALUE");
> >
> > HTH.
> >
> > Thanks,
> > Samisa...
> >
> >
> > On Mon, 31 Jan 2005 18:19:40 +0200, Tudor Denilson <[EMAIL PROTECTED]>
> > wrote:
> > > I have the following problem:
> > >
> > > I'm trying to call certain remote methods using a client developed
> > > using Axis, I have a ServiceLocator, Stub and corresponding interface
> > > for them, all goes well, except my service side (the server) requests
> > > me to put in the HTTP header of my embeding SOAP request a parameter,
> > > let's call it: "TEST-REQUEST" with the value "TEST-VALUE". Otherwise,
> > > my http request gets rejected.
> > >
> > > So, I need this line to appear in the http header part of the message
> > > sent through Axis, not in the SOAP envelope part. I don't know how can
> > > I set this.
> > >
> > > If anyone can help, thank you very much for the time,
> > >
> > > Tudor Vintilescu
> > >
> >
>