Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

Problem with run WSDL2Ws tool(Axis C++1.6b)

Thread view: 
oi - 09 Aug 2007 12:09 GMT
Hi!!
Hi !!!

Thanks for your answer on my previous question.

I have new problem with WSDL2Ws tool.

When I run my exec.bat whit follow text in console:

java -classpath -jar D:\Axis\axis-c-1.6b-Win32-trace-bin\lib\axis
\wsdl2ws.jar;D:\Axis\axis-c-1.6b-Win32-trace-bin\lib\axisjava
\axis.jar;D:\Axis\axis-c-1.6b-Win32-trace-bin\lib\axisjava\commons-
discovery.jar;D:\Axis\axis-c-1.6b-Win32-trace-bin\lib\axisjava\commons-
logging.jar;D:\Axis\axis-c-1.6b-Win32-trace-bin\lib\axisjava
\jaxrpc.jar;D:\Axis\axis-c-1.6b-Win32-trace-bin\lib\axisjava
\saaj.jar;D:\Axis\axis-c-1.6b-Win32-trace-bin\lib\axisjava
\wsdl4j.jarorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws
D:\Axis\axis-c-1.6b-Win32-trace-bin\deploy\wsdls\Service1.wsdl -
sclient -oD:/Axis

I have follow exception:
 Exception in thread "main" java.lang.NoClassDefFoundError:
D:\Axis\axis-c-1/6b-Win32-trace-bin\lib\axis\wsdl2ws/jar;D:\Axis\axis-
c-1/6b-Win32-trace-bin\lib\axisjava\axis/jar;D:\Axis\axis-c-1/6b-Win32-
trace-bin\lib\axisjava\commons-discovery/jar;D:\Axis\axis-c-1/6b-Win32-
trace-bin\lib\axisjava\commons-logging/jar;D:\Axis\axis-c-1/6b-Win32-
trace-bin\lib\axisjava\jaxrpc/jar;D:\Axis\axis-c-1/6b-Win32-trace-bin
\lib\axisjava\saaj/jar;D:\Axis\axis-c-1/6b-Win32-trace-bin\lib\axisjava
\wsdl4j/jar

Why this tool not run ! All file path correct, I checked this.
(And why instead point "." this-"/" e.g.wsdl2ws.jar - wsdl2ws/jar)
After runing, WSDL2Ws must generate client stubs.
This example on http://ws.apache.org/axis/cpp/arch/End-2-End-Sample.html#CreatingClientSideCode

Thanks.
Lew - 09 Aug 2007 13:47 GMT
> Hi!!
> Hi !!!
[quoted text clipped - 30 lines]
> After runing, WSDL2Ws must generate client stubs.
> This example on http://ws.apache.org/axis/cpp/arch/End-2-End-Sample.html#CreatingClientSideCode

You used the "-classpath" option to the "java" command but followed it
immediately with a "-jar" option instead of the classpath.  The two options
don't go together, and you have to give the "-classpath" option an argument
indicating the classpath, which you didn't do.

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.