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 Amit G Soni <Am...@mphasis.com> on 2007/01/12 10:15:23 UTC
Problem in changes the value of WSA_NAMESPACE
Hi,
I want to invoke one webservices and for that I have generated one
client using Axis2-1.0.
I have to change the value of WSA_NAMESPACE which is
http://schemas.xmlsoap.org/ws/2004/03/addressing so for that I have
done something like
ConfigurationContext context =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(s,
s+"/conf/axis2.xml");
context.setProperty(AddressingConstants.WS_ADDRESSING_VERSION,
"http://schemas.xmlsoap.org/ws/2004/03/addressing");
But still it gives me the value of WSA_NAMESPACE is
http://schemas.xmlsoap.org/ws/2004/08/addressing
Can any please help me how can I solve this problem.
Thanks,
Amit Soni
RE: Problem in changes the value of WSA_NAMESPACE
Posted by Brian De Pradine <PR...@uk.ibm.com>.
Hello Amit,
There is no other way that I can think of, using Axis2, as the support for
that spec simply isn't implemented.
Cheers
Brian DePradine
Web Services Development
IBM Hursley
External +44 (0) 1962 816319 Internal 246319
If you can't find the time to do it right the first time, where will you
find the time to do it again?
"Amit G Soni" <Am...@mphasis.com> wrote on 12/01/2007 12:15:56:
> Hi Brian,
>
> Thanks a lot for reply.
>
> Is there any other way around through which I can make this happen.
> Other wise I am not able to invoke the webservices.
>
> For testing I have made some changes in the source code of Axis2 and
> put the value of WSA_NAMESPACE as http://schemas.xmlsoap.
> org/ws/2004/08/addressing then it works fine. But legally I should
> not do that. So if you have any other to does this then please let me
know.
>
> Thanks,
> Amit Soni
>
>
> From: Brian De Pradine [mailto:PRADINE@uk.ibm.com]
> Sent: Friday, January 12, 2007 5:28 PM
> To: axis-user@ws.apache.org
> Subject: Re: Problem in changes the value of WSA_NAMESPACE
>
>
> Hello Amit,
>
> Axis2 only supports the http://schemas.xmlsoap.org/ws/2004/08/addressing
and
> http://www.w3.org/2005/08/addressing namespaces so what you are
> trying to do won't work.
>
> Cheers
>
> Brian DePradine
> Web Services Development
> IBM Hursley
> External +44 (0) 1962 816319 Internal 246319
>
> If you can't find the time to do it right the first time, where will
> you find the time to do it again?
>
>
> "Amit G Soni" <Am...@mphasis.com> wrote on 12/01/2007 09:15:23:
>
> > Hi,
> >
> > I want to invoke one webservices and for that I have generated one
> > client using Axis2-1.0.
> >
> > I have to change the value of WSA_NAMESPACE which is http://schemas.
> > xmlsoap.org/ws/2004/03/addressing so for that I have done something
like
> >
> > ConfigurationContext context = ConfigurationContextFactory.
> > createConfigurationContextFromFileSystem(s, s+"/conf/axis2.xml");
> > context.setProperty(AddressingConstants.WS_ADDRESSING_VERSION, "
> > http://schemas.xmlsoap.org/ws/2004/03/addressing");
> >
> > But still it gives me the value of WSA_NAMESPACE is http://schemas.
> > xmlsoap.org/ws/2004/08/addressing
> >
> > Can any please help me how can I solve this problem.
> >
> > Thanks,
> > Amit Soni
RE: Problem in changes the value of WSA_NAMESPACE
Posted by Amit G Soni <Am...@mphasis.com>.
Hi Brian,
Thanks a lot for reply.
Is there any other way around through which I can make this happen.
Other wise I am not able to invoke the webservices.
For testing I have made some changes in the source code of Axis2 and put
the value of WSA_NAMESPACE as
http://schemas.xmlsoap.org/ws/2004/08/addressing then it works fine. But
legally I should not do that. So if you have any other to does this
then please let me know.
Thanks,
Amit Soni
________________________________
From: Brian De Pradine [mailto:PRADINE@uk.ibm.com]
Sent: Friday, January 12, 2007 5:28 PM
To: axis-user@ws.apache.org
Subject: Re: Problem in changes the value of WSA_NAMESPACE
Hello Amit,
Axis2 only supports the http://schemas.xmlsoap.org/ws/2004/08/addressing
and http://www.w3.org/2005/08/addressing namespaces so what you are
trying to do won't work.
Cheers
Brian DePradine
Web Services Development
IBM Hursley
External +44 (0) 1962 816319 Internal 246319
If you can't find the time to do it right the first time, where will you
find the time to do it again?
"Amit G Soni" <Am...@mphasis.com> wrote on 12/01/2007 09:15:23:
> Hi,
>
> I want to invoke one webservices and for that I have generated one
> client using Axis2-1.0.
>
> I have to change the value of WSA_NAMESPACE which is http://schemas.
> xmlsoap.org/ws/2004/03/addressing so for that I have done something
like
>
> ConfigurationContext context = ConfigurationContextFactory.
> createConfigurationContextFromFileSystem(s, s+"/conf/axis2.xml");
> context.setProperty(AddressingConstants.WS_ADDRESSING_VERSION, "
> http://schemas.xmlsoap.org/ws/2004/03/addressing");
>
> But still it gives me the value of WSA_NAMESPACE is http://schemas.
> xmlsoap.org/ws/2004/08/addressing
>
> Can any please help me how can I solve this problem.
>
> Thanks,
> Amit Soni
Re: Problem in changes the value of WSA_NAMESPACE
Posted by Brian De Pradine <PR...@uk.ibm.com>.
Hello Amit,
Axis2 only supports the http://schemas.xmlsoap.org/ws/2004/08/addressing
and http://www.w3.org/2005/08/addressing namespaces so what you are trying
to do won't work.
Cheers
Brian DePradine
Web Services Development
IBM Hursley
External +44 (0) 1962 816319 Internal 246319
If you can't find the time to do it right the first time, where will you
find the time to do it again?
"Amit G Soni" <Am...@mphasis.com> wrote on 12/01/2007 09:15:23:
> Hi,
>
> I want to invoke one webservices and for that I have generated one
> client using Axis2-1.0.
>
> I have to change the value of WSA_NAMESPACE which is http://schemas.
> xmlsoap.org/ws/2004/03/addressing so for that I have done something
like
>
> ConfigurationContext context = ConfigurationContextFactory.
> createConfigurationContextFromFileSystem(s, s+"/conf/axis2.xml");
> context.setProperty(AddressingConstants.WS_ADDRESSING_VERSION, "
> http://schemas.xmlsoap.org/ws/2004/03/addressing");
>
> But still it gives me the value of WSA_NAMESPACE is http://schemas.
> xmlsoap.org/ws/2004/08/addressing
>
> Can any please help me how can I solve this problem.
>
> Thanks,
> Amit Soni