Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 77577 invoked from network); 19 Aug 2006 05:05:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Aug 2006 05:05:19 -0000 Received: (qmail 847 invoked by uid 500); 19 Aug 2006 05:05:12 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 790 invoked by uid 500); 19 Aug 2006 05:05:12 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 779 invoked by uid 99); 19 Aug 2006 05:05:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Aug 2006 22:05:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.68.5.16] (HELO relay02.pair.com) (209.68.5.16) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 18 Aug 2006 22:05:10 -0700 Received: (qmail 32025 invoked from network); 19 Aug 2006 05:04:48 -0000 Received: from unknown (HELO ?222.165.171.143?) (unknown) by unknown with SMTP; 19 Aug 2006 05:04:48 -0000 X-pair-Authenticated: 222.165.171.143 Message-ID: <44E69BEF.9050106@opensource.lk> Date: Sat, 19 Aug 2006 10:34:47 +0530 From: Eran Chinthaka Reply-To: chinthaka@opensource.lk User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: [Axis2] Identifying REST vs SOAP messages References: <44E5EB22.5090309@opensource.lk> <44E66F1B.4080102@thoughtcraft.com> In-Reply-To: <44E66F1B.4080102@thoughtcraft.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig988722A192BEE2A8A9B22FB5" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------enig988722A192BEE2A8A9B22FB5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Glen, Glen Daniels wrote: > I think the algorithm is as follows: >=20 > 1) check media-type. If it's either of the well-defined ones for SOAP > 1.2 (application/soap+xml, application/xop+xml), it's SOAP 1.2. This is the problem. As I mentioned in my earlier mail also, content type for SOAP 1.2 is optional. One can send a SOAP 1.2 message without putting the content type as application/soap+xml. What can we do about th= at? We can make it a must for users to send the content type, even if it is SOAP 1.2. - Chinthaka --------------enig988722A192BEE2A8A9B22FB5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFE5pvxjON2uBzUhh8RApjxAJ0XU+cNcwnXHPY5/ampQQMLxmJmKwCePbJV DuZVF+hQatc0oq59779+4h0= =VZ1T -----END PGP SIGNATURE----- --------------enig988722A192BEE2A8A9B22FB5--