on 12-09-2014 9:27 AM
Hi All,
I am using a gateway service to send data from Outlook to SAP. When I send lesser records say upto 100 records
everything works fine.
When I pass more than 100 records the control does not pass to Data provider Class .
Payload Trace is attached.
It does not look like a performance issue in the service as the POST method is not called .
Any help is appreciated.
Thanks,
Ira
Hi Singhvi,
As you said, you are not using POST operation to send the data to the OData URL. SO, I believe that you are using GET operation . OData GET is not meant for pushing data to the OData URL. You have to use POST operation for this.
Why - (http)GET operation passes the data to the OData URL, by mangling . Means, it will be constructing the URL by concatenating fields. There is limitation of URL length possible. Beyond that, it will be trimmed . So, you will lose the data some times and end up in a wrong URL also .
Sreehari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ira,
Since its a GET operation, how exactly you have managed to send those huge number of records to GW Service as part of GET URL ?
Can you please share more details on this ?
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ira,
There is no limit as such on size/amount of the data you pass as part of payload when your fire the POST operation. But its always advised to keep the payload light weight wit less number of data.
How are you firing your POST ?
Is it by implementing Create_Entity or Create_Deep_Entity Method ?
Are you operating POST in BATCH mode?
Regards,
Ashwin
Hello Ira,
Are you performing POST operation on the same entity?
I mean consider for example you have entity Employee and have A B C fields.
So here are you dealing with a scenario to push all A B C fields of multiple Employees as part of POST ?
If yes then i would suggest to implement the Create_Deep_Entity method by modelling your service accordingly ( using association & navigation ) and send all the those data inside a payload as a single operation rather than operating each POST operation in BATCH mode and hoping you will not encounter the issue which you facing now.
However the issue which you are facing is really strange and i have not encountered.
Regards,
Ashwin
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.