Main Topics
Browse All TopicsHello Experts!
I'm a beginner at using web services (started yesterday).
I have a ASP.Net project with a basic website that has some options to select and then calls a web service to get results. I also added a web service class to that project. The basic web service looks like:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protoc
using System.Xml.Linq;
namespace testing
{
[WebService(Namespace = "http://tempuri.org/")]
public class webservice1 : System.Web.Services.WebSer
{
[WebMethod(Description="Te
public string HelloWorld()
{
return "Hello World";
}
}
}
I tested this code on the localhost and it works, as you all would probably know.
When I try using the wsdl to generate the proxy code from the command line, it creates the file but there is nothing in it other then the basic comment.
//------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------
//
// This source code was auto-generated by wsdl, Version=2.0.50727.1432.
//
Nothing else shows up, I figured that since its a basic function call without doing any real work that nothing was generated.
What I'm trying to do is make a SOAP request to a web service on another website and store the xml response in the proper variables. I need some clearing up in this matter, searched around for a while looking for some code snippet that would show me how to send a request to a web service but could not find anything that would suit my needs or I just did not understand what was going on.
Thanks for any help :)
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: IrzanaPosted on 2008-03-21 at 05:20:01ID: 21179375
Check this la.com/art icles/1008 03-1.aspx
http://aspnet.4guysfromrol