Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nick Warner 5 posts 25 karma points
    Feb 03, 2012 @ 18:34
    Nick Warner
    0

    Importing from a Web Service

    Hi

    Apologies if this has been answered before. I'd like to ping a webservice on a 3rd party system and create documents from the response. Does CMSImport allow this or any built-in Umbraco functionality?

    Thanks in advance for any pointers!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 03, 2012 @ 20:50
    Jan Skovgaard
    0

    Hi Nick and welcome to the community! :)

    Ehm if I rememer correctly you should be able to specify a url to a xml file for instance and then be able to map the xml nodes to umbraco document types.

    But perhaps it would be an idea to simply just install CMSimport and try it out? (You don't need a license if you need to import less than 500 nodes - so it should'nt cost you anything to do a simple POC - afterwards you can purchase this great product that will without a doubt be able to save you some hours of development if it fullfeeds your needs.).

    Hope this helps.

    /Jan

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Feb 04, 2012 @ 06:38
    Richard Soeteman
    0

    Hi Nick and Thanks Jan,

    It's indeed as Jan says that you could import XML Form a certain location. The other thing you can do is write a DataAdapter (which is described in the manual http://cmsimport.soetemansoftware.nl/documentation.aspx). A DataAdapter is nothing but two classes, 1 UI, 1 used for the Data Operations that you can Plugin CMSImport. All other Data options are data Adapters as well. 

    Basically you need to transform the response from the webservice to a DataReader (make sure to have some column names) and then it will be picked by CMSImport and it can import data based on your webservice.

    You can try this with the free version but you don't have the ability to save definitions and update functionality, those are included in the 99 version of the product.

    Hope this helps,

     Richard

  • Nick Warner 5 posts 25 karma points
    Feb 04, 2012 @ 10:29
    Nick Warner
    0

    Thanks Jan and Richard

    This sounds perfect for what I need to do. I'm at a scoping stage at the moment to see how Umbraco fits requirements, it seems to tick all the boxes so far. I'll have a play with CMSImport when the time comes and see how I get on.

    I'm really impressed with the speed and quality of your responses, so thanks again!

    Regards

    Nick

Please Sign in or register to post replies

Write your reply to:

Draft