axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Dick <adrian.d...@uk.ibm.com>
Subject RE: urgent help needed
Date Mon, 24 May 2004 15:36:06 GMT




Hi, Raja,

Which version of Java are you using?
>From version 1.4, the minimum for using WSDL2Ws, Xerces is now built in -
so doesn't need to be added to the classpath.

I am using the same classpath as Susantha on Java 1.4.1 without problems.

Regards,
Adrian
_______________________________________
Adrian Dick (adrian.dick@uk.ibm.com)



                                                                           
             "Susantha Kumara"                                             
             <susantha@opensou                                             
             rce.lk>                                                    To 
                                       "'Apache AXIS C Developers List'"   
             24/05/2004 07:06          <axis-c-dev@ws.apache.org>          
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
              "Apache AXIS C           RE: urgent help needed              
             Developers List"                                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi raja,





xml-apis.jar or xerces.jar are not needed to run WSDL2Ws tool. See my
%classpath%





C:\>echo %classpath%


E:\Axis\axis-c-1-1\bin\wsdl2ws.jar;E:\Axis\axis-c-1-1\lib\axisjava\axis.jar;E:\Axis\axis-c-1-1\lib\axisjava\commons-discovery.jar;


E:\Axis\axis-c-1-1\lib\axisjava\commons-logging.jar;E:\Axis\axis-c-1-1\lib\axisjava\jaxrpc.jar;


E:\Axis\axis-c-1-1\lib\axisjava\saaj.jar;E:\Axis\axis-c-1-1\lib\axisjava\wsdl4j.jar;





Check your %classpath% and make sure you have these .jar s at the
beginning.





---


Susantha Kumara


Virtusa (pvt) Ltd.


Office : +94112714385


Mobile : +94777420453


-----Original Message-----
From: vsripada [mailto:vsripada@csnet.cs.odu.edu]
Sent: Wednesday, May 19, 2004 10:39 AM
To: axis-c-dev@ws.apache.org
Cc: axis-c-user@ws.apache.org
Subject: urgent help needed





hi





i'm grad student and i've been mailing in this group for some time in
configruing the WSDL2WS tool..... i need to write a web service so if it
get this tool started i can go ahead and write on.........but i'm unable to
figure out where i'm going wrong..........if anyone of u guyzz can spare
few mins for reading the problem and providing some help it wouls be great.





         i'm following all the instructions given there regarding class
path at http://ws.apache.org/axis/cpp/winuser-guide.html.....but i'm unable
to locate the  xml-apis.jar file in the axisjava folder in lib.





i've downloaded both  axis-c-win32-current-bin.zip  &
axis-c-src-win32-current-src.zip  available at
http://www.apache.org/dist/ws/axis-c/ but i was unable to see the
xml-apis.jar file in the both the things.





if it is not present does it mean there is no need to keep this file in
classpath ??????





when i try to run the WSDL2WS tool ........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./ServerOu
t -lc++ -sserver
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)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(WSDL2Ws.java:97)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:644)





i've posted this question already and in response to question i got 3
replies ...........one  reply(by eric) was a link pointing to similar type
of problem ..........
http://marc.theaimsgroup.com/?l=axis-c-user&m=108428957428211&w=2


i did follow the two procedures but i couldnt solve the
problem.............the other one was asking wether the xerces was in
path.......the answer it is yes....the xerces\bin is in my path .i'm able
to run the sample programs.....





the last was one was asking wether xerces.jar is in classpath or not
.........i'm unable to figure out the xerces.jar file........where is it
present........i dont see any kind of file with that name either in xerces
folder or axis folder...........





i'm writing all the response to my mail ......because i want to tell that
i've tried to solve using above methods but couldnt ........please let me
know where i'm going wrong..............is it the problem with the missing
xml-apis.jar


file ??? since many of guyzz are able to use the tool.........please help
me in getting the tool started..........





any kind of advice is appreciated..............





regards


raja







Mime
View raw message