• 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

Standalone Web Service Application with Java 5

 
Ranch Hand
Posts: 39
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I will have to develop a standalone webservice app with Java 5. Initially, i developed it with Java 6 but our company only uses Java 5 and so i just modified my Eclipse compilance settings to Java 1.5 and using Java5 - Jdk.

Here, comes the problem:
Ecipse is throwing an error saying that it was not able to resolve below packages
import javax.xml.ws.Endpoint,import javax.jws.WebService

But, I see that java 5 also supports Jax-Ws and it do has the above mentioned packages. But why does my eclipse is throwing errors ? Is this because .. i might be using older version with JDK 1.5 ?

I manually added above jars to my project build path, it removed the error but when i run the application ..it is throwing an exception saying different version in the .class file. I guess the jar files i added were implemented with Java 6. Can any one help me in getting those jar files that were build using Java 5 ?

If my approach isn't good ..please, suggest any other approaches. Remember, the importance here is i will have to develop standalone web service application.

Thanks in advance.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic