WSDL2Java: generated classes in 1 gigantic java file

2007-06-28 Thread ro test

Hi,

I've a WSDL file and xsd file and I used the Axis2, bin/wsdl2java utility to
generate the java classes from wsdl using the following command:


bin\wsdl2java.bat -p com.org1.service -uri org1.wsdl


I see 5 different files created under com/org1/service directory with the
AWSServiceServiceStub.java file containing number of java classes.  This is
inconvenient for us.  Is it possible to generate all the classes in separate
files instead of 1 file?  If so, what is the command to use?

Thanks a bunch.
-Ray


Re: WSDL2Java: generated classes in 1 gigantic java file

2007-06-28 Thread Davanum Srinivas

"-u"

On 6/28/07, ro test <[EMAIL PROTECTED]> wrote:

Hi,

I've a WSDL file and xsd file and I used the Axis2, bin/wsdl2java utility to
generate the java classes from wsdl using the following command:

>bin\wsdl2java.bat -p com.org1.service -uri org1.wsdl

I see 5 different files created under com/org1/service directory with the
AWSServiceServiceStub.java file containing number of java classes.  This is
inconvenient for us.  Is it possible to generate all the classes in separate
files instead of 1 file?  If so, what is the command to use?

Thanks a bunch.
-Ray




--
Davanum Srinivas :: http://davanum.wordpress.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WSDL2Java: generated classes in 1 gigantic java file

2007-06-29 Thread ro test

I tried the '-u' option and I'm still getting the same problem.  I used the
command below:


bin\wsdl2java.bat -u -p com.org1.service -uri org1.wsdl



On 6/28/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:


"-u"

On 6/28/07, ro test <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've a WSDL file and xsd file and I used the Axis2, bin/wsdl2java
utility to
> generate the java classes from wsdl using the following command:
>
> >bin\wsdl2java.bat -p com.org1.service -uri org1.wsdl
>
> I see 5 different files created under com/org1/service directory with
the
> AWSServiceServiceStub.java file containing number of java classes.  This
is
> inconvenient for us.  Is it possible to generate all the classes in
separate
> files instead of 1 file?  If so, what is the command to use?
>
> Thanks a bunch.
> -Ray
>


--
Davanum Srinivas :: http://davanum.wordpress.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]