• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Axis2-1.5 - Issue

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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();
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic