cancel
Showing results for 
Search instead for 
Did you mean: 

Ticket not exists while Doing Create Operation in GW Client

former_member206574
Active Participant
0 Kudos

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.


Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

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

former_member206574
Active Participant
0 Kudos

Hi Krishna,

Thanks for the reply.

Read after Create for the method GET_Entity the input parameters passed is wrong. In Debugging i find that and rectified. Now it is working fine.

Regards,

Venu

Answers (0)