SharePoint 2007 Data View Web Part

So it was time to use the Data View Web Part to display content from av custom web service in a nice way.

Examples and how to use the Data View Web part:

And writing custom sharepoint 2007 web services:

Errors and solutions

And of course I (as so many other it seems) run into the error: "The server returned a non-specific error when trying to get data from the data source. Check the format and content of your query and try again. If the problem persists, contact the server administrator". I did not find a "proven" solution to the cause of the error, but in my case it looked like it was the number of parameters and the length of these that got me into trouble. Can it be that the soap-header somehow got corrupted?? I re-wrote my custom web service, reduced the number of parameters to it, and I got it working.

No comments: