Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8094151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:42:21+00:00 2026-06-05T20:42:21+00:00

Today I generated a webservice client with CXF 2.6.1 (latest version), using the tool

  • 0

Today I generated a webservice client with CXF 2.6.1 (latest version), using the tool wsdl2java provided. I want to compile the generated classes with Java 5 on Eclipse but it fails because of the following imports:

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

The CXF FAQ states that I can use it with Java 5. So I don’t understand why it wouldn’t compile in Eclipse.

I asked for a build.xml to be generated. When I run ant with that script, it works. The build.xml be found by downloading CXF 2.6.1 or inline as a template (easy to understand; the ant-target to use is build). From it, I deduced I needed to grab the following libraries, which I did and put in my eclipse project.

  • cxf-manifest.jar
  • geronimo-jaxws_2.2_spec-1.1.jar
  • jaxb-api-2.2.6.jar

So how can I get it compiling in Eclipse? What libraries, if any, am I missing?

Notes:

  • I have to use JDK5 to both compile and run.
  • My version of Eclipse is 3.7.
  • I have Java 6 installed, but my JAVA_HOME points well to my JDK5 instance. When I type set in a Windows command prompt, there is no reference to my Java 6 installation folder.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:42:22+00:00Added an answer on June 5, 2026 at 8:42 pm

    I don’t need to copy the CXF libraries, just to link them inside my project. That works, since cxf-manifest.jar is a jar file with nothing in it except for a classpath which in turn loads all the libraries of CXF.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was a bit staggered today by the sheer number of auto generated includes
There is a client/server application written using Boost's ASIO (Boost v.1.48) + OpenSSL (v.1.0.0d).
Im moving first steps today on GWT framework. I need to understand (using the
I'm learning C today. I've been coding in managed languages (Java, C#, Python, etc.)
I am using axis2 for my webservices. Today when i tried to use my
Today I was faced with the method constructServiceUrl() of the org.jasig.cas.client.util.CommonUtils class. I thought
I've just started using CXF 2.4 to expose some methods in an existing web
i've hit another brick wall today with jquery generated partialviews when located within areas.
I just installed XCode 4 today (using Apple mac app store), and I created
well today I want to learn how to grab multiple input type button value

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.