This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes wsdl2java in axis-1_4 does not generate simpleType Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl2java in axis-1_4 does not generate simpleType" Watch "wsdl2java in axis-1_4 does not generate simpleType" New topic
Author

wsdl2java in axis-1_4 does not generate simpleType

Ivan Denski
Greenhorn

Joined: Nov 07, 2012
Posts: 1
Hello,

I'm using axis-1_4 and jdk 1.4. I'm trying to generate java classes from wsdl file.
I'm executing: java org.apache.axis.wsdl.WSDL2Java -a -u -s -w my_service.wsdl.
No error appears during the command execution but some java classes are missing, for example:

<xsd:simpleType name="Int1_15">
<xsd:annotation><xsd:documentation>Integer (1-15)</xsd:documentation></xsd:annotation>
<xsd:restriction base="xsd:long">
<xsd:minInclusive value="1"/>
<xsd:maxInclusive value="15"/>
</xsd:restriction>
</xsd:simpleType>

No class named Int1_15 is generated.

Can someone help me with that?

Thank you.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: wsdl2java in axis-1_4 does not generate simpleType
 
Similar Threads
WDSL2Java using Axis2 via Ant in Eclipse
Can't generate java classes from WSDL file
Rational Application Developer V7 - Webservice
WSSecurity, MTOM and TIBCO 5.6
is autodetect still an option in spring 3 (or am I using the wrong xsd)