If WSDL2Java is not rejecting this input (an element declared without a
name) as it should, with an informative error message, then there is a bug
in WSDL2Java as well. please file a JIRA.
Thanks.
Derek
> -Original Message-
> From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 05, 2006 5:20 PM
> To: axis-user@ws.apache.org
> Subject: Re: wsdl stub generation(element without name
> attribute allowed!!!??!!?!?!)
>
>
> It is not valid. (Therefore it is a bug in NetBeans.) All
> elements must have a name except the element. i.e.,
> this would be
> valid:
>
>
>
>
>
>
>
>
>
> But you could not specify that the element is if type
> "xsd:anyURI".
>
> Anne
>
> On 9/5/06, Christian Kloner <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > A friend of mine has written a wsdl file which has in the
> schema part
> > elements like this:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > as you can see, the element tag
> >
> > contains no attribute "name" which is not valid if you validate
> > against the schema. but in netbeans 5.5 with the enterprise
> pack, you
> > can validate whole wsdl files, and there it is completely valid to
> > have such an element tag in it. so i am just wondering if
> it is valid
> > or not (bug of netbeans???). the stubs generated from the
> above code
> > fragement produce the following output:
> >
> > http://aurigafactory.gridminer.org";>
> >
> >
> http://www.localhost:8080/auriga/FactoryInstanceWorkflowEPRSecond.xml
> >
> >
> >
> > So is this allowed/valid? thanks in advance.
> > chris
> >
> >
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]