Oops a daisy - I've forgotton to add it to the usage list :(
Sorry Dims - I added the option to the codegen reference (http://ws.apache.org/axis2/0_94/CodegenToolReference.html)
but sadly not in the usage list.
Will add them soon.
On 2/5/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
I don't see the option :(
Usage WSDL2Code -uri <Location of WSDL> : WSDL file location
-o <output Location> : output file location
-a : Generate async style code only. Default is off
-s : Generate sync style code only. Default is off. takes precedence over -a
-p <package name> : set custom package name
-l <language> : valid languages are java and csharp. Default is java
-t : Generate TestCase to test the generated code
-ss : Generate server side code ( i.e. skeletons). Default is off
-sd : Generate service descriptor (i.e. axis2.xml). Default is off.
Valid with -ss
-d <databinding> : valid databinding(s) are adb, xmlbeans and jaxme.
Default is adb
I:\addressing>
On 2/5/06, Ajith Ranabahu <[EMAIL PROTECTED]> wrote:
> Hi dims,
> What seems to be the usecase here? I've already added the -g option to
> allow both client and server side code to be generated.
> I've no idea why we need both serverside and clientside code unless the
> user wants (in which case he would specifiy -g and everything
> will work fine).
>
>
>
> On 2/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Author: dims
> > Date: Sat Feb 4 08:07:55 2006
> > New Revision: 374884
> >
> > URL: http://svn.apache.org/viewcvs?rev=374884&view=rev
> > Log:
> > need to be able to use -ss -sd -t to generate both server and client
> >
> > Modified:
> >
> webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
> >
> > Modified:
> webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
> > URL:
> http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java?rev=374884&r1=374883&r2=374884&view=diff
> >
> ==============================================================================
> > ---
> webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
> (original)
> > +++
> webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
> Sat Feb 4 08:07:55 2006
> > @@ -724,7 +724,8 @@
> > // write service xml
> > writeServiceXml();
> >
> > -
> > + // write the test classes
> > + writeTestClasses();
> >
> > // write the ant build if not asked for all
> > if (!configuration.isGenerateAll()) {
> >
> >
> >
>
>
>
> --
> Ajith Ranabahu
--
Davanum Srinivas : http://wso2.com/blogs/
--
Ajith Ranabahu
