You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Stephane (JIRA)" <ji...@apache.org> on 2017/09/08 19:53:00 UTC

[jira] [Created] (OLINGO-1177) NonRepeatableRequestException on PATCH to NTLM protected oDAta service in MS Dynamics

Stephane created OLINGO-1177:
--------------------------------

             Summary: NonRepeatableRequestException on PATCH to NTLM protected oDAta service in MS Dynamics
                 Key: OLINGO-1177
                 URL: https://issues.apache.org/jira/browse/OLINGO-1177
             Project: Olingo
          Issue Type: Bug
          Components: odata4-client
         Environment: MS-Dynamics 2016; Spring Boot Java client
            Reporter: Stephane


Sending a patch request, authenticating with NTLM... request fails with exception below:
org.apache.olingo.client.api.http.HttpClientException: org.apache.http.client.ClientProtocolException
	at org.apache.olingo.client.core.communication.request.AbstractODataRequest.doExecute(AbstractODataRequest.java:303)
	at org.apache.olingo.client.core.communication.request.cud.ODataEntityUpdateRequestImpl.execute(ODataEntityUpdateRequestImpl.java:92)
	at org.apache.olingo.client.core.communication.request.cud.ODataEntityUpdateRequestImpl.execute(ODataEntityUpdateRequestImpl.java:48)
Caused by: org.apache.http.client.ClientProtocolException: null
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:839)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
	at org.apache.olingo.client.core.communication.request.AbstractODataRequest.doExecute(AbstractODataRequest.java:301)
	... 79 common frames omitted
Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry request with a non-repeatable request entity.
	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:662)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)

GET request is successful...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)