Access Keys:
Skip to content (Access Key - 0)
community header community tab mule tab ibeans tab muleforge tab

Created by Raffaele Picardi
On Mon Nov 12 17:49:22 CET 2007
Using TimTam

Development

In order to add wsrf information in soap header , it will be used spring aop framework to intercept and extend Call Axis invocation.

Each AOP Advice will extend a WSRF spec.

Some aspects will invoke autogenerated stub to perform WSRF request and append the response to message.
Each Advice append its response as property in WSRFExtraResponse map in Event Message source . WSRFMessage Dispatcher append to AxisWsdlMessageDispatcher message response extra advices properties included into WSRFExtraResponse map

Right now , Advice can be add without change configuration spring xml file. Advice class placed in wsrf.aspect sub-package will be instanced in order to create a Proxy bean . Advices order can be set using IPriorityAdvice interface

Proxy bean has a target object. This target Object is called in doSend() method so it is possible to manage axis call before invocation.

Advices:

The order of advice is important.

Standalone mode:
adding in a message a property :

 props.put(WSRFParameter.WSRF_RESOURCEPROPERTY_STANDALONE_MODE, WSRFParameter.STANDALONE_YES);

some advice change method invocation of wsdl provider properties and set theri properties in order to do make invocation from wsdl provider itself.
SoapMethod property will overrided from advice.
WS Lifetime advice and WsResourceProperty Advice support standalone mode.
In standalone mode needs to send message passing as arguments an object array 1-size :

    result = client.send("vm://vmQueue", new Object[] {""}  , props);

tha instance of Object[0] element will be override with relatives advice request object invocation.

Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10, the Enterprise Wiki.
Free theme builder license