The java interface com.agile.api.IItem cannot be mapped by JAXB as it has multiple mappable parent interfaces. Multiple inheritence is not supported – webservice in 936

Hi All,

I have deployed a webservice in extension of Agile 936 version. When I am trying to invoke it. It is giving the below error.

any help is really appreciated. Thanks in advance.

Caused by: javax.xml.bind.JAXBException:
Exception Description: The java interface com.agile.api.IItem cannot be mapped by JAXB as it has multiple mappable parent interfaces. Multiple inheritence is not supported
 – with linked exception:
[Exception [EclipseLink-50089] (Eclipse Persistence Services – 2.6.3.v20160526-8f41838): org.eclipse.persistence.exceptions.JAXBException
Exception Description: The java interface com.agile.api.IItem cannot be mapped by JAXB as it has multiple mappable parent interfaces. Multiple inheritence is not supported]
        at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:1127)
        at org.eclipse.persistence.jaxb.JAXBContext.<init>(JAXBContext.java:192)
        at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:165)
        at com.sun.xml.ws.db.toplink.JAXBContextFactory.newContext(JAXBContextFactory.java:186)

Regards,
Karthik P

Add Comment
2 Answer(s)

Did we get any closure on this?  If you have solved this please elaborate here on the solution for future reference.

Agile Angel Answered on November 16, 2017.
Add Comment

Hi,

Yes solved with workaround. Instead using IItem object, Used IDataObject then it worked. Thank you!

Agile User Answered on November 17, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.