[teiid-issues] [JBoss JIRA] (TEIID-2997) 202 Accepted response for odata batch requests (while sending multiple POST xml requests)

K Prashanthi (JIRA) issues at jboss.org
Wed Jun 11 09:15:48 EDT 2014


K Prashanthi created TEIID-2997:
-----------------------------------

             Summary: 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