Why deny webservice

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

When I access a web page in internet, it is ok.
But when my application access webservice, it result in an error message :
"Access deny"

The port 80 is open in my firewall.
What's happen?
 
Hi

If your web server is configured for integrated security then you will need
to give some ctredentials to the proxy.

You could try:

myProxy.Credentials =
System.Net.Credentials.CredentialCache.DefaultCredentails

and see if that works.

cheers

John
 
Thanks,
But how to get Proxy of a WebService?

John Davis said:
Hi

If your web server is configured for integrated security then you will
need to give some ctredentials to the proxy.

You could try:

myProxy.Credentials =
System.Net.Credentials.CredentialCache.DefaultCredentails

and see if that works.

cheers

John
 
either add a web reference to the url of the .asmx file or run WSDL.exe
against the WSDL file.
 

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

Back
Top