jakartaee / jakartaee/jaxb-api

xjc can't handle the restriction complext type

Open
#247 8 comments 0 reactions 1 assignee View on GitHub

@glassfishrobot is already working on this.

Since Sep 21, 2018.

bug Major
Dominant language
Java
Stars
79
Forks
48
Avg merge
7h 12m
Merged PRs (30d)
2

Description

Hi,

We are Celtix team[1], and we are using JAXB 2.0 EA3.
But with the attached testcase, we have the following errors throwed from
JAXB RI.

[java] Parsing schema error:
[java] org.xml.sax.SAXParseException: Base complex type "RestrictedCard" is
derived by restriction, while this complex type "
ard" is derived by extension. This is not currently handled by XJC, but we are
seeking input on this issue. Please report this to
the JAXB team.
[java] Error : An rpc-literal binding in a DESCRIPTION MUST refer, in its
soapbind:body element(s), only to wsdl:part element
s) that have been defined using the type attribute.

[java] An rpc-literal binding in a DESCRIPTION MUST refer, in its
soapbind:body element(s), only to wsdl:part element(s) that
have been defined using the type attribute.

Any help will be appreciate.

[1] [http://celtix.objectweb.org/](http://celtix.objectweb.org/)

Thanks,
James.
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[2.0 EA1]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.