I can't successfully create a web service in SQL Integration Services because the next error message appears when I try to enter the input properties of the Web Service Task:

"Could not read the Web Services Description Language (WSDL) file. The input WSDL file is not valid. The following error occurred while reading the file. There is an error in XML document (0, 0).."

Previously I created the HTTP Connection with the respective URL, user and password, tested the connection and downloaded the wsdl. I think that maybe the wsdl downloaded doesn't have the correct format but I don't know why it could be.

I've had very much the same problem, and it's not about setting up the connection properly. When the wsdl file is downloaded (and I've found this with ALL book/online tutorials) there are tags missing. I found this through attempting to open the file in IE. When edited and all opening tags have corresponding closing tags, the error no longer happens. However, on the next stage of the tutorials when the Input tab is selected, there's nothing to select.

I've spent quite a long time looking into this, but can't find any resolutions that work. Quite disheartening really.

I'd be more inclined to think there is a problem on your end rather then ALL the tutorials being wrong.

My point was that when setting up the connection you are in the HTTP connection manager rather then the Web Service Task and therefore testing the connection will suceed as long as a valid URL is entered. The HTTP connection manager is checking the HTTP connection and not whether you are pointing to is a valid webservice or WSDL file.

When you select "download WSDL" the task just downloads whatever is on the end of that URL into the filename specified, again it does not try to validate the WSDL. It is only when you try to list the webservices it finds the badly formed content and provides the error in the original post.

Check it by trying "http://www.google.co.uk" then try "http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL"

It's far more likely you are doing something wrong or possibly the webservice you are connecting to is issuing badly a formed reply. Feel free to link the BOL tutorial if you want me to take a look and try to help.

I've just connected to the webservice you mention (http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL), clicked download, and still get the same error suggesting the xml is badly formed. I've been following the tutorials word for word, step by step and have tried three already. I agree that it seems unlikely they're all wrong, and the the common denominator is me. However, it's baffling.

I create a connection and successfully test it.Create a string variable.Drag the webservice task and so on......then the error.