You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ofer Baranes <of...@bitband.com> on 2004/06/06 13:59:30 UTC

declare exception considere Undeclaredthrowableexception

 I am using Axis on the Server side and Axis Call (through WSIF) on the 
 Client side :

 I have a very declared exception on my WebService ,which 
 do appear on the wsdl , BUT , when this exception is 
 throw on the server side ,on the client side it's 
 considere as an Undeclaredthrowableexception , why ?

 (I checked the SOAP response string and the exception do 
  exists on the fault section.
  My feeling is that my exception is not correctly 
  serialize\deserialize and therefor is not considere as 
  a declared exception.) 
 

Re: declare exception considere Undeclaredthrowableexception

Posted by Aleksander Slominski <as...@cs.indiana.edu>.
Ofer Baranes wrote:

>  I am using Axis on the Server side and Axis Call (through WSIF) on the
>  Client side :
>
>  I have a very declared exception on my WebService ,which
>  do appear on the wsdl , BUT , when this exception is
>  throw on the server side ,on the client side it's
>  considere as an Undeclaredthrowableexception , why ?
>
there are two possibilities:
1. exception is internal problem inside WSIF / AXIS provider
2. exception is not mapped properly during invocation inside AXIS 
provide or in AXIS

>   (I checked the SOAP response string and the exception do
>   exists on the fault section.
>   My feeling is that my exception is not correctly
>   serialize\deserialize and therefor is not considere as
>   a declared exception.)
>
>  
>
that would suggest option 2 ...

could you log this problem in jira with the description how to reproduce it?

thanks,

alek

-- 
The best way to predict the future is to invent it - Alan Kay


Re: declare exception considere Undeclaredthrowableexception

Posted by Aleksander Slominski <as...@cs.indiana.edu>.
Ofer Baranes wrote:

>  I am using Axis on the Server side and Axis Call (through WSIF) on the
>  Client side :
>
>  I have a very declared exception on my WebService ,which
>  do appear on the wsdl , BUT , when this exception is
>  throw on the server side ,on the client side it's
>  considere as an Undeclaredthrowableexception , why ?
>
there are two possibilities:
1. exception is internal problem inside WSIF / AXIS provider
2. exception is not mapped properly during invocation inside AXIS 
provide or in AXIS

>   (I checked the SOAP response string and the exception do
>   exists on the fault section.
>   My feeling is that my exception is not correctly
>   serialize\deserialize and therefor is not considere as
>   a declared exception.)
>
>  
>
that would suggest option 2 ...

could you log this problem in jira with the description how to reproduce it?

thanks,

alek

-- 
The best way to predict the future is to invent it - Alan Kay