Either,
1) Create your own front-end similar to Java2WSDL or
2) Call the Java2WSDL:main method and pass in your options.
The emitters are very new, and more options are continuously added. Using
Java2WSDL:main (though not pretty) will give you less grief as new options
are added.
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Barbara Noble
<[EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
om> cc:
Subject: [AXIS] calling java2wsdl from
java
02/26/2002 03:59
PM
Please respond to
axis-user
Hello,
I am trying out Axis, and am having some trouble with the java2wsdl tool.
I
would like to call the tool from a java class. I am confused about a
couple
of things. Rather than call the main method from the tool, I am calling
the
Emitter. I have read what was said about earlier posts - about setting up
a
class similar to the java2wsdl class that sets the information needed. I
*thought* I had done that (of course, I probably have not) but it didn't
work correctly.
So, here is my question. Could someone please either show an example of
calling java2wsdl (or conversely wsdl2java) from a java class rather than
the command line OR give some better instructions as to what is needed to
do
this?
Thanks in advance,
Barbara N.