on 07-04-2014 2:40 PM
Hi ,
i am doing post operation in gw client. while Execute i am getting error as "Ticket does not exists" for post operation.. But the data gets created in Backend. STatus code is 500 internal server.
here my Query
/sap/opu/odata/sap/ZVIC_USABILITY_SRV/VICREQUESTSet
Payload:
<?xml version="1.0" encoding="utf-8"?>
<entry xml:base="http://<host>:<port>/sap/opu/odata/sap/ZVIC_USABILITY_SRV/" 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">
<id>http://<host>:<port>/sap/opu/odata/sap/ZVIC_USABILITY_SRV/VICREQUESTSet</id>
<title type="text">VICREQUESTSet</title>
<updated>2014-07-04T10:52:54Z</updated>
<category term="ZVIC_USABILITY_SRV.VICREQUEST" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="VICREQUESTSet" rel="edit" title="VICREQUEST"/>
<content type="application/xml">
<m:properties>
<d:Guid></d:Guid>
<d:ObjectId></d:ObjectId>
<d:ProcessDescription>GW PROCESS TESTING DEScription</d:ProcessDescription>
<d:LongText>GW LONG Text dey</d:LongText>
<d:Category>ZF01</d:Category>
<d:LastChangedBy/>
<d:Statcode/>
<d:StatusDescription/>
<d:Language/>
<d:ChangeDay></d:ChangeDay>
<d:ChangeTime/>
<d:Createdon></d:Createdon>
<d:Createdby></d:Createdby>
<d:Priority>3</d:Priority>
<d:VodafoneEntity>4000000064</d:VodafoneEntity>
<d:AttachmentFlag/>
<d:Stat/>
<d:Changedon/>
<d:FileName/>
<d:FileSize>0</d:FileSize>
<d:FileMimetype/>
<d:FileContent/>
<d:DocId/>
<d:DocUrl/>
<d:UserID/>
<d:VendorID/>
</m:properties>
</content>
</entry>
Here is the post operation data is getting reflected in backend, and able to retrieve in get list.
Venu,
This is an error raised by your application. So you might need to debug your application.
My hunch is that this is getting triggered from the GET_ENTITY method. After a 'CREATE' it might be trying to read the entry which just got created to show it to the client.
So you may put the breakpoint in CREATE_ENTITY as well as GET_ENTITY and check.
regards
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.