diff Agendas/trunk/src/Agendas.Google.Test/App.config @ 189:fe47f11f5f20

Adapter para url shorten de google
author nelopauselli
date Tue, 09 Aug 2011 09:38:28 -0300
parents 71737419a839
children
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Google.Test/App.config	Tue Aug 09 08:55:08 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Google.Test/App.config	Tue Aug 09 09:38:28 2011 -0300
@@ -8,34 +8,7 @@
 	<publicadores>
 		<google enabled="true">
 			<calendar userName="altnethispano.desa@gmail.com" password="fA&amp;Ec3wU3est" calendarId="altnethispano.desa@gmail.com" />
+			<shorten urlAPI="https://www.googleapis.com/urlshortener/v1/url" />
 		</google>
 	</publicadores>
-
-  <system.serviceModel>
-	<client>
-	  <endpoint address="https://www.googleapis.com/urlshortener/v1"
-     binding="webHttpBinding"
-     bindingConfiguration="webBinding"
-     behaviorConfiguration="urlShortener"
-     contract="GoogleAPI.UrlShortener.IUrlShortenerService"
-     name="UrlShortenerREST" />
-	</client>
-
-	<bindings>
-	  <webHttpBinding>
-		<binding name="webBinding">
-		  <security mode="Transport"></security>
-		</binding>
-	  </webHttpBinding>
-	</bindings>
-
-	<behaviors>
-	  <endpointBehaviors>
-		<behavior name="urlShortener">
-		  <webHttp />
-		</behavior>
-	  </endpointBehaviors>
-	</behaviors>
-
-  </system.serviceModel>
 </configuration>
\ No newline at end of file