I've attached some batch files that I keep in a directory in my path. The genjava.bat is what you want. FYI, the command line eventually looks like:
C:\>java org.apache.axis.wsdl.WSDL2Java --verbose --server-side --fileNStoPkg D:\SS\transformation_server\dev\jstub\WebService\NStoPkg.properties --output D:\SS\transformation_server\dev\jstub\WebService\src D:\SS\transformation_server\dev\jstub\WebService\transerv_simple.wsdl The attached NStoPkg.properties file looks like: http\://qa.chidev.net/transformation_server/server/0/1/=samurai.ws Remember, you have to escape the ":" in the properties file. First I run axisenv, then genjava. HTH. cheers, Simon -----Original Message----- From: robert woodley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 6:58 PM To: [EMAIL PROTECTED] Subject: RE: Java2WSDL parameter p specification example? To recap: Java2WSDL takes a -p parameter that allows you to map namespaces to package names. Can anyone send me a complete example of a Java2WSDL command line that has worked for them on Windows? I've tried every permutation that I can imagine including using -PkgtoNS and still no luck. sometimes there are no errors, but I don't get my new namespace in the WSDL. Greatly appreciated, thanks. Bob Woodley __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/
<<attachment: XMLEnv.bat>>
<<attachment: genjava.bat>>
<<attachment: WSDL2Java.bat>>
<<attachment: axisenv.bat>>
NStoPkg.properties
Description: NStoPkg.properties