Jon Freedman created OLINGO-885:
-----------------------------------

             Summary: pojogen-maven-plugin fails to generate model for .Net 
service
                 Key: OLINGO-885
                 URL: https://issues.apache.org/jira/browse/OLINGO-885
             Project: Olingo
          Issue Type: Bug
          Components: odata4-ext
    Affects Versions: (Java) V4 4.1.0
            Reporter: Jon Freedman


Given the Thomson Reuters DataScope API is a production system I assume the 
OData metadata is valid however the pojogen-maven-plugin fails to parse some of 
the metadata documents.

See https://hosted.datascopeapi.reuters.com/RestApi/

Specifically:
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/$metadata
Caused by: org.apache.olingo.commons.api.edm.EdmException: Cannot find type 
with name: ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateType
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Users/$metadata
java.lang.IllegalStateException: File 
'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\users\ojc-plugin\thomsonreuters\dss\api\users\Users.java'
 already exists
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/$metadata
Caused by: org.apache.olingo.commons.api.edm.EdmException: Cannot find type 
with name: ThomsonReuters.Dss.Api.Content.InstrumentTypeGroup
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Jobs/$metadata
java.lang.IllegalStateException: File 
'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\jobs\ojc-plugin\thomsonreuters\dss\api\jobs\Jobs.java'
 already exists
* https://hosted.datascopeapi.reuters.com/RestApi/v1/AskTrps/$metadata
 org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: 
ThomsonReuters.Dss.Api.Content.InstrumentIdentifier



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to