Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 53664 invoked from network); 1 Oct 2009 07:34:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 07:34:57 -0000 Received: (qmail 1217 invoked by uid 500); 1 Oct 2009 07:34:55 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 1158 invoked by uid 500); 1 Oct 2009 07:34:55 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 1149 invoked by uid 99); 1 Oct 2009 07:34:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:34:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of amilasuriarachchi@gmail.com designates 74.125.92.150 as permitted sender) Received: from [74.125.92.150] (HELO qw-out-1920.google.com) (74.125.92.150) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 07:34:42 +0000 Received: by qw-out-1920.google.com with SMTP id 4so3823642qwk.28 for ; Thu, 01 Oct 2009 00:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=jpzkw7jN3YAuUk34RfoEiJPTyptUaXoHvryooctlaEQ=; b=KWB39LiG6YLrQcEACWKW1tYGFdcwmhrElEntyfyi084AOUWaMDPCeo4EYMDh1w8iBz OKVdMIo3NKLEAAq3YZrFLmGTA7hBOxwuYWl7My8mlGf/QHEvqgofPV2g4hdSjzmtdUzB JKSHOwZDrdMBHFj/3F7cDnDOIGBkhjOI4cdNE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sPRV2zLZbFO80AugONlLaB3I1Q9QXaNDGrm7GaErgbN/DhTd4ZEUzacUHv42+tAUVr dsI+2qUhQVhQ7qlUyMphuyIjyA8WbaP6f1Ka03FrxxXTh5jMCksWDmDXVWe7F7tXF3sL RgMYZIsh0UYceEhj1G7Zx/+9j/HS/U79WU28U= MIME-Version: 1.0 Received: by 10.229.38.206 with SMTP id c14mr1000802qce.89.1254382401768; Thu, 01 Oct 2009 00:33:21 -0700 (PDT) In-Reply-To: <33145.90915.qm@web8808.mail.in.yahoo.com> References: <33145.90915.qm@web8808.mail.in.yahoo.com> Date: Thu, 1 Oct 2009 13:03:21 +0530 Message-ID: <60708f4b0910010033t790817e2r87a5264d72aa7f4@mail.gmail.com> Subject: Re: Does Axis 2 support requests with namespace prefix??? From: Amila Suriarachchi To: axis-user@ws.apache.org Content-Type: multipart/alternative; boundary=0016368342a4784f2d0474daa996 X-Virus-Checked: Checked by ClamAV on apache.org --0016368342a4784f2d0474daa996 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 1, 2009 at 11:44 AM, sri ram wrote: > Adding Subject > > Hi, > > As I see in Axis 2 doesn't support a format of SOAP messages which doesn't > have namespace prefix.As shown below the request doesn't work ,however when > substituted bya namespace prefix it does work well. > > > > > > http://www.kiran.com/AXL/API/7.1 > > > select * from > typeproduct > > > > > > > Axis2 should support this request. Do you get any exception for when there are no prefixes? thanks, Amila. > > > (axis 2) expects the request message to have *namespace prefix* in the > request . > > > > > > > <*ns*:executeSQLQuery xmlns*:ns* =" > http://www.kiran.com/AXL/API/8.0"> > > select * from > typeproduct > > > > > > > > > Is there a way to make the axis 2 framework to allow and process the > other format of request ie withoute the namespace prefix. > > > > > > Is this (namespace prefix ) a standard followed by all the SOAPEngines and > Parsers. > > Can some one throw some light on it. > > > Please reply back soon. > > If this kind of question is already addressed can you guys please give > link to the corresponding mail. > > > > Thanks , > > Sriram > > > ------------------------------ > Now, send attachments up to 25MB with Yahoo! India Mail. Learn how > . > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ --0016368342a4784f2d0474daa996 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Oct 1, 2009 at 11:44 AM, sri ram= <pi= nnamaraju_sriram@yahoo.co.in> wrote:
Adding Subject

Hi,=

As=A0 I see in Axis 2 doesn't support a format of SOAP messages which doesn&#= 39;t have namespace prefix.As shown below the request doesn't work ,however when substituted bya namespace prefix it does work well.

<SOAP-ENV:Env= elope=20 encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"=20 xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/">=

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 <SOAP-ENV:Body>

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 <executeSQLQuery=20 xmlns=3Dhttp://www.kiran.co= m/AXL/API/7.1&g= t;

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 <sql>select * from typeproduct</sql>

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=20 </executeSQLQuery>

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 </SOAP-ENV:Body>

=20

</SOAP-ENV:En= velope>=A0=A0=A0


Axis2 should support this reque= st. Do you get any exception for when there are no prefixes?

thanks,
Amila.
=20



=A0(axis 2= ) expects the request message=A0 to have=20 namespace prefix in the request=20 .

=20 =A0=20

<SOAP-ENV:Env= elope=20 encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"=20 xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/">=

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 <SOAP-ENV:Body>

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 <ns:executeSQLQue= ry xmlns:ns=20 =3D"http://www.kiran.com/AXL/API/8.0">

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 <sql>select * from typeproduct</sql>

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 </ns:executeSQLQu= ery>

=20

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 </SOAP-ENV:Body>

=20

</SOAP-ENV:En= velope>


Is there a way to=A0 make the axis 2 framework to allow and process the= other format of request ie withoute the namespace prefix.


<= br>



Is this (namesp= ace prefix )=A0 a standard followed by all the SOAPEngines and Parsers.

Can some one thr= ow some light on it.


Please=A0 reply back soon.

If this kind of = question is already addressed can you guys=A0 please give link to the corre= sponding mail.



Thanks ,

Srira= m




Now, send attachments up to 25MB with Yahoo! India Ma= il. Learn how.
<= /div>


--
Amila Suriarachchi
WSO2 Inc.
blog: <= a href=3D"http://amilachinthaka.blogspot.com/">http://amilachinthaka.blogsp= ot.com/
--0016368342a4784f2d0474daa996--