Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

hi all. starting to investigate these web services. i have the simple hello world service created. its deployed to IIS. when i try to telnet

 

"telnet localhost 80" thats fine.

i set the local echo so that i can see whats going on.

i try to use HTTP GET like this:

"GET /WebService1/Service1.asmx/HelloWorld HTTP/1.1"

 

it says this is an invalid command. im going mad. i have checked spelling mistakes, and loads of stuff and i cant telnet my service. any ideas?

 

heres the service. not much i know:

public class Service1 : System.Web.Services.WebService
{
	public Service1()
	{
		
		InitializeComponent();
	}
	[WebMethod]
	public string HelloWorld()
	{
		
		return "Hello World" ;
	}
}

Edited by fguihen

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...