axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Rathnayake <>
Subject RE: unable to run WSDL2WS tool............
Date Fri, 21 May 2004 07:25:42 GMT

v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}..shape
{behavior:url(#default#VML);}Re: unable to run WSDL2WS tool............       Clean  Clean
 DocumentEmail    MicrosoftInternetExplorer4  /* Style Definitions */  table.MsoNormalTable
{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;
mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin:0in;	mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;	font-size:10.0pt;	font-family:"Times New Roman";}


There is no instruction that wsdl2ws.jarfile should be in classpath in the documentation,
butit is included in the given command to generate your client stubs and serverskeletons.


You have given the following command ;

 C:\..\<WSDL2WS_FOLDER>Java -classpath %classpath%;.\wsdl2ws.jarorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws
Calculator.wsdl-o./ClientOut -lc++ -sclient


But here also you have added thewsdl2ws.jar file at the end of the existing class path by
giving    %classpath%;.\wsdl2ws.jar


So change this to following and try.


C:\ ..\<WSDL2WS_FOLDER>Java -classpath .\wsdl2ws.jar%classpath%org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
Calculator.wsdl-o./ClientOut -lc++ -sclient


Wsdl2ws.jar file should be in the <WSDL2WS_FOLDER>.



Yes, it#8217;s same jar file that you canfind in lib\axis\wsdl2ws.jar


Amila Rathnayake.



-----Original Message-----
From: vsripada[] 
Sent: Tuesday, May 18, 2004 9:01PM
To: Apache AXIS C Developers List
Subject: RE: unable to run WSDL2WStool............



    i trying to runthe axis c++ on windows ...according to windows installation i need expat
notxerces??...even then i have xerces in my classpath.


also you have told me that i need toput wsdl2ws.jar in my classpath before other jars.according
toinstallation instructions i need to copy( there is no instruction thatwsdl2ws.jar file should
be in classpath) the wsdl2ws.jar present in bin to my folder ...but i dont find any such file
there ?....i've copied thefile with same name in present in lib\axis\ it
the same file???


i've even placed the classpath ofwsdl2ws.jar in classpath before other .jar files .even then
i'm getting sameerror....where do u think the problem lies ?


 C:\Apache\axis-c-1-1-1-win32\lib\axis\WSDL2WS_FOLDER>Java-classpath %classpath%
 ;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl-o./ClientOu
 t -lc++ -sclient
 args =
 args =
 args =
 Exception in thread "main" java.lang.NoClassDefFoundError:org/w3c/dom/Node







From: SamisaAbeysinghe []
Sent: Mon 5/17/2004 9:49 PM
To: Apache AXIS C Developers List
Subject: Re: unable to run WSDL2WStool............

Do you have paser (Xerces) on your class path?
I got the feeling that the paser is missing.

Also, put wsdl2ws.jar before the other jars on your class path in case you haveAxis Java on


--- vsripada <> wrote:
> hi
>     i'm trying to deploy my own webservice using thegiven calculator.wsdl
> instructed i've set the class paths of all the jar theinstructions it is
> that
> Copy the file wsdl2ws.jar from AXIS_EXTRACT\bin to WSDL2WS_FOLDER.
> i dont see any wsdl2ws.jar file in AXIS_EXTRACT\bin folder............
> i've downloaded axis for the second time to make that i've downloadedfirst time
> correclty......even then i couldnt find the wsdl2ws.jar file inAXIS_EXTRACT\bin
> i've a wsdl2ws.jar file in AXIS_EXTRACT\lib\axis........
> can i use this jar file ???.......
> i tried by coping this wsdl2ws.jar file present inAXIS_EXTRACT\lib\axis........
> copied the Calculator.wsdl file into folder.....
> but when i given the following command as instructed.........
> Java -classpath %classpath%;.\wsdl2ws.jarorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl
> -o./ServerOut -lc++ -sserver
> i get the following error.......
> C:\Apache\axis-c-1-1-1-win32\lib\axis\WSDL2WS_FOLDER>Java -classpath%classpath%
> ;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl-o./ClientOu
> t -lc++ -sclient
> args =
> args =
> args =
> 1
> Exception in thread "main" java.lang.NoClassDefFoundError:org/w3c/dom/Node
>         at
>         atorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(
>         atorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(
> should i need give something inplace of  %classpath% ....i've alreadydefined a CLASSPATH
> variable which points to all the jar files in .....
> AXIS_EXTRACT\lib\axisjava............
> do i need to modify the above statement ???
> am i using the right statement invoking wsdl2ws tool..................
> regards,
> raj

Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.

Do you Yahoo!?
Yahoo! Domains - Claim yours for only $14.70/year
View raw message