developing an event handler on a sharepoint 2010 list which calls a web service

Hi,

I am new in development area.  Here is my requirement which I want to complete.

I have 3 SharePoint lists. These lists will have data maintained by some users. Now, whenever there is any change (add/modify/delete item) in these lists, I have to send this updated data to an external Application (non-SharePoint; i'll call it EA) so that the data is in sync between both applications (SharePoint and EA). I am provided with a schema based web service from EA and I have to make a call to this web service whenever data changes in SharePoint List, populate the attributes so that they can be fetched and data can be updated in EA.

How can I do it?

January 14th, 2014 5:25am

hi

at first write simple console application which will use external web service. At this step you will debug communication without additional complexity related with Sharepoint. When it will be ready you will need to add event receivers to list. There is a lot of examples, e.g. this Creating a simple Event Receiver. And on last step add the code developed on step 1 to created event receiver.

Free Windows Admin Tool Kit Click here and download it now
January 14th, 2014 5:57am

Hi IMSunny,

Why not create a BDC connection(Read & Write) to the external application's DB directly ? This way, you will have perfectly synchronized data between both SharePoint and EA. Did you think about this solution ? This can be easily done with SharePoint designer if the target DB is SQL Server.

Let us know if additional help required.

January 14th, 2014 6:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics