web services over http

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default web services over http

    Hi

    I have a webservice setup for which I want to use client certificates. I installed a Web-Server certificate on my web server. I then generated an
    installed a client-certificate for my web browser.My web browser can now connect to the web service, and the web service recieves the clien
    certificate
    (For the web service application I have checked the 'Required Client Certificates' option in IIS.

    Trying to consume a webservice through aspx page over SSL with Client Certificate and getting below error

    [WebException: The request failed with HTTP status 403: Access Forbidden.
    System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream) +113
    System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters) +21

    priya Guest

  2. Similar Questions and Discussions

    1. Http services problem
      Dear Friends: My Problem is about the Http services Install Flex base on BEA Weblogic, JRUN4,Tomcat all the same problem my sever in intranet ,...
    2. Enabling HTTP Post to invoke web services
      I am calling a .Net web service from a traditional ASP page. I am using the ServerXMLHttp object. For example: sWebSvcUrl = "http://.....asmx"...
    3. HTTP Services for DataGrid
      why is it that, when we send a web request for some data from a .jsp or .xml file, for a datagrid , we dont get the result displayed on the DataGrid...
    4. No HTTP Post/Get show in Web Services WSDL.
      Hello all - Bear with me during this explanation as I have run myself ragged trying to figure this one out. When I compile my web service that...
    5. Custom HTTP Modules and Web Services
      I created a Web Service and a custom HTTP Module. I've put the HTTP Module dll in the Web Service's bin folder. I've put in the Web Service's...
  3. #2

    Default Re: web services over http

    You need to make sure the client side certificate is in the Certificate
    Store of the user that is used by ASP.NET/IIS to run the web application.
    You've probably put the client certificate in the CS of your own user
    profile. To easily test this I suggest you let ASP.NET/IIS run under your
    own user profile (JUST FOR TESTING) and see if it works.

    If you need more info, let us know...

    --
    Greetz

    Jan Tielens
    ________________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]


    "priya" <priyanka_s@mindtree.com> wrote in message
    news:C5ED9973-DE0B-426A-8EAF-C496D5C8BC42@microsoft.com...
    > Hi,
    >
    > I have a webservice setup for which I want to use client certificates. I
    installed a Web-Server certificate on my web server. I then generated and
    > installed a client-certificate for my web browser.My web browser can now
    connect to the web service, and the web service recieves the client
    > certificate.
    > (For the web service application I have checked the 'Required Client
    Certificates' option in IIS.)
    >
    > Trying to consume a webservice through aspx page over SSL with Client
    Certificate and getting below error.
    >
    > [WebException: The request failed with HTTP status 403: Access Forbidden.]
    >
    System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClient
    Message message, WebResponse response, Stream responseStream) +1130
    > System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
    methodName, Object[] parameters) +216
    >

    Jan Tielens Guest

  4. #3

    Default Re: web services over http

    How do we know which store ASP.NET/IIS is using
    How can we make ASP.NET/IIS run under my user profile ?
    priya Guest

  5. #4

    Default Re: web services over http

    1) Probably it's own.

    2) It depenends, which operating system are you using?

    --
    Greetz

    Jan Tielens
    ________________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]


    "priya" <anonymous@discussions.microsoft.com> wrote in message
    news:82F1AE57-5030-4655-8CDE-F1C099386A23@microsoft.com...
    > How do we know which store ASP.NET/IIS is using ?
    > How can we make ASP.NET/IIS run under my user profile ?

    Jan Tielens Guest

  6. #5

    Default Re: web services over http

    I am using Windows 2000 Professional.
    priya Guest

  7. #6

    Default Re: web services over http

    You can change the properties of the website or the virtual directory in the
    IIS management console. Also you can configure the process identity in the
    web/machine.config file of the .NET Framework.

    --
    Greetz

    Jan Tielens
    ________________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]


    "priya" <anonymous@discussions.microsoft.com> wrote in message
    news:74A5044F-CA15-49BC-8E09-8925859AE2FC@microsoft.com...
    > I am using Windows 2000 Professional.

    Jan Tielens Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139