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 Asma Maalej <am...@laas.fr> on 2009/06/26 16:40:32 UTC

Modifing genereted Client stub class

Hi

In order to add a custom block header to the SOAP message, i want to 
keep the SOAP header sent by the client or the server side, and prevent 
the system to delete it.

So that, i thought to modify in the core of the genereted client Stub, 
may be it can resolve the problem

if someone has any idea how to do this, please tell me, and i would be 
soo grateful

thank you

Re: Modifing genereted Client stub class

Posted by Deepal Jayasinghe <de...@gmail.com>.
Usually we do not modify the stub, but if you want you can do that.

Thanks,
Deepal

On Mon, Jun 29, 2009 at 4:00 AM, asma maalej<am...@laas.fr> wrote:
> Hello
>
> i have already wrote this custom Axis2 Module, and it work fine in the
> server side and the client one.
> But my problem is, when i wrote an other custom Axis2 module, in which i add
> a custom header block, and want to engage it particularly to the client
> side, it generete an error, so that i thought to add a custom modification
> to the client stub in order to let the sender save the header sent by the
> client.
>
> Is it possible?
>
> Any helpful idea, would be so apreciated
>
> Sameera Jayasoma a écrit :
>
> You can write a custom Axis2 Module for this. Please refer the following
> link.
>
> http://ws.apache.org/axis2/1_5/modules.html
>
> Thanks,
> Sameera
>
> On Fri, Jun 26, 2009 at 8:10 PM, Asma Maalej <am...@laas.fr> wrote:
>>
>> Hi
>>
>> In order to add a custom block header to the SOAP message, i want to keep
>> the SOAP header sent by the client or the server side, and prevent the
>> system to delete it.
>>
>> So that, i thought to modify in the core of the genereted client Stub, may
>> be it can resolve the problem
>>
>> if someone has any idea how to do this, please tell me, and i would be soo
>> grateful
>>
>> thank you
>
>
>
> --
> Sameera Jayasoma
> Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://tech.jayasoma.org
>
>

Re: Modifing genereted Client stub class

Posted by asma maalej <am...@laas.fr>.
Hello

i have already wrote this custom Axis2 Module, and it work fine in the 
server side and the client one.
But my problem is, when i wrote an other custom Axis2 module, in which i 
add a custom header block, and want to engage it particularly to the 
client side, it generete an error, so that i thought to add a custom 
modification to the client stub in order to let the sender save the 
header sent by the client.

Is it possible?

Any helpful idea, would be so apreciated

Sameera Jayasoma a écrit :
> You can write a custom Axis2 Module for this. Please refer the 
> following link.
>
> http://ws.apache.org/axis2/1_5/modules.html
>
> Thanks,
> Sameera
>
> On Fri, Jun 26, 2009 at 8:10 PM, Asma Maalej <amaalej@laas.fr 
> <ma...@laas.fr>> wrote:
>
>     Hi
>
>     In order to add a custom block header to the SOAP message, i want
>     to keep the SOAP header sent by the client or the server side, and
>     prevent the system to delete it.
>
>     So that, i thought to modify in the core of the genereted client
>     Stub, may be it can resolve the problem
>
>     if someone has any idea how to do this, please tell me, and i
>     would be soo grateful
>
>     thank you
>
>
>
>
> -- 
> Sameera Jayasoma
> Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://tech.jayasoma.org


Re: Modifing genereted Client stub class

Posted by Sameera Jayasoma <sa...@gmail.com>.
You can write a custom Axis2 Module for this. Please refer the following
link.

http://ws.apache.org/axis2/1_5/modules.html

Thanks,
Sameera

On Fri, Jun 26, 2009 at 8:10 PM, Asma Maalej <am...@laas.fr> wrote:

> Hi
>
> In order to add a custom block header to the SOAP message, i want to keep
> the SOAP header sent by the client or the server side, and prevent the
> system to delete it.
>
> So that, i thought to modify in the core of the genereted client Stub, may
> be it can resolve the problem
>
> if someone has any idea how to do this, please tell me, and i would be soo
> grateful
>
> thank you
>



-- 
Sameera Jayasoma
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://tech.jayasoma.org