Tech blog

Solving problems

About
Contact

Archive for the ‘Web Services’ Category

Allowing WCF services (svc extension) in IIS7

one comment

  1. First, click on your website (or IIS7 website root)
  2. Click on MimeTypes and enter “.svc” and “application/octet-stream” and save
  3. In your project add this to your web.config in <httpHandlers> section:
    <add name=”svc-Integrated” path=”*.svc” verb=”*” type=”System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ preCondition=”integratedMode” />
    <add name=”svc-ISAPI-2.0″ path=”*.svc” verb=”*” modules=”IsapiModule” scriptProcessor=”%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll” preCondition=”classicMode,runtimeVersionv2.0,bitness32″ />
VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Written by Avivo

July 12th, 2010 at 9:17 pm

Web Service security using Microsoft WSE 3.0

leave a comment

When you have a proxy use this command to generate proxy class:

"c:\Program Files\Microsoft WSE\v3.0\Tools\WseWsdl3.exe" "http://your_service_url/your_service.asmx" /out:c:\YourService.cs /type:webClient
VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Written by Avivo

November 11th, 2009 at 11:48 am