The "GetXmlDocumentByUrl" function tries to get XML from an URL, using HTTP GET. This approach wouldn't work with a SOAP-based web-service, which is what I believe you are trying to use.
As far as I'm aware, the only way you would be able to retrieve the data from a SOAP web-service in XSLT is to write a custom XSLT extension.
There should be some articles on it on the wiki (and/or Google), but I can't find those at the moment.
Call external webservice with a parameter
I have two webservices - one with a parameter and one without.
The latter I can call with
<xsl:variable name="xmlnodes" select="umbraco.library:GetXmlDocumentByUrl('http://www.mydomain.com/Service.asmx/ShowWebNews')"/>
The other one takes a paramter (an ID on a specific web news). How do I call it from XSLT? Is I even possible?
Thank you :-)
Hi Grit,
The "GetXmlDocumentByUrl" function tries to get XML from an URL, using HTTP GET. This approach wouldn't work with a SOAP-based web-service, which is what I believe you are trying to use.
As far as I'm aware, the only way you would be able to retrieve the data from a SOAP web-service in XSLT is to write a custom XSLT extension.
There should be some articles on it on the wiki (and/or Google), but I can't find those at the moment.
Cheers, Lee.
Thank you for your answer.
I will try to make an user control, that presents the data instead. I'm not ready to try custom XSLT extensions.
is working on a reply...