Hi All,

 

I have a web service method with a signature of:

 

      public void throwException() throws CustomException;

 

However, after I ran jibx2wsdl and then wsdl2java, the generated client code 
becomes:

 

      public void throwException() throws CustomFault {

      }

 

 

>From my understanding after reading the example from the jibx2wsdl website, we 
>are supposed to construct the CustomerFault with the CustomException in the 
>ServiceImpl class.  

 

Is that right?

 

Then my next question is in Axis1, we do not have to do this extra step. (i.e. 
the client interface will be the same as the server's; namely: public void 
throwException() throws CustomException)

 

Could anyone tell me why the extra step was introduced with Axis2-JiBX? What're 
the benefits?

 

Thanks in advance!

 

Alan Lee



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to