Issue in launching web service published on www.discountasp.net

Discussion in 'ASP.NET WebServices' started by Mohit, Oct 19, 2009.

  1. I have an issue with the web service that I installed in the domain that I purchased on www.discountasp.net server.
    I am not able to invole the web methods of the web service that I published. If I launch the URL of the web service from my web browser, it shows me the list of web methods that is correct. But, when I click on any of the method, it doesn't show me the page where I can enter the values of the input parameters.
    If I try to invoke this published web service from my .net web application, I am able to access it correctly. But if I want to access this web service in Blackberry Application, I am not able to do so. I need to create a stub before using web service in Blackberry. During creating stub of this web service, I am getting an error of "closing <BR> tag missing in the web service".
    I feel that there is some inssue with the published web service, due to which the stub is not created correctly.
    I though there might be some problem in the Authentication method in web.config file of the published web service. I tried publishing web service with Authentication Method as "Form", "Windows" and "None". But no luck, still standing on the same error.

    Following is the URL of my web service. Launch that URL and click on any of the method, you will view a page that will show you the place holders for the web method. On the top, it has a section as "Test" that says "The test form is only available for requests from the local machine. ". But I need that page also where I can invoke and test web service.

    Please help me with this issue.
     
  2. I'd recommend that you try adding the following to your web.config

    Code:
    <webServices>
    <protocols>
    <add name="HttpSoap12" />
    <add name="HttpSoap" />
    <add name="HttpGet" />
    <add name="HttpPost" />
    </protocols>
    Post and Get is disabled in Windows 2003 by default, so this should help you enable it.

    Let me know if it works out for you.
     

Share This Page