• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis2-1.5 - Issue

 
uma Mohan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic