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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:39:33+00:00 2026-05-24T21:39:33+00:00

I have ordinary Microsoft webservice and normal CXF of latest version with Java/JDK 1.6,

  • 0

I have ordinary Microsoft webservice and normal CXF of latest version with Java/JDK 1.6, Eclipse etc. When I am running wsdl2java, the JAXB part throws an error
"Thrown by JAXB: undefined element declaration ‘s:schema’ "

The part of WSDL which causes it looks like:

<s:element name="GetDepartmentsResponse">
 <s:complexType>
  <s:sequence>
   <s:element minOccurs="0" maxOccurs="1" name="GetDepartmentsResult">
    <s:complexType>
     <s:sequence>
      <s:element ref="s:schema" /> 
      <s:any /> 
     </s:sequence>
    </s:complexType>
   </s:element>
  </s:sequence>
 </s:complexType>
</s:element>

Can I simply remove
<s:element ref="s:schema" /> everywhere and keep <s:any/> ? It looks like common obstacle for Java<->Microsoft webservices interoperability. But I can not find any workaround for CXF.

  • 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-24T21:39:34+00:00Added an answer on May 24, 2026 at 9:39 pm

    Usually you can remove the schema ref. You may need to change the <s:any> to <s:any maxOccurs="2"> or similar to make sure there is room for both the schema element and anything that follows it.

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

Sidebar

Related Questions

Say I have an ordinary table in my db like so ---------------------------- | id
Suppose I have a weak reference to a car which has an ordinary (strong)
I have a simple Google App Engine app, that I wrote using ordinary strings.
I have a WPF window, which contains a button called Cancel. Under ordinary circumstances
I'm new to using CURL, but I have successfully got it to submit ordinary
i have web form running in asp.net & c#.net, The form has a devexpress
Let's say I have ordinary *Type class: class LocationType extends AbstractType { /** *
I have an ordinary Label and want to make it half-transparent. How to do
I have an ordinary HTML table: <table> <tr> <td class=first-column-style>FAT</td> <td>...</td> </tr> <tr> <td
I have a ordinary UITableViewController inside a UINavigationController. The former includes a searchbar which

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.