This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Axis2-1.5 - Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Axis2-1.5 - Issue" Watch "Axis2-1.5 - Issue" New topic
Author

Axis2-1.5 - Issue

uma Mohan
Greenhorn

Joined: Aug 24, 2009
Posts: 1
Hi,

I'm new to axis.

I compiling java files. Aim is to create web service using Axis2-1.5

Included all the jar files in the class path. But still not able to resolve this error.

Can you please help me in indentifying the required jar for this?

Thanks and Regards,
Priya

Error Message
=============

C:\egold-ws\src>javac -cp %CLASSPATH% com/hp/rmssd/webservice/media_ws/*.java
com/hp/rmssd/webservice/media_ws/MediaDetail.java:12: package org.apache.axis2.context does not exist
import org.apache.axis2.context.MessageContext;
^
com/hp/rmssd/webservice/media_ws/MediaDetail.java:13: package org.apache.axis2.transport.http does not exist
import org.apache.axis2.transport.http.HTTPConstants;
^
com/hp/rmssd/webservice/media_ws/MediaDetail.java:55: cannot find symbol
symbol : variable HTTPConstants
location: class com.hp.rmssd.webservice.media_ws.MediaDetail
ServletContext servletcontext = ((HttpServlet)MessageContext.getCurrentMessageContext().getPrope
rty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext();

^
com/hp/rmssd/webservice/media_ws/MediaDetail.java:55: cannot find symbol
symbol : variable MessageContext
location: class com.hp.rmssd.webservice.media_ws.MediaDetail
ServletContext servletcontext = ((HttpServlet)MessageContext.getCurrentMessageContext().getPrope
rty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis2-1.5 - Issue
 
Similar Threads
problem in compiling servlet
problem in Compiling servlets
Command line arguments
package org.apache.struts.action does not exists
Javac cannot find servlet package