axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject Re: Standalone Schema without Target Namespace - Axis 2.1.5.1
Date Sun, 25 Apr 2010 03:38:28 GMT
On Sat, Apr 24, 2010 at 12:30 PM, Andreas Veithen <andreas.veithen@gmail.com
> wrote:

> Vish,
>
> In JIRA, there is a tab labelled "Subversion Commits" that allows you
> to see the changes related to the issue. You can use that information
> to (try to) merge the changes into 1.5.1.
>

Please have a look at here[1]. Anyway it is better to have a name space
declared to schema. Otherwise
you may get some interop problems.

thanks,
Amila.

[1]
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#Schema_targetNamespace_Structure

>
> Andreas
>
> On Sat, Apr 24, 2010 at 00:25, Vishwal Shah <shahvishwal@gmail.com> wrote:
> > 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
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message