Hi Isuru,
You need to add some code similar to the following to your client,
import javax.xml.ws.BindingProvider;
Map<String, Object> map = dispatch.getRequestContext();
map.put(BindingProvider.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
map.put(BindingProvider.SOAPACTION_URI_PROPERTY, ...);
Pass a String as the BindingProvider.SOAPACTION_URI_PROPERTY in order to
specify the SOAP action..
Cheers
Brian DePradine
Web Services Development
IBM Hursley
External +44 (0) 1962 816319 Internal 246319
If you can't find the time to do it right the first time, where will you
find the time to do it again?
From:
Isuru Suriarachchi <[email protected]>
To:
[email protected]
Date:
08/11/2009 07:58
Subject:
How to set SOAP Action using JAXWS dispatch client API?
Hi all,
I'm using a JAXWS dispatch client (without generating proxy code) to
invoke a simple service. Now I want to engage addressing to this client
and test some asynchronous scenarios. But I can't find how to set the SOAP
Action through this dispatch client API. Can someone who's familiar with
our JAXWS client API tell me how to do this?
Thanks in advance,
~Isuru
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU