axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian De Pradine <>
Subject Re: How to set SOAP Action using JAXWS dispatch client API?
Date Mon, 09 Nov 2009 18:13:06 GMT
Hi Isuru,

You need to add some code similar to the following to your client,

        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..


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?

Isuru Suriarachchi <>
08/11/2009 07:58
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,

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

View raw message