As an alternative to xmlbeans (which actually generates quite a lot of code)
did you try using adb?

Thanks,
Keith.

On Tue, Oct 21, 2008 at 4:37 PM, Bartolomeo Nicolotti
<[EMAIL PROTECTED]>wrote:

>  Hi,
>
> I've tried the -u option, with the command:
>
> wsdl2java.sh -uri XMLSelect_emea.wsdl -S JavaSource -R
> resources/XMLSelectClient -s -sd -u -ssi -sp -or -d xmlbeans -o ../..
>
> but the result is the same, .java 12Mb and Impl.java 34Mb, I think because
> in the xsd there's only one named complexType.
>
> Many thanks, best regards,
>
> B.Nicolotti
>
> Il giorno mar, 21/10/2008 alle 12.31 +0200, Bartolomeo Nicolotti ha
> scritto:
>
>  No, I don't use -u option, the command is:
>
> wsdl2java.sh -uri Galileo.wsdl -S JavaSource/XMLSelectClient -s -sd -ssi
> -sp -d xmlbeans -o .. -ns2p [... namespace mappings]
> the xsd has the form
>
>
>   <xs:schema               xmlns="http://webservices.galileo.com";
>               xmlns:xs="http://www.w3.org/2001/XMLSchema";
>               elementFormDefault="qualified" version="1.0" id="SG2008A">
>
>     <!-- <xs:element name="PNRBFManagement_12" > -->
>       <xs:annotation>
>         <xs:documentation xml:lang="en">
>
>         </xs:documentation>
>       </xs:annotation>
>       <xs:complexType name="PNRBFManagement_12Type">
>         <xs:sequence>
>
> (          <xs:element name="InsertSegAfterMods" minOccurs="0"
> maxOccurs="unbounded" >
>             <xs:annotation>
>               <xs:documentation xml:lang="en">
>
>               </xs:documentation>
>             </xs:annotation>
>             <xs:complexType>
>               <xs:sequence>
>                 <xs:element name="SegNum" maxOccurs="unbounded"
> type="xs:int"  >
>                   <xs:annotation>
>                     <xs:documentation xml:lang="en">
>                        Determines insertion point for next segment
>                     </xs:documentation>
>                   </xs:annotation>
>                 </xs:element>
>               </xs:sequence>
>             </xs:complexType>
>           </xs:element>   ) repeated for many elments and also nested
>
>         </xs:sequence>
>       </xs:complexType>
>   </xs:schema>
>
>
>
> Many thanks, Best Regards,
>
> B.Nicolotti
>
> Il giorno mar, 21/10/2008 alle 15.47 +0530, keith chapman ha scritto:
>
> Did you use the -u option when generating code? If not try using it this
> will unpack the code and create a java class for each datatype used.
>
> Thanks,
> Keith.
>
> On Tue, Oct 21, 2008 at 3:33 PM, Bartolomeo Nicolotti <
> [EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm using axis2 to consume document/literal web services, but one xsd
> for Galileo travel supplier is is 64227 lines long and the .java
> generated by wsdl2java is 12Mb and the corresponding Impl.java is also
> 34Mb long. The preblem is that when I must compile these .java it takes
> 10minutes. Does someone know why and how to make this task faster?
>
> Many thanks, Best Regards.
>
> Bartolomeo Nicolotti.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>
>   --
> Bartolomeo Nicolotti
> SIAP s.r.l.www.siapcn.it
> v.S.Albano 13 12049
> Trinità(CN) Italy
> ph:+39 0172 652553
> centralino: +39 0172 652511
> fax: +39 0172 652519
>
>     --
> Bartolomeo Nicolotti
> SIAP s.r.l.www.siapcn.it
> v.S.Albano 13 12049
> Trinità(CN) Italy
> ph:+39 0172 652553
> centralino: +39 0172 652511
> fax: +39 0172 652519
>
>


-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Reply via email to