I am using the delivered flight model for a simple CRUD application creating a travel agency
The Read, Updates and Deletes are working perfectly. with the following URL's
http://usphlvm2248.phl.sap.corp:55080/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/TravelagencyCollection('00000055')/
However I am having problems with the Create. After reading the documentation, it suggests that one would simply read a record and then use that as the request.
<?xml version="1.0" encoding="utf-8" ?>
</m:properties>
</content>
</entry>
When I do this and change some of the data,ans submit a post I am getting the following error.
II am using the URL
http://usphlvm2248.phl.sap.corp:55080/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/TravelagencyCollection
Which may be wrong.. I am a novice, so please be gentle I have attached the metadata too...
Thanks!!!!!!