Hi All,
I was trying to implement create deep entity. And what I did was first did a get for the GET_EXPANDED_ENTITYSET and then used the same as a request. I exactly have one data in the header table and 2 data in the item table 1 and 1 data in the item table 2. So I just used the same to create one more. I am getting a 400 Bad request error. I hope atleast the breakpoint should stop then I can figure out the issue.
My questions?
1. Do we need to pass anything in the header name and value?
2. For doing an update in the deep entity which method should be used ?
Below is the XML that i got as a response from the GET_EXPANDED_ENTITYSET.
*********************
feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://ddadb038.ctr.globedev.ddc:8002/sap/opu/odata/GLB/9GT_GW_PR_MSP_PBCRA_SRV/">
</m:properties>
</content>
</entry>
</feed>
</m:inline>
</link>
</m:properties>
</content>
</entry>
</m:properties>
</content>
</entry>
</feed>
</m:inline>
</link>
</m:properties>
</content>
</entry>
</feed>
**********************************************************
Tags edited by: Jitendra Kansal
Tags edited by: Jitendra Kansal