You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Penmatsa, Vinay" <vi...@sap.com> on 2012/04/24 15:51:47 UTC

customize namespace - wsdl2java

Hi,
I want to prefix a string to certain namespaces in the generated tags in the source code(from wsdl 2 java). Any examples of how I  can do it?

In wsdl, say target namespace is http://services.foo.com
In java interface generated, I need the tag
@WebService(targetNamespace = http://prefix.services.foo.com/, ...)


Thanks,
Vinay


Re: customize namespace - wsdl2java

Posted by karthicksub <ka...@gmail.com>.
Hi Vinay,

I also have the same requirement. Do you have any update on this?

Thanks,
Karthick S


Vinay wrote
> 
> Hi,
> I want to prefix a string to certain namespaces in the generated tags in
> the source code(from wsdl 2 java). Any examples of how I  can do it?
> 
> In wsdl, say target namespace is http://services.foo.com
> In java interface generated, I need the tag
> @WebService(targetNamespace = http://prefix.services.foo.com/, ...)
> 
> 
> Thanks,
> Vinay
> 

Vinay wrote
> 
> Hi,
> I want to prefix a string to certain namespaces in the generated tags in
> the source code(from wsdl 2 java). Any examples of how I  can do it?
> 
> In wsdl, say target namespace is http://services.foo.com
> In java interface generated, I need the tag
> @WebService(targetNamespace = http://prefix.services.foo.com/, ...)
> 
> 
> Thanks,
> Vinay
> 

Vinay wrote
> 
> Hi,
> I want to prefix a string to certain namespaces in the generated tags in
> the source code(from wsdl 2 java). Any examples of how I  can do it?
> 
> In wsdl, say target namespace is http://services.foo.com
> In java interface generated, I need the tag
> @WebService(targetNamespace = http://prefix.services.foo.com/, ...)
> 
> 
> Thanks,
> Vinay
> 


--
View this message in context: http://cxf.547215.n5.nabble.com/customize-namespace-wsdl2java-tp5662072p5675353.html
Sent from the cxf-user mailing list archive at Nabble.com.