[
https://issues.apache.org/jira/browse/CAMEL-8469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354869#comment-14354869
]
Dhiraj Bokde commented on CAMEL-8469:
-------------------------------------
Its actually an issue in the enums generated by CXF WADLtoJava, so the jaxb
bindings have no effect. The solution is to move the enumerations to the schema
and reference them in the wadl. I'll take care of that.
> Several enum types should generate lower case values in camel-linkedin
> ----------------------------------------------------------------------
>
> Key: CAMEL-8469
> URL: https://issues.apache.org/jira/browse/CAMEL-8469
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.14.1
> Reporter: Tomas Rohovsky
> Assignee: Dhiraj Bokde
>
> Following parameters - types should generate values in lower case:
> - event_type - org.apache.camel.component.linkedin.api.Eventtype
> - category - org.apache.camel.component.linkedin.api.Category
> - order - org.apache.camel.component.linkedin.api.Order
> - role - org.apache.camel.component.linkedin.api.Role
> - postcategorycode -
> org.apache.camel.component.linkedin.api.model.PostCategoryCode
> Also notice that postcategory code should contain 'job' and 'promotion'
> values - https://developer-programs.linkedin.com/documents/groups-api.
> I've tried to fix that with adding of
> {code}
> <bindings node="//xs:simpleType[@name='event-type']">
> <typesafeEnumClass name="EventType" />
> </bindings>
> {code}
> to linkedin-api-schema.xjb as well as appropriate simpleType to
> linkedin-api-schema.xsd, but it was without success. I still got:
> {code}
> Error invoking getCompanyUpdates: Invalid filter {STATUS_UPDATE}
> {code}
> Names of enum values are used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)