473,386 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

problem to generate .NET test client from WSDL

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!!

Sep 18 '06 #1
3 1660
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?
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------
Sep 19 '06 #2
Gaurav Vaish (www.EduJiniOnline.com) wrote:
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!!

Sep 19 '06 #3
But I couldn't see any operations that allow me to choose.

Because there are no 'WebMethod'-s in your service.
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------
Sep 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Bill Hauver | last post by:
I am attempting to use a web service from my work pc which is behind a firewall. I have used wsdl.exe to create the web service reference class and added it to my project. (this seems to work...
0
by: Peter Conrey | last post by:
I have a perl web service (using SOAP::Lite) with a method called "Detail" that returns a strucure (hash reference to be exact). It works fine when consumed by a Perl client, but when I try to...
0
by: Casper Bang | last post by:
I set up a Document-Literal(wrapped) WebService on a Oracle container (J2EE 1.4/JAX-RPC) and made a basic method which I can invoke from a browser or Java client. Java prototype: public...
0
by: Mikaelo | last post by:
Hello! I have small problem. Thera are web-service in java, it has method "getTestUrl" wsdl for it <wsdl:operation name="getTestURL"> <wsdlsoap:operation soapAction=""/> <wsdl:input...
0
by: bbalet.free.fr | last post by:
The “Add Web Reference” Visual tool generates bad classes (from WSDL schema) for ComplexType containing only one element (wsdl.exe and wseWsdl3.exe tools have the same problem) : if a...
2
by: John | last post by:
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...
9
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: ...
0
by: buk110 | last post by:
Hi everyone, I'm new to using JAVA and I'm trying to interact with a web service I wrote in C# I downloaded Netbeans & followed the instructions to point to the wsdl file I navigated to my...
4
by: gcharbon | last post by:
Hi community, I have a problem with a Soap client written in php. I have a local server (coded in c and a client in c too, it works fine), but i want to test client in php, and i have an error...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.