Hello,
was somebody able to
use the Java2WSDL and specifing a
package to
namespace argument? whatever I do I get the following
error:
[java] Java2WSDL
emitter
[java] Error: Unable to parse first argument for option -p
[java] Usage: java org.apache.axis.wsdl.Java2WSDL [options] class-of-portType
[java] Options:
[java] Error: Unable to parse first argument for option -p
[java] Usage: java org.apache.axis.wsdl.Java2WSDL [options] class-of-portType
[java] Options:
as soon as I omit
the parameter everything works fine (except that my packages get
not
mapped to the
namespaces).
I call java2WSDL the
following (running under windows2000, using nighlybuild from 20020217
xml-axis)
java2wsdl:
d:\jdk1.3.1_01\jre\..\bin\java.exe -classpath D:\src\ValoresKurse\QuoteServer\deploy;D:\src\ValoresKurse\QuoteServer\WEB
-INF\classes;D:\src\ValoresKurse\QuoteServer\lib\axis.jar;D:\src\ValoresKurse\QuoteServer\lib\bcel.jar;D:\src\ValoresKurse\QuoteServer\lib\c
astor-0.9.3.9.jar;D:\src\ValoresKurse\QuoteServer\lib\clutil.jar;D:\src\ValoresKurse\QuoteServer\lib\log4j-20020217.jar;D:\src\ValoresKurse\
QuoteServer\lib\log4j-core.jar;D:\src\ValoresKurse\QuoteServer\lib\mddl.jar;D:\src\ValoresKurse\QuoteServer\lib\wsdl4j.jar;D:\src\ValoresKur
se\QuoteServer\lib\xerces.jar;D:\tools\xml-axis\lib\axis.jar;D:\tools\xml-axis\lib\bcel.jar;D:\tools\xml-axis\lib\clutil.jar;D:\tools\xml-ax
is\lib\log4j-20020217.jar;D:\tools\xml-axis\lib\wsdl4j.jar org.apache.axis.wsdl.Java2WSDL -o deploy\quoteservebyjava2wsdl.wsdl -lhttp://loca
lhost:8080/axis/services/QuoteServer -n urn:ecofin.quoteserver -p com.ecofin.vk.beans=urn:ecofin.quoteserver.types -i com.ecofin.vk.quoteser
ver.QuoteServerSoapBindingImpl com.ecofin.vk.quoteserver.QuoteServer
d:\jdk1.3.1_01\jre\..\bin\java.exe -classpath D:\src\ValoresKurse\QuoteServer\deploy;D:\src\ValoresKurse\QuoteServer\WEB
-INF\classes;D:\src\ValoresKurse\QuoteServer\lib\axis.jar;D:\src\ValoresKurse\QuoteServer\lib\bcel.jar;D:\src\ValoresKurse\QuoteServer\lib\c
astor-0.9.3.9.jar;D:\src\ValoresKurse\QuoteServer\lib\clutil.jar;D:\src\ValoresKurse\QuoteServer\lib\log4j-20020217.jar;D:\src\ValoresKurse\
QuoteServer\lib\log4j-core.jar;D:\src\ValoresKurse\QuoteServer\lib\mddl.jar;D:\src\ValoresKurse\QuoteServer\lib\wsdl4j.jar;D:\src\ValoresKur
se\QuoteServer\lib\xerces.jar;D:\tools\xml-axis\lib\axis.jar;D:\tools\xml-axis\lib\bcel.jar;D:\tools\xml-axis\lib\clutil.jar;D:\tools\xml-ax
is\lib\log4j-20020217.jar;D:\tools\xml-axis\lib\wsdl4j.jar org.apache.axis.wsdl.Java2WSDL -o deploy\quoteservebyjava2wsdl.wsdl -lhttp://loca
lhost:8080/axis/services/QuoteServer -n urn:ecofin.quoteserver -p com.ecofin.vk.beans=urn:ecofin.quoteserver.types -i com.ecofin.vk.quoteser
ver.QuoteServerSoapBindingImpl com.ecofin.vk.quoteserver.QuoteServer
Java2WSDL
emitter
Error: Unable to parse first argument for option -p
Usage: java org.apache.axis.wsdl.Java2WSDL [options] class-of-portType
Options:
Error: Unable to parse first argument for option -p
Usage: java org.apache.axis.wsdl.Java2WSDL [options] class-of-portType
Options:
Any help or hints
greatly appreciated!
Best,
Oliver
NEU:
NZZ finfox, personal finance, die finanz- und
vermögensplanung für private
http://finfox.nzz.ch
ECOFIN Research and Consulting
AG
Neumuensterallee 6
CH-8032 Zuerich
+41 1 389 65 29
[EMAIL PROTECTED]
www.ecofin.ch