axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LavanyaKC <>
Subject Codegen problem - Invalid target namespace
Date Wed, 05 May 2010 11:46:46 GMT


I have the same issue as (
with not using a target namespace in the schema element. And I would like to
know if there is a way to get rid of this by overriding generate method of
CodeGenerationEngine or someway to support these wsdls as they are critical
issues with this.

I took an initial look at the code and looks like the issue is in

Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: Invalid
WSDL: The WSDL Types Schema does not define a targetNamespace in[]

Not sure of this but why do we need a  s.getTargetNamespace() == null check
in the engage method of WSDLValidatorExtension as the wsdl is valid without
specifying the target namespace. This I guess will fix my issue but I didn’t
find an easy way to extend this and inject WSDLValidatorExtension in my

Thanks for any help on this,

View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message