After sending this message with attachments, I got a whole bunch of
auto-responses from various anti-virus scanners thinking they were
viruses. I apologize for being naive in sending batch files in a
message! I should have zipped it first. If you want the files and didn't
get them, send me a private email. They're nothing special though, so
don't get excited ... the information requested is encapsulated in the
reply message.
cheers,
Simon
-----Original Message-----
From: Simon McClenahan
Sent: Wednesday, March 13, 2002 10:07 AM
To: [EMAIL PROTECTED]
Subject: RE: Java2WSDL parameter p specification example?
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/