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
Loading
Santhosh NPosted Jan 1, 2010, 1:55 AM
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...