Title: Message
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