[teiid-issues] [JBoss JIRA] (TEIID-2997) 202 Accepted response for odata batch requests (while sending multiple POST xml requests)
Steven Hawkins (JIRA)
issues at jboss.org
Wed Jun 11 09:56:39 EDT 2014
[ https://issues.jboss.org/browse/TEIID-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-2997.
-----------------------------------
Resolution: Rejected
>From http://www.odata.org/documentation/odata-version-2-0/batch-processing/
"If the set of HTTP Request headers of a Batch request are valid (the Content-Type is set to multipart/mixed, etc.) the server returns a 202 Accepted HTTP response code to indicate that the request has been accepted for processing, but that the processing has not yet been completed."
202 is a valid response.
> 202 Accepted response for odata batch requests (while sending multiple POST xml requests)
> -----------------------------------------------------------------------------------------
>
> Key: TEIID-2997
> URL: https://issues.jboss.org/browse/TEIID-2997
> Project: Teiid
> Issue Type: Feature Request
> Components: OData
> Reporter: K Prashanthi
> Assignee: Steven Hawkins
>
> Hi,
> I am trying to send multiple xml inputs through odata batch in POSTMAN rest client. But i am getting 202 Accepted response and i do not see the data being reflected in the backend.
> URL- http://<host>:<port>/odata/<vdb>/<view>/$batch
> Headers:
> Content-Type:multipart/mixed
> boundary: batch
> Request Body:
> --batch
> POST /$batch HTTP/1.1
> Content-Type: multipart/mixed; boundary=changeset
> --changeset
> Content-Type: application/xml
> Content-Transfer-Encoding: binary
> POST
> Content-Type:application/xml
> Content-Length:1024
>
> XML INPUT-1
>
>
> --changeset
> Content-Type:application/xml
> Content-Transfer-Encoding: binary
> POST
> Content-Type:application/xml
> Content-Length:1024
> XMl Input-2
> --changeset--
> --batch--
> Please suggest.
> Thanks
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the teiid-issues
mailing list