[
https://issues.apache.org/jira/browse/OLINGO-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191765#comment-14191765
]
Michael Bolz commented on OLINGO-474:
-------------------------------------
Hi [~Michele EnergySys],
I did not experienced this issue but the response generated from Olingo should
not contain any CR or CRLF (expect for BatchResults).
If their are line separations (e.g. for HTTP Headers) those depends on
Glassfish (or from Glassfish used REST/Web library).
Perhaps you can try to set the java system property {{line.separator="\r\n"}}
(see: [Java
Documentation|http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html]
and [Glassfish
documentation|http://docs.oracle.com/cd/E18930_01/html/821-2416/gepzd.html]).
Kind regards,
Michael
> Retrieving data feed in Visual Studio
> -------------------------------------
>
> Key: OLINGO-474
> URL: https://issues.apache.org/jira/browse/OLINGO-474
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 1.2.0, V2 2.0.0, V2 2.0.1
> Reporter: M Carissimi
> Assignee: Michael Bolz
>
> Hello,
> we have an OData v2 web service written with Olingo and deployed on a
> Glassfish domain. The web service works correctly and it is possible to
> retrieve data from it using a web browser, Microsoft Excel with Power Pivot
> and Microsoft Excel with Power Query, but we are unable to retrieve data from
> Visual Studio.
> In Visual Studio, using a Connection Manager configured for OData, it is
> possible to see the list of available Entity Types but every time we try to
> get a preview of the data or to download the data, Visual Studio hangs and it
> needs to be killed.
> Looking at the logs of the server running the OData service, we can see that
> the request for the feed of the selected Entity Type has been received and
> correctly returned, but Visual Studio does not like what it gets from the
> service.
> This is a service that is running with authentication disabled. The issue
> occurs whether we use HTTPS or HTTP, so it can't be linked to SSL versioning.
> There are two points to consider:
> - when the same procedure is followed with Fiddler enabled
> (www.telerik.com/fiddler), the issue disappear
> - when the same procedure is followed using the Northwind service
> (http://services.odata.org/V2/Northwind/Northwind.svc/) everything works
> without issues
> We suspect that the issue might be caused by the fact that our service runs
> on a Solaris machine and therefore only CR are sent back rather than CR+LF.
> We have tested the service using versions 1.2.0, 2.0.0 and 2.0.1-RC1 of the
> Olingo library, but the problem persists.
> Has anyone experienced the same issue?
> Has anyone managed to use an OData service built with Olingo with Visual
> Studio?
> Any help would be greatly appreciated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)