Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / September 2006

Tip: Looking for answers? Try searching our database.

problem to generate .NET test client from WSDL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 19 Sep 2006 01:01 GMT
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!!
Gaurav Vaish (www.EduJiniOnline.com) - 19 Sep 2006 15:15 GMT
> 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.

What do you have in your asmx?
What output does it give?

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------

John - 19 Sep 2006 17:17 GMT
> 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!!
Gaurav Vaish (www.EduJiniOnline.com) - 20 Sep 2006 04:58 GMT
> But I couldn't see any operations that allow me to choose.

Because there are no 'WebMethod'-s in your service.

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.