Return-Path: Delivered-To: apmail-ws-addressing-dev-archive@www.apache.org Received: (qmail 40097 invoked from network); 16 Oct 2006 08:10:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 08:10:26 -0000 Received: (qmail 40363 invoked by uid 500); 16 Oct 2006 08:10:26 -0000 Delivered-To: apmail-ws-addressing-dev-archive@ws.apache.org Received: (qmail 40348 invoked by uid 500); 16 Oct 2006 08:10:25 -0000 Mailing-List: contact addressing-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list addressing-dev@ws.apache.org Received: (qmail 40337 invoked by uid 99); 16 Oct 2006 08:10:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 01:10:25 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FROM_NO_LOWER,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [194.221.133.209] (HELO nu-app-mpt-7.nu.prk.uk.cw.net) (194.221.133.209) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 01:10:23 -0700 Received: from nu-app-mpt-20.nu.prk.uk.cw.net (nu-app-mpt-20-fp.nu.prk.uk.cw.net [10.11.27.67]) by nu-app-mpt-7.nu.prk.uk.cw.net (MOS 3.7.5a-GA) with ESMTP id AEW91291; Mon, 16 Oct 2006 09:09:58 +0100 (BST) Received: from notl001g.VIA.NOVONET ([10.14.113.121]) by nu-app-mpt-20.nu.prk.uk.cw.net (MOS 3.7.5a-GA) with ESMTP id AFE22685; Mon, 16 Oct 2006 09:08:56 +0100 (BST) In-Reply-To: <452FD82E.7050100@HotPOP.com> To: Doug Cc: addressing-dev@ws.apache.org Subject: Re: Configure addressing namespace 2004/03 instead of 2004/08? MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0.2CF2 July 23, 2003 From: Daniel Evans Message-ID: Date: Mon, 16 Oct 2006 09:08:54 +0100 X-NuPostxSecure: False X-Mira-QRule: Combined Wordlist _out_ Content-Type: multipart/mixed; boundary="MIRAPOINT_PART1_45333e56" X-Mirapoint-Sig: ukgi-ukgi.groups.norwich-union.co.uk X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --MIRAPOINT_PART1_45333e56 Content-Type: multipart/alternative; boundary="=_alternative 002CBE7480257209_=" --=_alternative 002CBE7480257209_= Content-Type: text/plain; charset="US-ASCII" 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 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 --=_alternative 002CBE7480257209_= Content-Type: text/html; charset="US-ASCII"
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


--=_alternative 002CBE7480257209_=-- Norwich Union Insurance Limited Registered Office 8 Surrey Street Norwich, NR1 3NG Registered in England Number 99122 Authorised and Regulated by the Financial Services Authority For Further enquiries 01603 622200 ********************************************************************** This email and any files sent with it are intended only for the named recipient. If you are not the named recipient please telephone/email the sender immediately. You should not disclose the content or take/retain/distribute any copies. ********************************************************************** --MIRAPOINT_PART1_45333e56 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: addressing-dev-unsubscribe@ws.apache.org For additional commands, e-mail: addressing-dev-help@ws.apache.org --MIRAPOINT_PART1_45333e56--