473,386 Members | 1,720 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.

Help Needed,Strange Problem With ASP.NET WebService

Hi there,

My problem is that, i've created a simple hello world web service
project, and then, when i run it to test the operation,the invoke
button does not open any window.

I mean there is no response when i click the invoke button, no window
containing the output opens.

It just does nothing, no error no exception nothing.

Plz help me out, wat's wrong thr?

Jan 4 '06 #1
3 1309
Just to add on this,

my web service url is this
http://localhost/TestWS/Service1.asmx, when i browse it,

it displays helloworld function

the url is

http://localhost/TestWS/Service1.asmx?op=HelloWorld, and it's written

To test the operation using the HTTP POST protocol, click the 'Invoke'
button

now when i click on the invoke button link it does nothing?
why?????????

But when i try to browse the url

http://localhost/TestWS/Service1.asmx/op=HelloWorld

it gives me the following exception:

System.InvalidOperationException: Request format is unrecognized

BTW, i'm using asp.net v1.1..

So now plz any help on this.....

Jan 4 '06 #2
Seems odd that you can't use the invoke button... have you tried it in
another browser?

It looks like you're browsing to the wrong URL though...

http://localhost/TestWS/Service1.asmx?op=HelloWorld

!=

http://localhost/TestWS/Service1.asmx/op=HelloWorld

Not sure what else I can offer here - the invoke button should just work for
the stock HelloWorld example. Have you disabled HTTP protocols in the
web.config?

Josh Twist
http://www.thejoyofcode.com

"batista" wrote:
Just to add on this,

my web service url is this
http://localhost/TestWS/Service1.asmx, when i browse it,

it displays helloworld function

the url is

http://localhost/TestWS/Service1.asmx?op=HelloWorld, and it's written

To test the operation using the HTTP POST protocol, click the 'Invoke'
button

now when i click on the invoke button link it does nothing?
why?????????

But when i try to browse the url

http://localhost/TestWS/Service1.asmx/op=HelloWorld

it gives me the following exception:

System.InvalidOperationException: Request format is unrecognized

BTW, i'm using asp.net v1.1..

So now plz any help on this.....

Jan 4 '06 #3
Josh, i've copy paste this url from IE ,

http://localhost/TestWS/Service1.asmx?op=HelloWorld

this url comes when i click the HelloWorld Function Link

And as fas as web.config is concerned i've not even opened it.

I've just made new asp.net web service and tried to check it's
helloworld function,

and thats it.

So any further suggestions...

Jan 5 '06 #4

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

Similar topics

4
by: Benne Smith | last post by:
In our company, i have three servers; 1) a development server (mine only - here i make daily changes and test my stuff) 2) a test server (for the users to test milestone builds - changes weekly)...
1
by: Zoury | last post by:
Hi there! :O) I have a WebService that contains the following struct definition. this struct is defined right after the WebService class, ie : //*** namespace mynamespace { public class...
1
by: Ricky K. Rasmussen | last post by:
Hi NG, When connecting to a local WebService one of our customers gets a very strange exception: "File or assembly name gaw9eaqv.dll, or one of its dependencies, was not found." The...
0
by: James A Taber | last post by:
We've created a webservice using .Net 2003. We got a report from a consumer of the service and did some work to trace down the problem. To reproduce, I created a VB desktop client with a single...
6
by: Jake | last post by:
Hello, We have some code (see below) that has been working intermittently and I was wondering if someone had a better approach or an idea on why we get these errors. This part of code basically...
0
by: M.Posseth | last post by:
Hello , I have a strange problem when i set a reference to http://www.trostonline.de/autobest/tolwebservice.dll/wsdl/ITOLServiceInterface i end up with a logon method like this
4
by: batista | last post by:
Hi there, My problem is that, i've created a simple hello world web service project, and then, when i run it to test the operation,the invoke button does not open any window. I mean there is...
1
by: jens Jensen | last post by:
Hello , i'm calling a webservice generated with oracle webservice java tools. I'm not able to add a web reference to a .net client the usual way with visual studio 2005. I was therefore...
0
by: batista | last post by:
Hello all, I am using a webpage having a grid and im calling a webservice method(using webservice.htc) which after 5 seconds updates the content of the grid, uptil now everything is working...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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.