On Tue, Jun 10, 2008 at 4:59 AM, Simon Nash <[EMAIL PROTECTED]> wrote:

>
> I tried this with the Sun RI and was surprised that it took the
> targetNamespace for the @WebService annotation from the portType's
> <wsdl:definitions>, even though it took the targetNamespace for
> the package name from the service's <wsdl:definitions>.
>
> This inconsistency seems wrong to me.  My conclusion is that
> CXF has got this right.
>

That's interesting.  Seems like wsimport might have a bug then if they're
not in synch with
themselves.  (And sorry my earlier comment here was meaningless.)


>
>  On the other hand, JAX-WS could have been clearer on this...
>>
>>  I agree.  And this seems like a warning that in cases where the
> spec is ambiguous, we should not assume that we can use the
> Sun RI's behaviour to determine which interpretation is correct.
>
>  Simon


Good point.

Scott

Reply via email to