Strange Problem With Asp.Net WebService,Help Needed

B

batista

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?
 
B

batista

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.....
 
B

batista

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.....
 
G

Guest

I believe that one of my developers had a similar problem and it turned out
to be security related. It was as though the content-type was being set to
'text/xml' however a server error (which would be in HTML format) was being
sent back instead and caused a similar error.

Make sure that you have full-trust for localhost (or intranet). An easy way
to check this is to add http://localhost to the trusted site list within
Internet Explorer and see if it fixes the problem. If it does, you will be
able to manage the .NET security configuration and then remove
http://localhost from your trusted site list and it will continue to operate
correctly.

Hope this helps.

-Eric
 
B

batista

Eric I tried ur suggestion,but

no luck

It seems my asp.net is corrupted.

I think i wud have to reinstall it(Oh God...)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top