Thanks. Worked like a charm. Now I'd like to know if there's a way to get
Java2WSDL to name arguments differently than in1,in2,...inn. Do most people
just take the generated WSDL and then just change it, or...? It'd be nice if
it could be made to take a cue from the names in the class name it's
generating the WSDL from.


TIA,

Sean

-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 9:58 AM
To: [EMAIL PROTECTED]
Subject: Re: Java2WSDL and DocumentRange


http://java.sun.com/j2se/1.4/docs/guide/standards/index.html

--- Sean Leblanc <[EMAIL PROTECTED]> wrote:
> I cannot get Java2WSDL to run. Here's my command line:
> 
> C:\j2sdk1.4.1_02\jre\bin\java.exe -classpath 
> C:\cvs\ACRADRSS\build;C:\xmllibs\xml-apis.jar;C:\xmllibs\xmlParserAPIs
> .jar
> org.apache.axis.wsdl.Java2WSDL -oexpress.wsdl
> -llocalhost/axis/services/MyService -nurn:express -pcom urn:express
> com.MyService
> 
> Even though I can open up the jars I'm specifying on the command line 
> and see the org/w3c/dom/ranges/DocumentRange class, I get this error. 
> Any help appreciated.
> 
> java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown
Source)
>         at 
> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(U
> nknown
> Source)
>         at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:290)
>         at
>
org.apache.axis.wsdl.fromJava.Types.createDocumentFragment(Types.java:1024)
>         at org.apache.axis.wsdl.fromJava.Types.<init>(Types.java:138)
>         at
> org.apache.axis.wsdl.fromJava.Emitter.createTypes(Emitter.java:537)
>         at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:329)
>         at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:235)
>         at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:289)
>         at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:458)
>         at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:497)
> This e-mail, including attachments, is intended for the person(s) or
company
> named and may contain confidential and/or legally privileged information.
> Unauthorized disclosure, copying or use of this information may be
unlawful
> and is prohibited. If you are not the intended recipient, please delete
this
> message and notify the sender.


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
This e-mail, including attachments, is intended for the person(s) or company
named and may contain confidential and/or legally privileged information.
Unauthorized disclosure, copying or use of this information may be unlawful
and is prohibited. If you are not the intended recipient, please delete this
message and notify the sender.

Reply via email to