Good morning,
I'm trying to follow the sample proposed on https://academy.bpmonline.com/documents/technic-sdk/7-10/working-bpmonline-objects-over-odata-protocol-wcf-client
But getting error when try to add the Web reference using the URL, in my case http://10.150.17.28:83/0/ServiceModel/EntityDataService.svc/, it says there not web services availables on this url, what could be missing?, it happens on this bpmonline 7.6 implementation and also on a 7.10 implementation.
The proyect I created to try this is a WCF Service Library, it's ok?
Thanks in advance
Like
It's ok. Hovewer, it's not recommended to use WCF in bpm'online. It's much better to use web http requests instead. I understand that it looks like WCF is more comfortable to use because of the proxy class, but it will generate a lot of difficulties in the future.
Please check the attached file. It shows how to create an OData integration via web http requests correctly. The only thing that it missed is CSRF cookie. Please add it on your own.
https://academy.bpmonline.com/documents/technic-sdk/7-10/protection-csr…
The odatawebhttprequestsupd.docx example is written using fiddler
Good morning Mark,
I did some test using your tutorial and Fiddler (very good, thanks!), but now, How can I create a WS to an external app could insert data or query data to/from bpmonline using EntityDataService.svc and AuthService.svc?
Is there another tuto to this stuff?, could you help me please?
Thanks in advance,
Best regards,
Dear Julio,
You can achieve your task by using the OData intagration. You may find the tutorial here - https://academy.bpmonline.com/documents/technic-sdk/7-10/odata.
Lisa
Thanks Lisa, I will try, what kind of proyect I must to start on Visual studio? console?, Web? the module where I must create and insert the code explained in the academy, what kind of module must I add to the proyect?
I did it and get a lot of comiplation errors, I'm using, in this case VS 2015
The sample provided in the academy assumes a lot of steps I didn't know,
Can I work with VS 2017? I understand it doesn't supports OData at this time.
Thanks in advance
Dear Julio,
You can use any type of project, but we recommend to use 'Console' one.
The errors occur because you have to insert a piece of code into the brackets. Please see screenshot below:
http://prntscr.com/fpi5dj
Regarding using VS 2017, I have clarified this issue with our platform team. There is no reasons to consider that it doesn't support Odata.
Best regards,
Diana Adams