I've been reading through the documentation for CMSImport and have found it to be very lacking when it comes to providing a basic example of how to create a data-adapter that consumes a web service and uses the response to create or update content. With this in mind, does anyone have a simple example as at the moment I don't even know where to start.
I think I have an Adapter that consumes a webservice, if you can send me some info about the webservice I can send you the example. Could be a bit of a delay since I am not in the office at the moment but will check the email later.
There are numerous aspects to our web service that we wish to use in production and unfortunately the documentation for this is only available to our clients. At the moment however I am just trying to find the best solution for running a scheduled import of content using our web services that allows our users to edit content in our desktop application software and then exposes this content to Umbraco via our web services. These services would then be called and parsed using CMSImport (if this can be done) and would be fed into our Umbraco site. As the service varies in content I'm just trying to figure out how to get any web service working in this manner so any example that you have would be greatly appreciated.
I know that we will have a few different document types depending on the content but all I really need like I say is just an example to get me started.
Turns out I don't have the xml service code myself. But I can send an Atom adapter different XML structure but that should be easier than the one in the example. You need to have an adapter for each service I think to make it all possible. If you are interested in the sample please mail me [email protected] since I can't post the sample on this forum.
I've sent you an Email separately regarding the code example. Could you please quickly explain what an Atom adapter is and whether I will require anything addition within my Umbraco installation to cater for this? I cannot modify the behaviour of the web services that I need to call as part of my Umbraco installation so if this is a requirement of using this Atom adapter I'm afraid it won't work.
Web Service Data adapter example
Hi all,
I've been reading through the documentation for CMSImport and have found it to be very lacking when it comes to providing a basic example of how to create a data-adapter that consumes a web service and uses the response to create or update content. With this in mind, does anyone have a simple example as at the moment I don't even know where to start.
Jason
Hi Jason,
I think I have an Adapter that consumes a webservice, if you can send me some info about the webservice I can send you the example. Could be a bit of a delay since I am not in the office at the moment but will check the email later.
Best,
Richard
Hi Richard,
There are numerous aspects to our web service that we wish to use in production and unfortunately the documentation for this is only available to our clients. At the moment however I am just trying to find the best solution for running a scheduled import of content using our web services that allows our users to edit content in our desktop application software and then exposes this content to Umbraco via our web services. These services would then be called and parsed using CMSImport (if this can be done) and would be fed into our Umbraco site. As the service varies in content I'm just trying to figure out how to get any web service working in this manner so any example that you have would be greatly appreciated.
I know that we will have a few different document types depending on the content but all I really need like I say is just an example to get me started.
Jason
Hi Jason,
Turns out I don't have the xml service code myself. But I can send an Atom adapter different XML structure but that should be easier than the one in the example. You need to have an adapter for each service I think to make it all possible. If you are interested in the sample please mail me [email protected] since I can't post the sample on this forum.
Best,
Richard
Hi Richard,
I've sent you an Email separately regarding the code example. Could you please quickly explain what an Atom adapter is and whether I will require anything addition within my Umbraco installation to cater for this? I cannot modify the behaviour of the web services that I need to call as part of my Umbraco installation so if this is a requirement of using this Atom adapter I'm afraid it won't work.
Regards,
Jason
is working on a reply...