Doug:

        private void setWsAddrVersion(RequestContext rc, MessageContext mc) {
               
                // Get the WsAddrVersion value (1,2,3) from the com buffer
                int version = Integer.parseInt(rc.getServiceParameter(C.CFG_WS_ADDR_VERSION));
               
                String namespace = "";
               
                // map it to the relevant ws-addressing namespace
                if (1==version)
                        namespace = Constants.NS_URI_ADDRESSING_2003_03;
                else if (2==version)
                        namespace = Constants.NS_URI_ADDRESSING_2004_03;
                else if (3==version)
                        namespace = Constants.NS_URI_ADDRESSING_2004_08;
                else
                        throw new JAXRPCException("WsAddrVersion of " + version + " not supported.  Valid values are 1, 2 or 3");
                       
                // set this on the message context
                mc.setProperty( Constants.ENV_ADDRESSING_NAMESPACE_URI, namespace);

        }





Doug <[EMAIL PROTECTED]>

13/10/2006 19:17

To
[email protected]
cc
Subject
Configure addressing namespace 2004/03 instead of 2004/08?





Hello,

Is there a way to configure the addressing module to use the 2004/03
address namespace instead of the default 2004/08?

NS_URI_ADDRESSING_2004_03
"http://schemas.xmlsoap.org/ws/2004/03/addressing"
NS_URI_ADDRESSING_DEFAULT
"http://schemas.xmlsoap.org/ws/2004/08/addressing"

I'm trying to use Axis 1.4 / wss4j 1.5 to communicate with Microsoft WSE
2.0 SP3 web service.
However WSE 2.0 SP3 uses the
http://schemas.xmlsoap.org/ws/2004/03/addressing namespace instead of
the 2004/08 version.

Any information appreciated!

Thanks,

Doug





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to