Re: velocity vs jelly vs any other custom templating engine..... ?

"Narahari 'n' Savitha" <[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
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;
                 }
          }

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.

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

-Narahari

-------------------------------------------------------------------------
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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.