axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Piazzi" <roland_pia...@gmx.net>
Subject Re: Searching for help for error: java.lang.RuntimeException: Schema for namespace 'http://calendar.util.sun/xsd' already contains type 'Abstract Calendar'
Date Mon, 24 Sep 2007 07:27:39 GMT
I'm not creating it manually, its created within the wsdl file and this is 
created via java2wsdl...? Should i modify my wsdl-file?

----- Original Message ----- 
From: "Anne Thomas Manes" <atmanes@gmail.com>
To: <axis-user@ws.apache.org>; "Roland Piazzi" <roland_piazzi@gmx.net>
Sent: Sunday, September 23, 2007 10:58 PM
Subject: Re: Searching for help for error: java.lang.RuntimeException: 
Schema for namespace 'http://calendar.util.sun/xsd' already contains type 
'Abstract Calendar'


> How are you creating/generating the schema(s)?
> You need to make sure that the "Abstract Calendar" type is declared only 
> once.
>
> Anne
>
> On 9/23/07, Roland Piazzi <roland_piazzi@gmx.net> wrote:
>>
>>
>> Hi!
>>
>> I'm searching for help for my problem that is:
>>
>> java.lang.RuntimeException: Schema for namespace
>> 'http://calendar.util.sun/xsd' already contains type 'Abstract Calendar' 
>> at
>> org.apache.ws.commons.schema.XmlSchema.addType(XmlSchema.java:311)
>>
>> I think its because my program wants to enter a new Date Type and within
>> this has to access the Namespace for a Date Object (i has only Date 
>> objects)
>> that already exists.
>>
>> I receive this error message when generating classes with wsdl2java.
>>
>> Does anyone know how to correct this error?
>>
>> Roland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message