ws-addressing-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Evans <EVAN...@NORWICH-UNION.CO.UK>
Subject Re: Configure addressing namespace 2004/03 instead of 2004/08?
Date Mon, 16 Oct 2006 08:08:54 GMT
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 <doug_mail@HotPOP.com> 
13/10/2006 19:17


To
addressing-dev@ws.apache.org
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: addressing-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: addressing-dev-help@ws.apache.org



Mime
View raw message