I went a bit further but I got still problems... here's what I've got
Client Config
ideablade.configuration version="6.00" xmlns="http://schemas.ideablade.com/2010/IdeaBladeConfig">
<notificationService clientPort="9012"/>
<logging logFile="DebugLog.xml"/>
<objectServer remoteBaseURL="http://localhost" serviceName="EntityService.svc" serverPort="9009">
<clientSettings isDistributed="true" />
</objectServer>
<!-- Additional configuration can be added to override defaults.
See the sample config files in the Learning Resources for more information.
-->
</ideablade.configuration>
<system.serviceModel>
<client>
<endpoint name="EntityService"
address="http://localhost:9009/EntityService.svc/"
binding="customBinding" bindingConfiguration="compressedBinaryBinding"
contract="IdeaBlade.EntityModel.IEntityServiceContract"
/>
<endpoint name="EntityServer"
address="http://localhost:9009/EntityServer.svc/"
binding="customBinding" bindingConfiguration="compressedBinaryBinding"
contract="IdeaBlade.EntityModel.IEntityServerContract"
/>
<endpoint name="NotificationService"
address="http://localhost:9009/EntityService.svc/NotificationService"
binding="wsDualHttpBinding" bindingConfiguration="DualBinding"
contract="IdeaBlade.EntityModel.INotificationService"
/>
</client>
<bindings>
<customBinding>
<binding name="compressedBinaryBinding"
closeTimeout="00:01:00"
openTimeout="00:01:00"
receiveTimeout="00:10:00"
sendTimeout="00:01:00">
<gzipMessageEncoding>
<readerQuotas
maxDepth="2147483647"
maxStringContentLength="2147483647"
maxArrayLength="2147483647" />
</gzipMessageEncoding>
<httpTransport maxReceivedMessageSize="2147483647" />
</binding>
</customBinding>
<!-- If using the Notification service - uncomment this binding.
Change the clientBaseAddress to something appropriate for your site.
The base address must be unique for each push client.
-->
<wsDualHttpBinding>
<binding name="DualBinding" messageEncoding="Mtom">
<security mode="None" />
</binding>
</wsDualHttpBinding>
</bindings>
<extensions>
<bindingElementExtensions>
<add name="gzipMessageEncoding"
type="IdeaBlade.Core.Wcf.Extensions.GZipMessageEncodingElement, IdeaBlade.Core"/>
</bindingElementExtensions>
</extensions>
</system.serviceModel>
Server (web.config)
<ideablade.configuration version="6.00" xmlns="http://schemas.ideablade.com/2010/IdeaBladeConfig">
<logging logFile="log\DebugLog.xml" />
<objectServer>
<serverSettings useAspNetSecurityServices="false" allowAnonymousLogin="false" />
</objectServer>
<!-- Additional configuration can be added to override defaults.
See the sample config files in the Learning Resources for more information.
-->
<notificationService enabled="true" clientPort="9012"/>
</ideablade.configuration>
<system.serviceModel>
<!-- Set aspNetCompatibilityEnabled to true to allow use of ASP.NET security features.
Set multipleSiteBindingsEnabled to true for Azure or if your web site has multiple http bindings.
-->
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<!--multipleSiteBindingsEnabled="true"-->
<!-- The default EntityService and EntityServer services use by DevForce.
Note that this configuration requires modifications in order to support Silverlight clients.
-->
<services>
<service name="EntityService">
<endpoint address=""
binding="customBinding" bindingConfiguration="compressedBinaryBinding"
contract="IdeaBlade.EntityModel.IEntityServiceContract"/>
</service>
<service name="EntityServer">
<endpoint address=""
binding="customBinding" bindingConfiguration="compressedBinaryBinding"
contract="IdeaBlade.EntityModel.IEntityServerContract"/>
<endpoint address="NotificationService"
binding="wsDualHttpBinding" bindingConfiguration="DualBinding"
contract="IdeaBlade.EntityModel.INotificationService"
/>
</service>
</services>
<!-- The gzipMessageEncoding binding element is used to provide compressed binary encoding.
Several quotas have been to maximum values here, but can be reduced based on your site needs.
Other properties are allowed to default here, but you may set as needed.
Additional binding elements may also be added.
-->
<behaviors>
<serviceBehaviors>
<behavior name="MyServiceTypeBehaviors">
<serviceMetadata httpGetEnabled="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<customBinding>
<binding name="compressedBinaryBinding"
closeTimeout="00:01:00"
openTimeout="00:01:00"
receiveTimeout="00:10:00"
sendTimeout="00:01:00">
<gzipMessageEncoding>
<readerQuotas
maxDepth="2147483647"
maxStringContentLength="2147483647"
maxArrayLength="2147483647" />
</gzipMessageEncoding>
<httpTransport maxReceivedMessageSize="2147483647" />
</binding>
</customBinding>
<wsDualHttpBinding>
<binding name="DualBinding" messageEncoding="Mtom" >
<security mode="None" />
</binding>
</wsDualHttpBinding>
</bindings>
<extensions>
<bindingElementExtensions>
<add name="gzipMessageEncoding" type="IdeaBlade.Core.Wcf.Extensions.GZipMessageEncodingElement, IdeaBlade.Core" />
</bindingElementExtensions>
</extensions>
</system.serviceModel>
I receive a
{"Content Type multipart/related; type=\"application/xop+xml\";start=\"<http://tempuri.org/0>\";boundary=\"uuid:9aeaeae3-6eaa-4001-a9da-085c2cf8fbf4+id=1\";start-info=\"application/soap+xml\" was not supported by service http://localhost:9009/EntityService.svc/NotificationService. The client and service bindings may be mismatched."}
and here's a piece of log
| 2012-01-11 | 15:01:15 |
| IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport | CompositionContext: '-IbDefault-' - Probed for non-default 'IKnownTypeProvider' and found no matching exports. |
| 2012-01-11 | 15:01:15 |
| IdeaBlade.EntityModel.RemoteServiceFns:AddSerializationBehavior | Using DC serializer for EntityServer |
| 2012-01-11 | 15:01:15 |
| IdeaBlade.EntityModel.RemoteServiceFns:AddSerializationBehavior | Using DC serializer for NotificationService |
| 2012-01-11 | 15:01:15 |
| IdeaBlade.EntityModel.Server.EntityServerHostFactory:CreateServiceHost | EntityServer listening on http://localhost:9009/EntityServer.svc |
| 2012-01-11 | 15:01:15 |
| IdeaBlade.EntityModel.Server.EntityServerHostFactory:CreateServiceHost | EntityServer listening on http://localhost:9009/EntityServer.svc/NotificationService |
| 2012-01-11 | 15:01:19 |
| IdeaBlade.Core.Composition.CompositionHost:CheckSingleExport | CompositionContext:
'-IbDefault-' - Probed for default 'IDataSourceKeyResolver' and found
'IdeaBlade.EntityModel.DefaultDataSourceKeyResolver'. |
| 2012-01-11 | 15:01:19 |
| IdeaBlade.Core.Composition.CompositionHost:CheckSingleExport | CompositionContext:
'-IbDefault-' - Probed for any 'EntityServerQueryInterceptor' and found
'IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor'. |
What have I to check?