You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Kinichiro Inoguchi <in...@yahoo.com> on 2006/08/18 11:02:19 UTC
[Axis2] namespace for every element in SOAP response
Hi,
I'm testing latest nightly buils Axis2 war.
I noticed that every element in response SOAP message has
namespace definition.
If you see version service via REST call like this,
http://localhost:8080/axis2/rest/version/getVersion
you could see this,
<ns:getVersionResponse xmlns:ns="http://axisversion.sample/xsd">
<ns:return xmlns:ns="http://axisversion.sample/xsd">Hello I am Axis2
version service , My version is #axisVersion# #today#</ns:return>
</ns:getVersionResponse>
"return" element also has xmlns:ns="http://axisversion.sample/xsd".
I feel this definition NOT needed.
<ns:getVersionResponse xmlns:ns="http://axisversion.sample/xsd">
<ns:return>Hello I am Axis2 version service , My version is
#axisVersion# #today#</ns:return>
</ns:getVersionResponse>
is enough.
Is this needed ?
Regards,
kinichiro
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] namespace for every element in SOAP response
Posted by Kinichiro Inoguchi <in...@yahoo.com>.
Hi Eran,
Thanks for your reply.
And I saw this issue was in WS-Common JIRA.
http://issues.apache.org/jira/browse/WSCOMMONS-74
Regards,
kinichiro
--- Eran Chinthaka <ch...@opensource.lk> wrote:
> Hi,
>
> I think this is a bug in Axiom and not in Axis2.
>
> -- Chinthaka
>
> Kinichiro Inoguchi wrote:
> > Hi,
> >
> > I'm testing latest nightly buils Axis2 war.
> > I noticed that every element in response SOAP message has
> > namespace definition.
> >
> > If you see version service via REST call like this,
> > http://localhost:8080/axis2/rest/version/getVersion
> >
> > you could see this,
> > <ns:getVersionResponse xmlns:ns="http://axisversion.sample/xsd">
> > <ns:return xmlns:ns="http://axisversion.sample/xsd">Hello I am
> Axis2
> > version service , My version is #axisVersion# #today#</ns:return>
> > </ns:getVersionResponse>
> >
> > "return" element also has xmlns:ns="http://axisversion.sample/xsd".
> > I feel this definition NOT needed.
> >
> > <ns:getVersionResponse xmlns:ns="http://axisversion.sample/xsd">
> > <ns:return>Hello I am Axis2 version service , My version is
> > #axisVersion# #today#</ns:return>
> > </ns:getVersionResponse>
> > is enough.
> >
> > Is this needed ?
> >
> > Regards,
> > kinichiro
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] namespace for every element in SOAP response
Posted by Eran Chinthaka <ch...@opensource.lk>.
Hi,
I think this is a bug in Axiom and not in Axis2.
-- Chinthaka
Kinichiro Inoguchi wrote:
> Hi,
>
> I'm testing latest nightly buils Axis2 war.
> I noticed that every element in response SOAP message has
> namespace definition.
>
> If you see version service via REST call like this,
> http://localhost:8080/axis2/rest/version/getVersion
>
> you could see this,
> <ns:getVersionResponse xmlns:ns="http://axisversion.sample/xsd">
> <ns:return xmlns:ns="http://axisversion.sample/xsd">Hello I am Axis2
> version service , My version is #axisVersion# #today#</ns:return>
> </ns:getVersionResponse>
>
> "return" element also has xmlns:ns="http://axisversion.sample/xsd".
> I feel this definition NOT needed.
>
> <ns:getVersionResponse xmlns:ns="http://axisversion.sample/xsd">
> <ns:return>Hello I am Axis2 version service , My version is
> #axisVersion# #today#</ns:return>
> </ns:getVersionResponse>
> is enough.
>
> Is this needed ?
>
> Regards,
> kinichiro
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>