This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes Axis2-1.5 - Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
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