Copied to clipboard

Flag this post as spam?

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


  • Cazarez 2 posts 22 karma points
    Sep 03, 2011 @ 21:35
    Cazarez
    0

    Reference Webservice to get XML and transform with XSLT

    I have a project that requires calls from a webservice. How can I add the reference in the project and make calls from the Webservice which returns the XML.  With that XML, I need to transform using XSLT to display the page.  Can this all be done in Umbraco?  How?  Please help.  Thank you

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Sep 06, 2011 @ 21:04
    Lee Kelleher
    0

    Hi Cazarez,

    Yes, it is possible to do this with Umbraco.  Easiest way would be to write an XSLT extension (in C#) that would make a call to the web-service, the returning XML data would be passed back to the XSLT for processing.

    There are a couple of videos about how to create your own XSLT extension: http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/xslt-extensions

    Cheers, Lee.

  • Cazarez 2 posts 22 karma points
    Sep 07, 2011 @ 08:47
    Cazarez
    0

    Hi Lee. Thank you for taking your time to reply to me.  I appreciate that.  I tried watching the video but it really didn't go anywhere. Do you have a link on written materials as to how to do what you instructed?  I want to see if Umbraco will allow me to format the site to any look and feel using my existing CSS files and Navigation format, plus have searches and blogs on the site.  But most importantly, the site can only pull data through a web service.  Right now, I make a web service call and that returns the XML data.  I then use the Transform function to transform my XSLT file and display it on my aspx file, in a content place holder.  How would I go about doing that with Umbraco?

    You mentioned to write an XSLT extension to make the call.  So basically, are you saying that I create a new Class project and in that project, make a web reference to the Web Service?  Then what's next? (since the video cuts short on me).

    Thank you

Please Sign in or register to post replies

Write your reply to:

Draft