dev@jax-ws.java.net

Re: Added the SOAPAction header value to MessageProperties

From: Kathy Walsh <Kathleen.Walsh_at_Sun.COM>
Date: Wed, 18 Jan 2006 11:16:27 -0500

Kohsuke,

There are some BindingProvider properties that enable this

from BindingProvider api class:

/** Standard property for SOAPAction. This boolean property
     * indicates whether or not SOAPAction is to be used. The
     * default value of this property is false indicating that
     * the SOAPAction is not used.
     * <p>Type: <code>java.lang.Boolean</code>
    **/
    public static final String SOAPACTION_USE_PROPERTY =
                      "javax.xml.ws.soap.http.soapaction.use";

    /** Standard property for SOAPAction. Indicates the SOAPAction
     * URI if the <code>javax.xml.ws.soap.http.soapaction.use</code>
     * property is set to <code>true</code>.
     * <p>Type: <code>java.lang.String</code>
    **/
    public static final String SOAPACTION_URI_PROPERTY =
                      "javax.xml.ws.soap.http.soapaction.uri";


Kohsuke Kawaguchi wrote:

>
> I think this information needs to be propagated from the producer of a
> Message to the consumer, so I added it to MessageProperties. If
> someone could take a look at its javadoc to check the sanity, that
> would be greatly appreciated.
>
> One related question about this is whether an user can set SOAPAction
> header value when using Dispatch. Looking at the code, there seems to
> be no way, but does anyone know for sure?
>