Hi Phil,

I was able to find the solution (posted 5  minutes ago) on my own which in 
principle looks very similar to your proposal. Many thanks for your help. 
I am quite thrilled by the level of support and the reactivity of this 
group. Having spent time on the other side of the fence, imho it's 
outright fantastic.

"Phil Bowker" <[EMAIL PROTECTED]> wrote on 16.03.2007 16:48:27:

> Ok, try this ...
> 
> 
> /**
>  * @author xpbo
>  *
>  * When a WS client uses the SOAP "mustUnderstand" feature XFire must be
>  * informed which QNames (see <code>javax.xml.namespace.
> QName</code>) the WS can
>  * handle.
>  * This class extends an XFire handler to provide the QNames handled
> by MyProject.
>  * Note: Any handler could be extended to force this registration.
>  */
> public class MyProjectAddressingInHandler extends AddressingInHandler {
> 
>    // QNames for the Action and To SOAP header elements as used in 
MyProject
>    private static QName[] qNames =
>       { new QName("http://www.w3.org/2005/08/addressing";, "Action"),
>             new QName("http://www.w3.org/2005/08/addressing";, "To") };
> 
>    /**
>     * Returns QNames for SOAP header elements that must be known by 
XFire if
>     * the WS client uses the SOAP "mustUnderstand" feature.
>     *
>     * @return   The array of QNames.
>     */
>    public QName[] getUnderstoodHeaders()
>     {
>         return qNames;
>     }
> }
> 
> 
> Good luck.
> 
> Phil


************************ DISCLAIMER ************************
This message is intended only for use by the person
to whom it is addressed. It may contain information
that is privileged and confidential. Its content does
not constitute a formal commitment by Lombard
Odier Darier Hentsch Group and any of its affiliates.
If you are not the intended recipient of this message,
kindly notify the sender immediately and destroy this
message. Thank You.
*****************************************************************

Reply via email to