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

> Konstantin  Thanks for your reply
> Let me give you an example
> 
> 
> The interface is this.
> 
>           package narahari.interface;
> 
>           import java.lang.String;
> 
>           public interface Test {
> 
>                  public String methodForWsdl(String
> name, String dob);
> 
>                  /**
>                   *        @narahari.exclude=true
>                   */
>                  public String
> methodNotForWsdl(String ssn);
>           }
> 
> The implementation that is gen is
> 
>           //  Please do not edit, this is gen from
> Narahari's Implementation
> Generator
> 
>           package narahari.impl;
> 
>           public class TestImpl {
> 
>                  public java.lang.String
> methodForWsdl(java.lang.Stringname,
> java.lang.String dob) {
>                         return (java.lang.String)
> null;
>                  }
> 
>                  public java.lang.String
> methodNotForWsdl(java.lang.Stringssn) {
>                         return(java.lang.String)
> null;
>                  }
>           }


... well, typical way would be to write implementation
by hand, and generate interfaces & wsdls for it
( how your plugin knows what you like to do in
implementation? ) 


> After this step, now I need to generate the
> java2wsdl task for only the
> method exclude is NOT true.
> 
> In my case the 2nd xdoclet *AxisWSDL* plugin will
> feed only those methods
> with exclude != true inside the plugin/template
> engine.
> 
> At this point, I need to say ok now I need to do
> this
> 
> *java2wsdl -implclass=narahari.impl.TestImpl
> -m<method given to me by
> xdoclet AxisWSDL plugin>
> -classname=narahari.interface.Test*
> 
> For the -m option the method can/should be fed by
> the 2nd plugin I write.
> Not only should it feed but also invoke the
> java2wsdl ant task that axis provides.

Well,  you always can write some config file out of
plugin ( even some xml suitable for ant )  and then 
call it in the next step. 


> I know ita  long mail but *sorry I have to pick
> great brains* like you and
> Gregory.

Well, lat time I  cheked neither me nor George 
described itself as "great brains" - maybe we just
drank too few belgian beer ;) 



----[ 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


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.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-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to