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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to