User Profile

Collapse

Profile Sidebar

Collapse
bpatrick100
bpatrick100
Last Activity: Jan 31 '11, 02:09 PM
Joined: Mar 6 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Windows Service Hosting WCF Objects over SSL (https) - JSON Error Handling won't work

    I will first show the code that works in a non-ssl (http) environment. This code uses a custom json error handler, and all errors thrown, do get bubbled up to the client javascript.

    Code:
                // Create webservice endpoint
                WebHttpBinding binding = new WebHttpBinding();
    
                ServiceEndpoint serviceEndPoint = new ServiceEndpoint(ContractDescription.GetContract(Type.GetType(svcHost.serviceContract
    ...
    See more | Go to post
    Last edited by Niheel; Jun 9 '10, 08:07 PM. Reason: added code tags to code :)

  • Ajax call to wcf windows service over ssl (https)

    I have a windows service which exposes an endpoint over http. Again this is a windows service (not a web service hosted in iis). I then call methods from this endpoint, using javascript/ajax. Everything works perfectly, and this the code I'm using in my windows service to create the endpoint:

    ----------------------------------------------------------------------------------------------------------------
    //Create...
    See more | Go to post
No activity results to display
Show More
Working...