You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Scott Kurz <sc...@gmail.com> on 2008/01/09 17:58:26 UTC
JAX-WS spec interpretation question re: doc-lit-wrapped? WSDLs with wrapper elems with non-substitution-group refs
Can we discuss the issue mentioned in:
https://issues.apache.org/jira/browse/TUSCANY-1938
Does anyone agree with my opinion that the interpretation in the JAX-WS RI
toolset is better than the Tuscany interpretation?
(Though I understand Raymond has disagreed in the past.)
Thanks,
Scott
Re: JAX-WS spec interpretation question re: doc-lit-wrapped? WSDLs with wrapper elems with non-substitution-group refs
Posted by Scott Kurz <sc...@gmail.com>.
OK, great.
I don't have the latest tools code building but I ran the WSDL attached to
the JIRA through
WSDL2Java from a few months back and it worked (i.e. it gen'd the Java in
the wrapped style).
Thanks,
Scott
On Jan 9, 2008 1:51 PM, Raymond Feng <en...@gmail.com> wrote:
> Hi,
>
> The "substitutionGroup" attribute can only be used with global elements,
> and
> the head element for a substitutionGroup must be a global element too. So
> element reference is the only possible way to bring substitution groups
> into
> the picture. From this perspective, it makes sense that element references
> to substitution groups (I woud say, the head element of a substitution
> group) are not allowed. But it will be difficult to check if an element is
> a
> head element of a substitution group.
>
> I assume element refs (<element> with the 'ref' attr) are child elements
> too. So they should be allowed. I'll fix it in TUSCANY-1938.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Scott Kurz" <sc...@gmail.com>
> To: <tu...@ws.apache.org>
> Sent: Wednesday, January 09, 2008 8:58 AM
> Subject: JAX-WS spec interpretation question re: doc-lit-wrapped? WSDLs
> with
> wrapper elems with non-substitution-group refs
>
>
> > Can we discuss the issue mentioned in:
> >
> > https://issues.apache.org/jira/browse/TUSCANY-1938
> >
> > Does anyone agree with my opinion that the interpretation in the JAX-WS
> RI
> > toolset is better than the Tuscany interpretation?
> > (Though I understand Raymond has disagreed in the past.)
> >
> > Thanks,
> > Scott
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
Re: JAX-WS spec interpretation question re: doc-lit-wrapped? WSDLs with wrapper elems with non-substitution-group refs
Posted by Raymond Feng <en...@gmail.com>.
Hi,
The "substitutionGroup" attribute can only be used with global elements, and
the head element for a substitutionGroup must be a global element too. So
element reference is the only possible way to bring substitution groups into
the picture. From this perspective, it makes sense that element references
to substitution groups (I woud say, the head element of a substitution
group) are not allowed. But it will be difficult to check if an element is a
head element of a substitution group.
I assume element refs (<element> with the 'ref' attr) are child elements
too. So they should be allowed. I'll fix it in TUSCANY-1938.
Thanks,
Raymond
----- Original Message -----
From: "Scott Kurz" <sc...@gmail.com>
To: <tu...@ws.apache.org>
Sent: Wednesday, January 09, 2008 8:58 AM
Subject: JAX-WS spec interpretation question re: doc-lit-wrapped? WSDLs with
wrapper elems with non-substitution-group refs
> Can we discuss the issue mentioned in:
>
> https://issues.apache.org/jira/browse/TUSCANY-1938
>
> Does anyone agree with my opinion that the interpretation in the JAX-WS RI
> toolset is better than the Tuscany interpretation?
> (Though I understand Raymond has disagreed in the past.)
>
> Thanks,
> Scott
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org