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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:12:45+00:00 2026-05-12T17:12:45+00:00

Strange thing… I have a binding definition user-wrapper.xml: <binding> <include path=core-wrapper.xml /> <include path=user-composite-entity.xml

  • 0

Strange thing…

I have a binding definition user-wrapper.xml:

<binding>
    <include path="core-wrapper.xml" />
    <include path="user-composite-entity.xml" />

    <mapping name="users" class="UserWrapper" extends="CoreWrapper">
        <structure map-as="CoreWrapper" usage="optional" />
        <collection field="users" usage="optional" item-type="UserCompositeEntity">

        </collection>
    </mapping>
</binding>

Next I have this binding definition user-composite-entity.xml (included in upper file):

<binding>
    <include path="core-composite-entity.xml" />
    <include path="user-entity.xml" />

    <mapping name="user" class="UserCompositeEntity" extends="CoreCompositeEntity">
        <structure map-as="CoreCompositeEntity" />
        <structure field="userEntity" usage="optional" />
        <structure field="meta" marshaller="UserMetaHashMapper" unmarshaller="UserMetaHashMapper" usage="optional" />       
    </mapping>
</binding>

Now, if I call REST which uses binding user-wrapper.xml, mapping goes successfully through. If I call REST which uses binding user-composite-entity.xml I get the next error:

org.jibx.runtime.JiBXException: Multiple bindings defined for class UserCompositeEntity

Now the strange thing (for me). If I remove from user-wrapper.xml <include path="user-composite-entity.xml" /> goes a like this:
– call with user-composite-entity.xml is a succes,
– call with user-wrapper.xml I get the error:

org.jibx.runtime.JiBXException: No marshaller defined for class UserCompositeEntity
  • 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-12T17:12:45+00:00Added an answer on May 12, 2026 at 5:12 pm

    How it works now: I don’t have user-wrapper.xml anymore and user-composite-entity.xml looks like that:

    <binding>
     <include path="core-wrapper.xml" />
     <include path="core-composite-entity.xml" />
     <include path="user-entity.xml" />
    
     <mapping name="users" class="UserWrapper" extends="CoreWrapper">
      <structure map-as="CoreWrapper" usage="optional" />
      <collection field="users" usage="optional" >   
      </collection>
     </mapping>
    
     <mapping name="user" class="UserCompositeEntity" extends="CoreCompositeEntity">
      <structure map-as="CoreCompositeEntity" />
      <structure field="userEntity" usage="optional" />
      <structure field="meta" marshaller="UserMetaHashMapper" unmarshaller="UserMetaHashMapper" usage="optional" />  
     </mapping>
    </binding>
    

    The problem was, because before I in user-wrapper.xml included user-composite-entity.xml and JiBX compiled it again (for user-wrapper.xml). That’s why there were multiple binding definitions…

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

Sidebar

Related Questions

I found strange thing. For example I have Order and Item entity. Item is
I have a kind of strange thing that I really nead for my text
during my debug sessions I found a strange thing occurring. I have an EditText
I found a very interesting/strange thing about MAX() function in SQL. I have column
CSS newbie here. Strange thing is happening, I have gaps between links, and I
Noticed a strange thing today. I have some code like this in a project
I have noticed a strange thing that happens on my web app when the
A very strange thing, I have an array where element 7 is '[1000137d]' ,
Strange thing is happing with my .NET MVC deployment. I have tested my application
I have an FBML app and a strange thing keeps happening. If I go

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.