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 "Shah, Sumit" <su...@cgi.com> on 2008/07/09 16:31:55 UTC

Parameterizing modules

Hello,

 

What is the best way to parameterize a module at the service, operation
and module levels?

 

For example, I would like to extend the addressing module provided by
Axis2 and provide some custom parameters. The parameters may be
specified at the service, operation (services.xml) or module level
(module.xml).

 

I may also want to write my own module that may take 1 or n parameters.
I am unsure about the best way to parameterize a module. I would
appreciate any help with this.

 

Thanks

Sumit 


RE: Parameterizing modules

Posted by "Shah, Sumit" <su...@cgi.com>.
Thanks Deepal, I appreciate it. . I will try out your suggestion.

Sumit

-----Original Message-----
From: Deepal Jayasinghe [mailto:deepal@opensource.lk] 
Sent: Thursday, July 10, 2008 12:26 AM
To: axis-user@ws.apache.org
Subject: Re: Parameterizing modules


> Hello,
>
>  
>
> What is the best way to parameterize a module at the service, 
> operation and module levels?
>
You can do that adding paramters at different level and act upon that. 
At the runtime you can get the parameter from the message context , then

it gives you the correct one.
>
>  
>
> For example, I would like to extend the addressing module provided by 
> Axis2 and provide some custom parameters. The parameters may be 
> specified at the service, operation (services.xml) or module level 
> (module.xml).
>
>  
>
> I may also want to write my own module that may take 1 or n
parameters.
>
You can add them to the module.xml
>
> I am unsure about the best way to parameterize a module. I would 
> appreciate any help with this.
>
>  
>
> Thanks
>
> Sumit
>

-- 
Thanks,
Deepal
................................................................
http://blogs.deepal.org/



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Parameterizing modules

Posted by Deepal Jayasinghe <de...@opensource.lk>.
> Hello,
>
>  
>
> What is the best way to parameterize a module at the service, 
> operation and module levels?
>
You can do that adding paramters at different level and act upon that. 
At the runtime you can get the parameter from the message context , then 
it gives you the correct one.
>
>  
>
> For example, I would like to extend the addressing module provided by 
> Axis2 and provide some custom parameters. The parameters may be 
> specified at the service, operation (services.xml) or module level 
> (module.xml).
>
>  
>
> I may also want to write my own module that may take 1 or n parameters.
>
You can add them to the module.xml
>
> I am unsure about the best way to parameterize a module. I would 
> appreciate any help with this.
>
>  
>
> Thanks
>
> Sumit
>

-- 
Thanks,
Deepal
................................................................
http://blogs.deepal.org/



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org