Project Description
The Dynamic Web service Xslt Transformer Web Part makes it much easier for SharePoint Developers and Administrators to call any web service and transform the returned xml directly to HTML by providing your own custom xslt.

  In the properties of this web part you are able to provide the location of the
 
web service URL ( _vti_bin/lists.asmx ), a soap envelope and an xslt definition. 

  Web service URL
  In this field you can provide server relative URL (this will be pointing to the web service of the correct site),
  but you may also provide a web service on another server.

  For example the Google weather service and provide the information from my previous post
  regarding xsl in SharePoint 2010 (http://tomvangaever.be/blogv2/index.php?entry=entry101017-200726)

  Soap Action
 
If needed you can provide a soap action definition.

  Soap Body
  If the web service requires a certain soap envelope in order to be correctly invoked,
  you may provide the message in this property field.

  XSLT 
 
When the web service has been invoked, the server will receive the data in xml,
  this web part will automatically transform the returned xml into
  readable html by using your provided xslt definition.


From this moment, every time the web part is loaded when a user opens the page, the web service is called and the xslt transforms the returned xml into the html you want

Installation 

The solution has been packaged as a WSP and after deployment a new site collection feature is available on your environment.
The web part will be available after you have activated the site collection feature.

  

You can add the web part to your page by opening the web part catalogue and clicking on content rollup.

 

Once the web part has been added to the page, the default settings will automatically retrieve all the lists on this site and display the xml returned from the server and has been transformed by the xslt.

 

 

The properties are very easy to modify, open the web part properties and click on the settings pane.
Note: It is much easier to create the xslt definition in visual studio and copy paste the content of the file into this textbox.


 

I hope it will help you as much as I had fun creating it :)

Good luck!

Last edited Mar 19, 2014 at 8:56 AM by tomvangaever, version 17