problem to generate .NET test client from WSDL

J

John

I want to generate .NET test client from WSDL in Visual Studio.NET.
After I have added web reference with the remote WSDL URL, I used
Google WSDL http://api.google.com/GoogleSearch.wsdl here. I press F5 to
start the test client, and it lanuches
http://localhost/GoogleWSProj/Service1.asmx in the web browser, but the
problem is that it doesn't show the web services operations. I expect
it will show all web services operations, and allow the user to enter
the input values to get the output values.

If I create a .NET web service, then I am able to see the web services
operations in
the test client.

What I have gone wrong here?

Please advice. thanks!!
 
J

John

Gaurav said:
What do you have in your asmx?

Service1.asmx.cs only has the code generated by VS. There is no code
related to the web service defined in WSDL.
What output does it give?

When I launch http://localhost/GoogleWSProj/Service1.asmx in the web
browser, the page says:

The following operations are supported. For a formal definition, please
review the Service Description.

--------------------------------------------------------------------------------

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.


But I couldn't see any operations that allow me to choose.

Please advice more. thanks!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,520
Members
44,996
Latest member
rainocode

Latest Threads

Top