olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OLINGO-1177) NonRepeatableRequestException on PATCH to NTLM protected oDAta service in MS Dynamics
Date Fri, 08 Sep 2017 19:54:00 GMT

     [ https://issues.apache.org/jira/browse/OLINGO-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stephane updated OLINGO-1177:
-----------------------------
    Description: 
Sending a patch request, authenticating with NTLM... request fails with exception below:


{code:java}
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)
{code}


GET request is successful...

  was:
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...


> 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:
> {code:java}
> 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)
> {code}
> GET request is successful...



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

Mime
View raw message