On Thu, Oct 1, 2009 at 11:44 AM, sri ram <pinnamaraju_sri...@yahoo.co.in>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.
>
>  <SOAP-ENV:Envelope encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/";>
>
>                 <SOAP-ENV:Body>
>
>                                 <executeSQLQuery xmlns=
> http://www.kiran.com/AXL/API/7.1 <http://www.cisco.com/AXL/API/7.1>>
>
>                                                 <sql>select * from
> typeproduct</sql>
>
>                                 </executeSQLQuery>
>
>                 </SOAP-ENV:Body>
>
> </SOAP-ENV:Envelope>
>

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 .
>
>
> <SOAP-ENV:Envelope encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/";>
>
>                 <SOAP-ENV:Body>
>
>                                 <*ns*:executeSQLQuery xmlns*:ns* ="
> http://www.kiran.com/AXL/API/8.0";>
>
>                                                 <sql>select * from
> typeproduct</sql>
>
>                                 </*ns*:executeSQLQuery>
>
>                 </SOAP-ENV:Body>
>
> </SOAP-ENV:Envelope>
>
>
> 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<http://in.rd.yahoo.com/tagline_galaxy_2/*http://in.overview.mail.yahoo.com/photos>
> .
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to