-
Aug 27th, 2012, 08:11 AM
#1
Adding header to Web service Client request
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules