Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » wsdl2java not creating all objects
wsdl2java not creating all objects [message #146312] Fri, 04 November 2005 07:00
Eclipse UserFriend
Originally posted by: lxs.bcs.org

It would appear that wsdl2java does not always create java classes for
definitions found in schema and wsdl.

I have created a schema and 5 wsdl files to define a rather basic series
of web service interactions. The intention being to use this to show WS
functionality.

Previously I used Eclipse wizards to generate the Java from these files.
This worked fine to start, but I wished to build against Axis 1.2RC3 and
so created an Ant build file. When this is executed the generated Java is
missing 3 classes (all the others are generated, including complex types).
All three are of simple type (not complex): one to represent non-negative
integers, the other 2 to wrap axis.Duration type. I copy below the output
from wsdl2java call from Ant build.

Can someone explain to me how to override this, so that the classes are
generated? (naturally I can email the wsdl and xsd).

Many thanks in advance!


/== NonNegativeDecimal ==/

Dims:
isOnlyLiteralReferenced: false
RefType: null
org.apache.axis.wsdl.symbolTable.DefinedType
QName:
{http://demo.gridprovenance.org/BakingSchema}NonNegativeDeci mal
name: java.math.BigDecimal
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.DefinedType
Base?: true
Undefined?: false
isSimpleType? true
Node: <simpleType name="NonNegativeDecimal">
<restriction base="decimal">
<minInclusive value="0" />
</restriction>
</simpleType>
Dims:
isOnlyLiteralReferenced: false
RefType:
QName: {http://www.w3.org/2001/XMLSchema}decimal
name: java.math.BigDecimal
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null

/== BeatTime ==/

Dims:
isOnlyLiteralReferenced: false
RefType: null
org.apache.axis.wsdl.symbolTable.DefinedType
QName: {http://demo.gridprovenance.org/BakingSchema}BeatTime
name: org.apache.axis.types.Duration
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.DefinedType
Base?: true
Undefined?: false
isSimpleType? true
Node: <simpleType name="BeatTime">
<restriction base="duration" />
</simpleType>
Dims:
isOnlyLiteralReferenced: false
RefType:
QName: {http://www.w3.org/2001/XMLSchema}duration
name: org.apache.axis.types.Duration
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null

/== BakeTime ==/

Dims:
isOnlyLiteralReferenced: false
RefType: null
org.apache.axis.wsdl.symbolTable.DefinedType
QName: {http://demo.gridprovenance.org/BakingSchema}BakeTime
name: org.apache.axis.types.Duration
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.DefinedType
Base?: true
Undefined?: false
isSimpleType? true
Node: <simpleType name="BakeTime">
<restriction base="duration" />
</simpleType>
Dims:
isOnlyLiteralReferenced: false
RefType:
QName: {http://www.w3.org/2001/XMLSchema}duration
name: org.apache.axis.types.Duration
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
org.apache.axis.wsdl.symbolTable.BaseType
QName: {http://www.w3.org/2001/XMLSchema}float
name: float
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null

/== END ==/
Previous Topic:Building a School Schedule Web Application problem
Next Topic:Building a School Schedule Web Application Solution
Goto Forum:
  


Current Time: Mon Apr 28 00:25:26 EDT 2025

Powered by FUDForum. Page generated in 0.03742 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top