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 "Jha, Satyajit" <Sa...@fairisaac.com> on 2006/09/08 13:02:00 UTC
[Axis2] ServiceClient.addHeader(OMElement) not adding header data
Sorry. I forgot to put the prefix [Axis2]. Can someone please help me
out over the issue below? Any alternative solution to do that is also
welcome. Thanks.
________________________________
Hi,
I am trying to use my axis2-generated stub class as client to connect to
MS reporting web service. I am trying to pass on some session management
data (executionID) from the previous response. I am trying to add that
into header using following code (header is an instance of OMElement)
and then am trying to execute Render:
stub._getServiceClient().addHeader(header);
The soap request that I get from tcpmon has an empty header. I am not
able to understand why that is happening. Let me know if I have not
provided sufficient information. I am newbie to this and am not sure
about things as of now.
Thanks,
Satyajit
This email and any files transmitted with it are confidential,
proprietary
and intended solely for the individual or entity to whom they are
addressed.
If you have received this email in error please delete it immediately.
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.
Re: [Axis2] ServiceClient.addHeader(OMElement) not adding header
data
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Jha;
I just fixed the problem in the current SVN , I think u need to either
use current SVN or nightly builds.
Thanks
Deepal
Jha, Satyajit wrote:
> Sorry. I forgot to put the prefix [Axis2]. Can someone please help me
> out over the issue below? Any alternative solution to do that is also
> welcome. Thanks.
>
>
>
> ------------------------------------------------------------------------
>
>
>
> Hi,
>
>
>
> I am trying to use my axis2-generated stub class as client to connect
> to MS reporting web service. I am trying to pass on some session
> management data (executionID) from the previous response. I am trying
> to add that into header using following code (header is an instance of
> OMElement) and then am trying to execute Render:
>
> stub._getServiceClient().addHeader(header);
>
>
>
> The soap request that I get from tcpmon has an empty header. I am not
> able to understand why that is happening. Let me know if I have not
> provided sufficient information. I am newbie to this and am not sure
> about things as of now.
>
>
>
> Thanks,
>
> Satyajit
>
>
>
>This email and any files transmitted with it are confidential, proprietary
>and intended solely for the individual or entity to whom they are addressed.
>If you have received this email in error please delete it immediately.
>
>This email and any files transmitted with it are confidential, proprietary
>and intended solely for the individual or entity to whom they are addressed.
>If you have received this email in error please delete it immediately.
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org