axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Rathnayake <writetoam...@yahoo.com>
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";}
Hi,

 

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[mailto:HAWKINSJ@uk.ibm.com] 
Sent: Tuesday, May 18, 2004 9:01PM
To: Apache AXIS C Developers List
Subject: RE: unable to run WSDL2WStool............

 

hi


    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\wsdl2ws.jar....is 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 =
 1
 Exception in thread "main" java.lang.NoClassDefFoundError:org/w3c/dom/Node
         atorg.apache.axis.wsdl.gen.Parser.run(Parser.java:204)
         atorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(WSDL2Ws.java:97)
         atorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:644)



 


regards


raj


 


 

---------------------------------



From: SamisaAbeysinghe [mailto:samisa_abeysinghe@yahoo.com]
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
your
system.

Samisa...

--- vsripada <vsripada@csnet.cs.odu.edu> wrote:
> hi
>     i'm trying to deploy my own webservice using thegiven calculator.wsdl .........as
> instructed i've set the class paths of all the jar files.....in theinstructions it is
given
> 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 org.apache.axis.wsdl.gen.Parser.run(Parser.java:204)
>         atorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(WSDL2Ws.java:97)
>         atorg.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:644)
>
> 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.
http://promo.yahoo.com/sbc/



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