axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NY...@aol.com
Subject axis 1.2beta Type Class Generation Issue
Date Wed, 30 Jun 2004 10:52:15 GMT
Developers,
 
I am wondering why the axis 1.2beta does not generate the members for all  of 
the type classes.
 
For example, given a complex XML Type called "book" which has  referenced 
data "author" and "title", using WSDL2Java will generate a class  called "book" 
but the referenced data will be nowhere to be found.
 
This is when running a WSDL that successfully generates data on 1.1.  How 
come it does not work on 1.2? What do I have to change to get the type  classes 
to be generated successfully?
 
Sincere thanks,
James Crosson
 
<xs:schema 
xmlns:xs="_http://www.w3.org/2001/XMLSchema_ 
(http://www.w3.org/2001/XMLSchema) "  
xmlns:data="_http://localhost:8080/axis/services/adminHandlerServicePort_ 
(http://localhost:8080/axis/services/adminHandlerServicePort) "  
targetNamespace="_http://localhost:8080/axis/services/adminHandlerServicePort_
 (http://localhost:8080/axis/services/adminHandlerServicePort) "  
elementFormDefault="qualified"
> 
 
  <xs:element name = "postReport">
<xs:complexType>
<xs:element ref =  "data:groupName"/>
<xs:element ref =  "data:password"/>
<xs:element ref =  "data:accountName"/>
<xs:element ref =  "data:xmlData"/>
</xs:complexType>
</xs:element>
 
  <xs:element name = "removeReport">
<xs:complexType>
<xs:element ref =  "data:groupName"/>
<xs:element ref =  "data:password"/>
<xs:element ref =  "data:accountName"/>
<xs:element ref =  "data:reportTitle"/>
</xs:complexType>
</xs:element>

<xs:element name =  "getError">
<xs:complexType>
<xs:element ref =  "data:errorCode"/>
<xs:element ref =  "data:errorString"/>
</xs:complexType>
</xs:element>
 
  <xs:element name = "getQuery">
<xs:complexType>
<xs:element ref =  "data:groupName"/>
<xs:element ref =  "data:password"/>
<xs:element ref =  "data:accountName"/>
<xs:element ref =  "data:conditions"/>
</xs:complexType>
</xs:element>
 
  <xs:element name = "groupName"    type =  "xs:string"/>
<xs:element name =  "password"     type = "xs:string"/>
<xs:element name = "accountName"  type = "xs:string"/>
<xs:element name = "xmlData"      type =  "xs:string"/>
<xs:element name = "reportTitle"  type =  "xs:string"/>
<xs:element name = "conditions"   type =  "xs:string"/>
<xs:element name = "errorCode"     type = "xs:string"/>
<xs:element name = "errorString"  type  = "xs:string"/>
<xs:element name =  "success"      type = "xs:boolean"/>
 
</xs:schema>

Mime
View raw message