--- Narahari 'n' Savitha <[EMAIL PROTECTED]> wrote:

>  want to use my own tags and with the tags and
> xdoclet framework I want to
> be able to invoke an ant task.
> 
> My requirement is
> 
> Java file
> 
> public interface Test {
> 
>           /**
>            *    @ hr.include.in.ws = true
>            */
>           public String getData(String name, int
> age);
> 
>           /**
>            *    @hr.include.in.ws = true
>            */
>           public void setData(String name, int age);
> 
>           /**
>            *    @hr.include.in.ws = true
>            */
>           public void establishDataSetup(String
> value);
> 
>           /**
>            *    @hr.include.in.ws = false
>            */
>           public String whatsup(String name, int
> age);
> 
> }
> 
> I want to put tags like this and then use XDoclet to
> feed only those method
> that have true in them
> to my ant task
> 
> java2wsdl ........................
> 
> 
> The reason is that our WSDL is generated based on
> methods and NOT on classes
> (dont ask me why this way but thats what it is)
> 
> Right now we identify the methods in a text file and
> read off of that which
> makes us duplicate the method names in two places.
> 
> I want to use one place to be able to accomplish
> this.
> 
> I think XDoclet can help.
> 
> Please guide me to the starting point.
> 
> Regrds and thanks for your time
>

If you like to develop new XDoclet modules, I would
recommend to use xdoclet-2 for this puprose. 
( http://xdoclet.codehaus.org ) 

Just look at the sources of plugins generating xml
( hibernate, web ect. ) for clues
( and of course subscribe to plugin development list 
to ask questions ) 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


 
____________________________________________________________________________________
Sponsored Link

$200,000 mortgage for $660/ mo - 
30/15 yr fixed, reduce debt - 
http://yahoo.ratemarketplace.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to