You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Samisa Abeysinghe <sa...@gmail.com> on 2005/02/01 04:59:55 UTC
Re: Setting certain non-standard http header request properties with Axis
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 <tu...@gmail.com> 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
>
Re: codefreeze in effect, CVS HEAD tagged (release1-5-alpha-cand1)
Posted by sanjaya singharage <sa...@opensource.lk>.
add them to the HEAD please.
----- Original Message -----
From: "Andrew Perry2" <PE...@uk.ibm.com>
To: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Cc: "Apache AXIS C Developers List" <ax...@ws.apache.org>
Sent: Wednesday, February 02, 2005 3:58 PM
Subject: Re: codefreeze in effect, CVS HEAD tagged (release1-5-alpha-cand1)
> Sanjaya,
>
> There are more tests to be added so do we just add them to HEAD or where?
>
> Regards,
>
> Andrew Perry
> IBM Web Services Client for C/C++
> perryan@uk.ibm.com
> Mail Point 127
> IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN
> Tel. Internal 249828 External + 44 (0)1962 819828
> Fax. + 44(0)1962 818080
>
>
>
> "sanjaya
> singharage"
> <sanjayas@opensou To
> rce.lk> "Apache AXIS C Developers List"
> <ax...@ws.apache.org>
> 02/02/2005 04:36 cc
>
> Subject
> Please respond to codefreeze in effect, CVS HEAD
> "Apache AXIS C tagged (release1-5-alpha-cand1)
> Developers List"
>
>
>
>
>
>
>
>
>
> Hi all,
>
> I would like to announce that codefreeze is in effect and
> the CVS HEAD has been tagged with "release1-5-alpha-cand1".
>
> thanks,
> sanjaya.
>
>
>
>
>
Re: codefreeze in effect, CVS HEAD tagged (release1-5-alpha-cand1)
Posted by John Hawkins <HA...@uk.ibm.com>.
As they're test and not new function HEAD.
John Hawkins
Andrew Perry2/UK/IBM@IBMGB
02/02/2005 09:58
Please respond to
"Apache AXIS C Developers List"
To
"Apache AXIS C Developers List" <ax...@ws.apache.org>
cc
"Apache AXIS C Developers List" <ax...@ws.apache.org>
Subject
Re: codefreeze in effect, CVS HEAD tagged (release1-5-alpha-cand1)
Sanjaya,
There are more tests to be added so do we just add them to HEAD or where?
Regards,
Andrew Perry
IBM Web Services Client for C/C++
perryan@uk.ibm.com
Mail Point 127
IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN
Tel. Internal 249828 External + 44 (0)1962 819828
Fax. + 44(0)1962 818080
"sanjaya
singharage"
<sanjayas@opensou To
rce.lk> "Apache AXIS C Developers List"
<ax...@ws.apache.org>
02/02/2005 04:36 cc
Subject
Please respond to codefreeze in effect, CVS HEAD
"Apache AXIS C tagged (release1-5-alpha-cand1)
Developers List"
Hi all,
I would like to announce that codefreeze is in effect and
the CVS HEAD has been tagged with "release1-5-alpha-cand1".
thanks,
sanjaya.
Re: codefreeze in effect, CVS HEAD tagged (release1-5-alpha-cand1)
Posted by Andrew Perry2 <PE...@uk.ibm.com>.
Sanjaya,
There are more tests to be added so do we just add them to HEAD or where?
Regards,
Andrew Perry
IBM Web Services Client for C/C++
perryan@uk.ibm.com
Mail Point 127
IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN
Tel. Internal 249828 External + 44 (0)1962 819828
Fax. + 44(0)1962 818080
"sanjaya
singharage"
<sanjayas@opensou To
rce.lk> "Apache AXIS C Developers List"
<ax...@ws.apache.org>
02/02/2005 04:36 cc
Subject
Please respond to codefreeze in effect, CVS HEAD
"Apache AXIS C tagged (release1-5-alpha-cand1)
Developers List"
Hi all,
I would like to announce that codefreeze is in effect and
the CVS HEAD has been tagged with "release1-5-alpha-cand1".
thanks,
sanjaya.
codefreeze in effect, CVS HEAD tagged (release1-5-alpha-cand1)
Posted by sanjaya singharage <sa...@opensource.lk>.
Hi all,
I would like to announce that codefreeze is in effect and
the CVS HEAD has been tagged with "release1-5-alpha-cand1".
thanks,
sanjaya.
Re: Setting certain non-standard http header request properties with Axis
Posted by Samisa Abeysinghe <sa...@gmail.com>.
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 <tu...@gmail.com> 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
> <sa...@gmail.com> 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 <tu...@gmail.com> 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
> > >
> >
>
Re: Setting certain non-standard http header request properties with Axis
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Hi John,
This issue is kind of tricky as we have to get this working with handlers.
One question, as Roshan has pointed out, is whether it would be
possible and would it make sence (or be appropriate) to expose
transport API to handlers.
However, given my understanding on handlers, they are to be used
to deal with SOAP headers, not even SOAP body (may be there is
occational requirement such as in WS-Security). Hence if we are to
deal with transport headers in a handler, it may sound as if we are
going against seemantics.
I would look into handler implementation and see what technical
possibilities are there to address this issue. However, IMHO we need
to look into the semntic implications here.
Thanks,
Samisa...
On Tue, 1 Feb 2005 14:42:08 +0000, John Hawkins <HA...@uk.ibm.com> wrote:
>
> Hi Samisa,
>
> Given your in-depth knowledge in the transport - Have you looked at
> http://issues.apache.org/jira/browse/AXISCPP-397 Do you think this would
> work/be easy to do?
>
>
> John Hawkins
>
>
>
>
> Samisa Abeysinghe <sa...@gmail.com>
>
> 01/02/2005 03:59
> Please respond to
> "Apache AXIS C User List"
> ToApache AXIS C User List <ax...@ws.apache.org>, Tudor Denilson
> <tu...@gmail.com>
> cc
> SubjectRe: Setting certain non-standard http header request properties with
> Axis
>
>
>
>
>
>
>
>
> 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 <tu...@gmail.com>
> 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
> >
>
>
Re: Setting certain non-standard http header request properties with Axis
Posted by John Hawkins <HA...@uk.ibm.com>.
Hi Samisa,
Given your in-depth knowledge in the transport - Have you looked at
http://issues.apache.org/jira/browse/AXISCPP-397 Do you think this would
work/be easy to do?
John Hawkins
Samisa Abeysinghe <sa...@gmail.com>
01/02/2005 03:59
Please respond to
"Apache AXIS C User List"
To
Apache AXIS C User List <ax...@ws.apache.org>, Tudor Denilson
<tu...@gmail.com>
cc
Subject
Re: Setting certain non-standard http header request properties with Axis
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 <tu...@gmail.com>
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
>