Ive created an xml file that I want to post to another website using an http soap request.

The file gets created fine but i get this error when I run the program -

'soapenv' is an undeclared namespace.

Where would I declare this namespace? I can see a targetNamespace attribute in the definations tag of the WSDL file but this cannot be it as ive added this file as a web reference and included the reference in my imports statements.

So I presume its somewhere else that its declared but I donít know where or how my .net program references it.

Can anyone help?