You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Amita Vadhavkar <am...@gmail.com> on 2007/09/10 15:47:22 UTC

Result of WSDL description and implementation mismatch

Hi,
There are different exceptions thrown depending upon the exact mismatch.
Please see TUSCANY-1315 attachment
for the exceptions thrown. But it never throws NPE.  Please advise if it
will help to have more user friendly exception
messages. Suggestions?

Regards,
Amita

Re: Result of WSDL description and implementation mismatch

Posted by ant elder <an...@gmail.com>.
On 9/10/07, Amita Vadhavkar <am...@gmail.com> wrote:
>
> Hi,
> There are different exceptions thrown depending upon the exact mismatch.
> Please see TUSCANY-1315 attachment
> for the exceptions thrown. But it never throws NPE.  Please advise if it
> will help to have more user friendly exception
> messages. Suggestions?
>
> Regards,
> Amita
>


The "java.lang.IllegalArgumentException: Can't handle mixed payloads betweem
OMElements and other types" isn't so helpful so if something can be done to
have those cases give a better exception would be good. Most of the other
exceptions do give an indication that there's some sort of interface
mismatch.

   ...ant