You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Steven Thein <st...@oracle.com> on 2010/04/14 19:23:19 UTC
Generating client stubs without name space using wsdl2java..
Hi all,
I would like to generate client stubs without namespace. Is -nexclude the right option?
I am trying to test if a cleint stub without any namespace can access a service with name space that can change in the future.
Thanks
Steve
Re: Generating client stubs without name space using wsdl2java..
Posted by Glen Mazza <gl...@gmail.com>.
Hopefully someone else can answer your question, but that would seem to be a
buggy way to code that could cause security vulnerabilities. An element is
defined by both its name and its namespace, coding just on the former
doesn't seem very robust.
Glen
Steve2001 wrote:
>
> Hi all,
> I would like to generate client stubs without namespace. Is -nexclude
> the right option?
> I am trying to test if a cleint stub without any namespace can access a
> service with name space that can change in the future.
>
> Thanks
> Steve
>
--
View this message in context: http://old.nabble.com/Generating-client-stubs-without-name-space-using-wsdl2java..-tp28245682p28247351.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Generating client stubs without name space using wsdl2java..
Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday 14 April 2010 1:23:19 pm Steven Thein wrote:
> Hi all,
> I would like to generate client stubs without namespace. Is -nexclude
> the right option? I am trying to test if a cleint stub without any
> namespace can access a service with name space that can change in the
> future.
There really isn't an "easy" way to do this. The only real option is to
write a XMLStreamREader/Writer that would remap namespaces during
reading/writing and plug that into the client.
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog