org.ogf.graap.wsag.wsrf.handler
Class AxisHandler

java.lang.Object
  extended by org.ogf.graap.wsag.wsrf.handler.AxisHandler

public class AxisHandler
extends Object

Handles incoming SOAP messages and invokes WSRF stack. In case of an error, the exception is handled for correct serialization.

Author:
Oliver Waeldrich

Constructor Summary
AxisHandler()
           
 
Method Summary
 org.apache.axiom.om.OMElement handleRequest(org.apache.axiom.om.OMElement request)
          Invokes WSRF stack and handles errors from the WSRF stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisHandler

public AxisHandler()
Method Detail

handleRequest

public final org.apache.axiom.om.OMElement handleRequest(org.apache.axiom.om.OMElement request)
                                                  throws org.apache.axis2.AxisFault
Invokes WSRF stack and handles errors from the WSRF stack. The WSRF stack returns SOAP errors already as XML, we therefore check the QName of the response and in case of error the proper Axis fault is created.

Parameters:
request - the Axis2 request
Returns:
the Axis2 response message
Throws:
org.apache.axis2.AxisFault - the converted axis fault in case a SOAP error was created by the WSRF environment.


Copyright © 2008-2012. All Rights Reserved.