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
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
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;
Try using -u and see whether it bets any better.
Thanks,
Keith.
On Tue, Oct 21, 2008 at 4:01 PM, Bartolomeo Nicolotti
[EMAIL PROTECTED]wrote:
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 [...
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.
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
Tried:
wsdl2java.sh -uri XMLSelect_emea.wsdl -S JavaSource -R
resources/XMLSelectClient -s -sd -u -ssi -sp -or -o ../..
Using AXIS2_HOME: /home/user/software/axis2-1.4.1
Using JAVA_HOME: /usr/lib/jvm/java-1.5.0-sun/
Retrieving document at 'XMLSelect_emea.wsdl'.
Retrieving schema at
tried also jaxme
wsdl2java.sh -uri XMLSelect_emea.wsdl -S JavaSource -R
resources/XMLSelectClient -s -sd -u -ssi -sp -or -d jaxme -o ../..
Using AXIS2_HOME: /home/user/software/axis2-1.4.1
Using JAVA_HOME: /usr/lib/jvm/java-1.5.0-sun/
Retrieving document at 'XMLSelect_emea.wsdl'.
Eureka!
With -d jaxbri it only takes one min to compile the 9.5Mb generated file
(by the way the xsd is 2.5Mb).
but the option -S JavaSourec doesn't seem to take effect with -d jaxbri,
i'll use mv to move the files from src/... to JavaSource/...
Many thanks, best regards!
B.Nicolotti
I've had to modify the client... Now it takes 2 min to create the client
stub with the instruction:
XmlSelectStub stub = new XmlSelectStub( gwsUrl );
Where xmlSelectStub is the stub generated by axis2
I will try with jixb...
Best regards
Il giorno mar, 21/10/2008 alle 15.02 +0200,
10 matches
Mail list logo