Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsdl2java in axis-1_4 does not generate simpleType

 
Ivan Denski
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic