Return-Path: Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: (qmail 64417 invoked from network); 25 Apr 2010 03:38:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Apr 2010 03:38:58 -0000 Received: (qmail 25828 invoked by uid 500); 25 Apr 2010 03:38:56 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 25756 invoked by uid 500); 25 Apr 2010 03:38:56 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 25748 invoked by uid 99); 25 Apr 2010 03:38:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 03:38:55 +0000 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=AWL,FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amilasuriarachchi@gmail.com designates 209.85.221.200 as permitted sender) Received: from [209.85.221.200] (HELO mail-qy0-f200.google.com) (209.85.221.200) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 03:38:50 +0000 Received: by qyk38 with SMTP id 38so11162178qyk.5 for ; Sat, 24 Apr 2010 20:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=faj6p21kj2hjGWr64xSKBT/gTMpzv/AjmC6GTp00sPo=; b=xL1Ta5IsvUzZKCqYMtgLPl20COtXK+Fvlwh0MPrz0V+FiOEELt40CZ1HA6pc91Rlxf 9KAM3q38AzWF2T/rlOhNM1Hvmn6ytVwOrOAZbs4Axuo9exWs3s4ebT47s2Q7txKOyLK6 mlN89Dwhnk+nMse9O0U/UBjGCi64HhsquwC3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=g7RDkUje6JVtyn7QxeScAiSf6sRTzGlpEqsVlUq4+F9xhiSjYy/RaiVTDCCvYKmhgU YQvAlJwsEaxp9DtDA7De6TXAqn/yRsrV1QG91pM/Tw7kKfQ1n8LkoMBTGjaPKI89PTJV zsrCwEflh5MC8wQiyDcicdg1AEg1Ipnq9adJU= MIME-Version: 1.0 Received: by 10.229.238.70 with SMTP id kr6mr2591254qcb.49.1272166708814; Sat, 24 Apr 2010 20:38:28 -0700 (PDT) Received: by 10.229.89.131 with HTTP; Sat, 24 Apr 2010 20:38:28 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Apr 2010 09:08:28 +0530 Message-ID: Subject: Re: Standalone Schema without Target Namespace - Axis 2.1.5.1 From: Amila Suriarachchi To: java-user@axis.apache.org Content-Type: multipart/alternative; boundary=001485f85e40c62507048507644d --001485f85e40c62507048507644d Content-Type: text/plain; charset=ISO-8859-1 On Sat, Apr 24, 2010 at 12:30 PM, Andreas Veithen 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 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 > 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/ --001485f85e40c62507048507644d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, Apr 24, 2010 at 12:30 PM, Andrea= s 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 h= ave 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/BasicPr= ofile-1.1.html#Schema_targetNamespace_Structure

Andreas

On Sat, Apr 24, 2010 at 00:25, Vishwal Shah <shahvishwal@gmail.com> wrote:
> Hi Andreas,
> =A0I 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 Axi= s2 XSD2Java
>> > ,
>> > My Schema does not have a Target Namespace. I get the below e= rror
>> >
>> > =A0=A0=A0=A0 [echo] Generating code ...
>> > =A0=A0=A0=A0 [java] Exception in thread "main" java= .lang.NullPointerException
>> > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at
>> > org.apache.axis2.util.URLProcessor.makePackageName(URLProcess= or.java:46)
>> > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at
>> > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler= .java:322)
>> > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at
>> > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler= .java:300)
>> > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at
>> > org.apache.axis2.schema.XSD2Java.compile(XSD2Java.java:96) >> > =A0=A0=A0=A0 [java]=A0=A0=A0=A0 at
>> > org.apache.axis2.schema.XSD2Java.main(XSD2Java.java:46)
>> >
>> >
>> > Does anyone has any idea or patch that fixes this ? I am usin= g 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 Suria= rachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/
--001485f85e40c62507048507644d--