Meenakshi Sriram

Greenhorn
+ Follow
since Nov 30, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Meenakshi Sriram

Hi Dittmer,

Thanks for the reply, now I figured out the falut in my classpath (i had mispelled one of the jar files, anyway I have used . in my classpath)THanks for yout time, but now I get a different error.
error is - The <class-of-portType> was not specified.
I am not able to figure out what it means. Tried searching in google but no clues. Can you tell me what this error is about.

Thanks
Meena
17 years ago
Hi,
I am stuck in the first step itself. Sorry, I could not reply to your solution, but I hope you can give me solution for the below question.
I developed a webservice and deployed it using admin client and deploy.wsdd file.It got deployed fine and then I tested it, thorugh a webclient and it worked fine.(i used call and service classes of org.apache.axis.client to call the webservice)
Now I am trying to use the java2wsdl of axis to create a wsdl file and then further wsdl2java to create stub so that I can create a real simple webclient.
I wen to directory
axis-home/web-inf/classes/com
and typed the command given below.

java org.apache.axis.wsdl.Java2WSDL -o dvd.wsdl -l"http://localhost:80/axix/services/DVDSe
rvice -n "urn vdservice" -p"com" "urn vdservice"com.DVDService



when I typed this I get the follwoing error,

Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions
/ExtensibilityElement
at org.apache.axis.wsdl.Java2WSDL.createEmitter(Java2WSDL.java:279)
at org.apache.axis.wsdl.Java2WSDL.<init>(Java2WSDL.java:270)
at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:680
Thanks
Meena
17 years ago
Hi all,

I am new to this forum. I am in the beginning stage of tsudying servlets. O downloaded tomcat apache 5.0 and installed properly. (I was not able to starup the server and when i added java_home environment variable it started properly).
The whole problem is I am not able to compile my servlets. I have set my CLASSPATH and JAVA_HOME environment variable in the system properties of windows XP.
CLASSPATH = .;c:\program files\apache...\tomcat 5.0\common\servlet-api.jar
JAVA_HOME = C:\program files\java\j2sdk1.4.2_10
I am trying to compile my file HelloWorld.java in the dos prompt
c:\program files\apache...\tomcat 5.0\webapps\jspbook\WEB-INF\classes\com.\.\HelloWorld.Java
I am not able to figure out where I going wrong can anyone please help me.
Any type of advice is welcome.Thanks in advance
18 years ago