473,387 Members | 1,423 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,387 software developers and data experts.

problem to generate c# test client from wsdl

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.

Feb 25 '06 #1
2 3446
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/ja...sphereinterop/

for dotnet 1.1 use this tool
http://www.thinktecture.com/Resource...t/default.html

Feb 25 '06 #2
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/tool...r_windows.aspx

Feb 27 '06 #3

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...
3
by: John | last post by:
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...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.