Browse Source

Added correct Namespace for WSDL

Gareth O'Brien 11 years ago
parent
commit
ad721e3431
2 changed files with 3 additions and 1 deletions
  1. 2 0
      Foghorn.WcfService/FoghornService.cs
  2. 1 1
      Foghorn.WcfService/IFoghornService.cs

+ 2 - 0
Foghorn.WcfService/FoghornService.cs

@@ -20,6 +20,7 @@ using System;
 using System.Collections.Generic;
 using System.Diagnostics;
 using System.Linq;
+using System.ServiceModel;
 using Foghorn.Core;
 using Foghorn.WcfService.Properties;
 using Growl.Connector;
@@ -29,6 +30,7 @@ using NotificationType = Foghorn.Core.NotificationType;
 
 namespace Foghorn.WcfService
 {
+    [ServiceBehavior(Namespace = "http://www.objectiveadvantage.com/Foghorn/", ConcurrencyMode = ConcurrencyMode.Single)]
     public class FoghornService : IFoghornService
     {
         private const string FailureMessage = "Something went wrong receiving a service call.";

+ 1 - 1
Foghorn.WcfService/IFoghornService.cs

@@ -23,7 +23,7 @@ using Foghorn.Core;
 
 namespace Foghorn.WcfService
 {
-    [ServiceContract]
+    [ServiceContract(Namespace = "http://www.objectiveadvantage.com/Foghorn/")]
     public interface IFoghornService
     {
         [OperationContract]