highsource / highsource/ogc-schemas
Error when marshaling wps LiteralValue
- Dominant language
- JavaScript
- Stars
- 84
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
Getting this error when marshaling WPS 2.0 LiteralValue objects:
> Instance of "net.opengis.wps.v_2_0.LiteralValue" is substituting "net.opengis.ows.v_2_0.ValueType", but "net.opengis.wps.v_2_0.LiteralValue" is bound to an anonymous type.. Instance of "net.opengis.wps.v_2_0.LiteralValue" is substituting "net.opengis.ows.v_2_0.ValueType", but "net.opengis.wps.v_2_0.LiteralValue" is bound to an anonymous type..
Looking at the generated code for LiteralValue it has a @XmlType(name = "") which is causing the issue and seems to be coming from the nested complexType.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the generated WPS 2.0 LiteralValue class and the source schema's nested complexType. Reproduce marshaling of a LiteralValue and trace how its anonymous @XmlType binding is generated. Done means the object marshals without the reported substitution error and the generated binding is corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100