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 6947253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:40:13+00:00 2026-05-27T13:40:13+00:00

I have built a CXF+Spring Web service using Eclipse running on Tomcat7. The web

  • 0

I have built a CXF+Spring Web service using Eclipse running on Tomcat7. The web service works except that it does not create a complex type from one of my classes.

My Eclipse project is called: “ws-server”. In the buildpath I have added API-A, API-A-Impl and API-B.

The buildpath is correct. All libraries are deploying as they should. The wsdl is created but there is no complex types from API-B they (only one class, Page, in API-B).

In the wsdl the Page class is defined like this in other complex types.

<xs:complexType name="getAllMeasuremenetObjectsByPage">
    <xs:sequence>
        <xs:element minOccurs="0" name="page"/>
        <xs:element minOccurs="0" name="orderBy" type="xs:string"/>
        <xs:element minOccurs="0" name="orderDirection" type="tns:orderDirection"/>
    </xs:sequence>
</xs:complexType>

I’m not sure where to start looking. It feels like there is something with CXF. I don’t think there is anything wrong with the Eclipse project configuration. All other methods in the web service that does not have the “page” argument works.

  • 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-05-27T13:40:14+00:00Added an answer on May 27, 2026 at 1:40 pm

    Solution!

    CXF Does not generate complex type from java objects that does not have a constructor without arguments.

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

Sidebar

Related Questions

I have set up a CXF web service which works well. My service primarily
I have a Spring Security (form based authentication) web app running CXF JAX-RS webservices
We have built some REST (jax-rs) web services using Apache CXF. They return a
We have to create a web service client using Apache CXF in Java. The
I have built a web page which contains a Crystal Report built using the
I have built a library that dumps most of its debug text using Console.WriteLine();
I have a Silverlight client that I need to call a web service. The
I have built a component library that includes an executive class which does work
I have built a one page web application that manipulates a set of data:
I have built an android app, but it does not seem stable. It is

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.