Hi All

I am using the web services with Spring remoting. Here is my bean defination for web service client. My goal is to add header to the client request. Here temperaturePort is the Web service Port created by JAX-WS.
How can I do this? I wanted to do this in declarative manner.

<bean id="temperatureService" class="org.springframework.aop.framework.ProxyFact oryBean">
<property name="targetSource" ref="temperatureTargetSource" />
<property name="interfaces">
<list>
<value>temperaturePort</value>
</list>
</property>
</bean>

<bean id="temperatureTargetSource" class="TemperatureTargetSource">

class TemperatureTargetSource extends
AbstractRefreshableTargetSource<TemperaturePort> implements
InitializingBean, BeanNameAware


Regards,
Shekhar