hello,
I am developing a web service and to generate a proxy code for that webservies I used a command prompt of vs2005, so I got an error after excuting the below command.
c:\wsdl /namespace:authservice http://localhost/service.asmx
The Error is
Unhandled exception:system.badimageformatexception:Could not load file or assembly wsdl.exe or one of its dependencies. an attempt was made to load a programfile name:wsdl.exe
Web services-Could not load file or assembly wsdl.exe or one of its dependencie.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Santhosh NRank #4,788 · 325 reputationPosted Dec 31, 2009, 8:55 PM EST
first of all just for confirmation, are you using Visual studio command prompt from
Programs-->Microsoft Visual studio 2005---> Visual studio tools--->visual studio 2005 command prompt
If you are still having the same problem, there there could be some issues with the schemas you are referencing..
also, I see there is no port number in the service URL, check that and you can verify by pasting the url in the browser if asmx file opens...