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
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.
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).
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
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.
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
is working on a reply...