You should write

-p com.ecofin.vk.beans urn:ecofin.quoteserver.types

instead of

-p com.ecofin.vk.beans=urn:ecofin.quoteserver.types

Regards.

-------------------------------------- 
Ramon Turnes Perez 
HERMES SoftLab, Litijska 47 
1000 Ljubljana, SLOVENIA 
Phone: +386 1 5865 638 
Fax:     +386 1 5865 270 
E-mail: [EMAIL PROTECTED] 
www.hermes-softlab.com 
-------------------------------------- 
-----Original Message-----
From: Egger Oliver [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 3:33 PM
To: [EMAIL PROTECTED]
Subject: Java2WSDL parameter p specification example?


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:

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\ValoresKurs
e\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\Valo
resKurse\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-ax
is\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:

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

Reply via email to