all groups > dotnet web services > february 2006 >
You're in the

dotnet web services

group:

problem to generate c# test client from wsdl


problem to generate c# test client from wsdl John
2/25/2006 10:55:39 AM
dotnet web services: 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.
Re: problem to generate c# test client from wsdl Yury
2/25/2006 2:06:06 PM
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
Re: problem to generate c# test client from wsdl sibob
2/26/2006 11:05:03 PM
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
AddThis Social Bookmark Button