Hi All,

 

We are in the process of upgrading our web services from Axis1 to Axis2 and we 
have some questions. 

 

Our current web services 1) throw custom exceptions and have 2) polymorphism 
(class hierarchy). Using Axis1, both just worked without an issue, we don't 
have/need any Axis1 custom codes on the server side which is good for us as we 
are using the code-first approach.

 

However with Axis2, we cannot get 1) and 2) working with the default 
RPCMessageReceiver.  To make them work, we have to use the custom 
MessageReceiver and its referenced data binding classes generated by Wsdl2Java 
on the server side.  

 

Is that the standard approach in Axis2 web service development (using the 
generated MessageReceiver on the server side)?

 

Thanks.
Alan

 

Reply via email to