axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keast Ann" <keast_...@bah.com>
Subject Axis 1.1 Release - WSDL2Java: expected classes are not generated
Date Tue, 29 Jun 2004 16:56:25 GMT
Hi,

This is my first ground-up web service using the Axis 1.1 Release.  The
service has 2 operations:
1. getContract - returns contract information 
2. getNavigation - returns a NavigationElement which will contain an
unlimited amount of NavigationElements (to be openned in a TreeView
control).
 
I ran WSDL2Java against the attached WSDL and have discovered:
1. Many of the generated classes have a prefix of "_" or "__"
2. Some of the request (GetContract, GetNavigation) and domain
(Contract) classes are not generated at all.

Here is the system.out of the classes that are generated from WSDL2Java:

Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\holders\NavigationElementArrayHolder.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\request\_GetContractType_DerivedFinancialType.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\_NavigationElement.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\___Contract_FinancialSummary_ContractorType.java
Generating
E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\_ContractMod.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\holders\ContractFinancialSummaryArrayHolder.java
Generating
E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\_TTOModNTEAdj.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\__Contract_FinancialSummary.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\holders\__Contract_FinancialSummaryHolder.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\domain\___Contract_FinancialSummary_Type.java
ContractManagementServiceSOAPBindingImpl.java already exists, WSDL2Java
will not overwrite it.
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\service\ContractManagementServicePortType.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\service\ContractManagementServiceSOAPBindingStub.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\service\ContractManagementService.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\service\ContractManagementServiceLocator.java
Generating

E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\service\ContractManagementServiceTestCase.java
Generating
E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\service\deploy.wsdd
Generating
E:\webservices\samples-axis\WEB-INF\src\com\bah\contractmgmt\service\undeploy.wsdd

Notice how GetContractType, GetNavigationType, ContractType classes are
not generated?

Is there a way that Axis prefers the schema to be so that there are no
underscores and ALL of the domain objects are generated?
I've attached the WSDL and schema (validated in XMLSpy).  Please take a
quick look at these files and let me know if I've missed something.

Thank you,
Ann
Mime
View raw message