axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishwal Shah <shahvish...@gmail.com>
Subject Re: Standalone Schema without Target Namespace - Axis 2.1.5.1
Date Fri, 23 Apr 2010 22:25:39 GMT
Hi Andreas,
 I did see that is fixed in 1.6, unfortunately i am on 1.5.1 and for me to
move to 1.6 is very difficult. Would be great if you could point me to code
that i can merge with 1.5.l and fix this issue ?


Thanks,
Vish


On Fri, Apr 23, 2010 at 1:34 PM, Andreas Veithen
<andreas.veithen@gmail.com>wrote:

> See AXIS2-3851.
>
> Andreas
>
> On Fri, Apr 23, 2010 at 08:57, Vishwal Shah <shahvishwal@gmail.com> 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: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

Mime
View raw message