You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2007/07/02 18:41:26 UTC

[Ws Wiki] Update of "FrontPage/Axis2/changesfrom1.2to1.3" by GlenDaniels

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by GlenDaniels:
http://wiki.apache.org/ws/FrontPage/Axis2/changesfrom1%2e2to1%2e3

------------------------------------------------------------------------------
  
   * Deprecating the introspection to find init()/destroy() methods on service classes.  Replace with org.apache.axis2.service.Lifecycle interface, since "instanceof" checks are significantly faster.
  
+  * Deprecated the Callback interface, for several reasons (it wasn't clean or flexible enough).  New code should use org.apache.axis2.client.async.AxisCallback, which is an interface that you implement.  The new interface contains separate onFault(MessageContext) and onError(Exception) methods - onFault is called when a SOAP fault is received over the wire, and onError() is only called when a processing exception is thrown locally.  Both onMessage() and onFault() now take MessageContext arguments, which allows you to get at the entire state of the Axis2 instance.  If you just want the SOAP envelope, simply call MessageContext.getEnvelope().  Finally, the new callback interface has an onComplete() method which will *always* be called when the MEP is finished, regardless of the success/error state.
+  
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org