axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <>
Subject Re: Upgrade axis2 from 1.4.1 to 1.5.1
Date Tue, 05 Jan 2010 18:22:26 GMT
This is a big issues, I think someone has broken Axis2 wsdl generation.
Could you send us the wsdl I would like to have a look.

In addition I would like to see  which POJO approach you use, if you can
try to give me a sample service to regenerate the issue.


Sanjay Gupta wrote:
> Hi,
> I recently upgraded our app from 1.4.1 to 1.5.1 and having some issue in wsdl. I use
the POJO deployment option. I am having trouble running wsdl2java on the wsdl. I can see duplicate
entry for complex type axisConfirguation in the auto generated wsdl.  When I run wsdl2java
from 1.4.1 version of axis2 I get the error(see below). I have tried soapui and gettings errors
when I try o create a project from the wsdl. Axis2 is deployed inside tomcat 6.0.18. Any help
will be greatly appreciated. 
> Thanks,
> Sanjay
> wsdl2java -uri
-o . -uw -or 
> Using AXIS2_HOME:   C:\axis2-1.4.1
> Using JAVA_HOME:    C:\Progra~1\Java\jdk1.6.0_13
> Retrieving document at ''.
> [ERROR]  Schema for namespace '' already contains type
>  Schema for namespace ''
already contains type 'AxisConfiguration'
> 	at
> 	at
> 	at
> 	at org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElements(
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
> 	at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(
> 	at org.apache.axis2.wsdl.WSDL2Code.main(
> 	at org.apache.axis2.wsdl.WSDL2Java.main(

Thank you!

View raw message