The API docs are also produced in the daily builds.




"Samisa Abeysinghe" <[EMAIL PROTECTED]>

09/03/2005 08:07

Please respond to
"Apache AXIS C User List"

To
"Apache AXIS C User List" <[email protected]>
cc
Subject
RE: SOAP Headers





Please see my other response on how to use createHeaderBlock.

 

Re: API docs – you can generate the API docs using Doxygen tool. (if you are using ant build and if you have Doxygen installed, then the ant build would generate the docs for you – please have a look at the antbuildguide.html doc.)

 

HTH

 

Samisa…

 

-----Original Message-----
From:
Brian Abbott [mailto:[EMAIL PROTECTED]
Sent:
Wednesday, March 09, 2005 1:56 PM
To:
'Apache AXIS C User List'
Subject:
RE: SOAP Headers

 

I want to add SOAP Headers... I think it would be an envelope header. I realized my earlier response about using setTransportProperty(SOAPACTION_HEADER, "VARNAME"); was wrong. It did just what you said and added an HTTP Header attribute (which is not what I'm wanting to do). I think I can use call->createHeaderBlock()?... Im not sure what that does though... (more trial and error). Is there API documentation anywhere? ;)

 

Brian
-----Original Message-----
From:
Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
Sent:
Tuesday, March 08, 2005 11:56 PM
To:
Apache AXIS C User List
Subject:
RE: SOAP Headers

If you mean to add HTTP headers, yes you can use

setTransportProperty(char*, char*) on top of the Stub object.

 

Please note that in Axis C++, it is the Stub class API that you should be using. Though Call API can be used, going through Stub is the better way to do it.

 

Thanks,

Samisa…

 

-----Original Message-----
From:
Brian Abbott [mailto:[EMAIL PROTECTED]
Sent:
Wednesday, March 09, 2005 1:45 PM
To:
'Apache AXIS C User List'
Subject:
RE: SOAP Headers

 

I guess what I'm looking for is an equivalent to call.addHeader() in Java for C++. Does that exist?

 

Thanks,

 

Brian
-----Original Message-----
From:
Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
Sent:
Tuesday, March 08, 2005 11:12 PM
To:
Apache AXIS C User List
Subject:
RE: SOAP Headers

Hi Brian,

            You can use this method to set the SOAP action. However, at the moment, this will be overridden by the generated code.

 

            Hence you may have to change this by editing the generated code, rather than changing it at stub level.

 

            At the moment there is some effort to support setting this at Stub level. Once that is done, you may not have to change generated code to do this.

Thanks,

Samsia…

 

-----Original Message-----
From:
Brian Abbott [mailto:[EMAIL PROTECTED]
Sent:
Wednesday, March 09, 2005 12:07 PM
To:
[email protected]
Subject:
SOAP Headers

 

Hi,

 

I am wondering how I might go about setting the value of a SOAP Header element. I know I can insert the attribute I want by inserting:

 

m_pCall->setTransportProperty(SOAPACTION_HEADER, "VARNAME");

 

but, how do I actually set VARNAME's value?

 

Thanks,

 

Brian

Reply via email to