I already have an existing WSDL file and want to generate C# proxy code
and C# test client using Visual Studio .NET 2003 with Framework Version
1.1.
I firsted created ASP.NET web service, and added web reference that
points to the WSDL URL. I am able to see the methods for that web
service, and I am able to see C# proxy code generated by WSDL. Then I
press F5 to compile and run the web services.
However I got the following error message, and I couldn't see any
methods on the test client page. If I created my own web service and
press F5, it allows me to choose which method to test on the test
client page.
This web service is using http://tempuri.org/ as its default
namespace.
Recommendation: Change the default namespace before the XML Web
service is made public.
any ideas? this should be very simple but I have no idea why it doesn't
work.
Yury - 25 Feb 2006 22:06 GMT
When you adding web reference you are creating client side proxies.
for dotnet 2.0 use "wsdl.exe /server YourWSDLFILE.wsdl" to generate
server side proxies.
http://msdn.microsoft.com/vstudio/java/interop/websphereinterop/
for dotnet 1.1 use this tool
http://www.thinktecture.com/Resources/Software/WSContractFirst/default.html
sibob - 27 Feb 2006 07:05 GMT
Here's a free universal Web Services Client that will help you test any
Web service, view the soap, etc.. that might be helpful in diagnosing
the problem
http://www.strikeiron.com/tools/tools_analyzer_windows.aspx