Vish:
I don't have a solution, but I want to confirm that it's not just you.
I ran into the exact same behaviour about 2 months ago. At the end I just gave
up and added a namespace.
Hopefully you'll succeed in figuring it out. Good luck,
--
Dave Cherkassky
VP of Software Development
DJiNN Software Inc.
On 23/04/2010 2:57 AM, Vishwal Shah wrote:
Hi,
I am trying to generate Stubs for Standalone schema using Axis2 XSD2Java
, My Schema does not have a Target Namespace. I get the below error
[echo] Generating code ...
[java] Exception in thread "main" java.lang.NullPointerException
[java] at
org.apache.axis2.util.URLProcessor.makePackageName(URLProcessor.java:46)
[java] at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:322)
[java] at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:300)
[java] at
org.apache.axis2.schema.XSD2Java.compile(XSD2Java.java:96)
[java] at org.apache.axis2.schema.XSD2Java.main(XSD2Java.java:46)
Does anyone has any idea or patch that fixes this ? I am using Axis
2.1.5.1.
Thanks,
Vish
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]