Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsdl2java in axis-1_4 does not generate simpleType

Ivan Denski
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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"/>

No class named Int1_15 is generated.

Can someone help me with that?

Thank you.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic