asmx doesn't show method listed

S

SMG

Hi All,
I wrote a asmx page with two webmethods which are being shown like a
link when i hit a request like. http://localhost/ws/test.asmx
And when i click on that method name that it gives me parameter window as
well.


The moment i go to a different Pc and type http://shaileshpc/ws/test.asmx

it doesn't show me two methods. why so?

Can anyone tell me how to enable this.

Regards,
Shailesh Gajare
 
M

Matt R

I assume this is an IIS problem, or maybe a firewall issue? - are you able
to see a simple web page on your PC across the network?

Matt
 
M

Munsifali Rashid

Try adding the following inside the <system.web> area of web.config:

<webServices>
<protocols>
<add name="HttpSoap" />
<add name="HttpPost" />
<add name="HttpGet" />
<add name="Documentation" />
</protocols>
</webServices>

Cheers,

Mun
 

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

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top