Odd but understandable request (it's much easier to read a file if the ns's are human-readable). If you're using wsdl2java, you probably already have a wsdl, so you can use that! You can simply go into your META-INF/services.xml and set useOriginalwsdl to true (note the odd capitlization). Make sure that whatever wsdl you are using for deployment is named the same as the .aar file (or maybe that should be - make sure your .aar file has the same name as the wsdl). Also make sure to put the WSDL and any related XSDs in the META-INF folder.
Charles Koppelman DrFirst.com On Fri, Aug 28, 2009 at 2:20 PM, Hegerich, Robert L, JR (Bob) < [email protected]> wrote: > Is there a way to invoke wsdl2java so that instead of the default namespace > prefixes (ns1, ns2, etc.) you can specify the namespace prefix for a > namespace? We're replacing a gSOAP server with Apache Axis (2.1.3) and the > client insists that the namespace prefixes be kept the same for some unknown > reason. > > I see the Qname() constructor does allow for prefix selection but nothing > in command line seems to invoke it. Perhaps something in -E? > > K.R. > Bob H.=
