[rabbitmq-discuss] WCF .net problems
kecke
info at travo.se
Fri Jan 18 15:22:43 GMT 2013
Seems that the app.configs where cut off, here it is:
The clients app config:
<system.serviceModel>
<extensions>
<bindingExtensions>
<add
name="rabbitMQBinding"
type="RabbitMQ.ServiceModel.RabbitMQBindingSection,
RabbitMQ.ServiceModel, Version=1.0.110.0, Culture=neutral,
PublicKeyToken=null"/>
</bindingExtensions>
</extensions>
<client>
<endpoint address="soap.amqp:///UpdateSparePartListQue"
binding="rabbitMQBinding"
behaviorConfiguration
="CabasUpdateSparePartListServiceBehavior"
bindingConfiguration="rabbitMQConfig"
contract="CabasUpdateSparePartListServiceReference.ICabasUpdateSparePartListService"
name="RabbitMQBinding_ICabasUpdateSparePartListService"
/>
</client>
<bindings>
<rabbitMQBinding>
<binding name="rabbitMQConfig"
hostname="localhost"
port="5672"
protocolversion="AMQP_0_9_1"
oneWay="true"
maxmessagesize="2147483647"
/>
</rabbitMQBinding>
</bindings>
</behaviors>
<endpointBehaviors>
<behavior name="CabasUpdateSparePartListServiceBehavior">
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
</behavior>
</behaviors>
</system.serviceModel>
--------------------------------------------------------
The consumers app.config:
<system.serviceModel>
<extensions>
<bindingExtensions>
<add
name="rabbitMQBinding"
type="RabbitMQ.ServiceModel.RabbitMQBindingSection,
RabbitMQ.ServiceModel, Version=1.0.110.0, Culture=neutral,
PublicKeyToken=null"/>
</bindingExtensions>
</extensions>
<bindings>
<rabbitMQBinding>
<binding name="rabbitMQConfig"
hostname="localhost"
port="5672"
protocolversion="AMQP_0_9_1"
oneWay="true"
maxmessagesize="2147483647"
/>
</rabbitMQBinding>
</bindings>
<services>
<service
name="CAB.CABAS.UPDATE.SERVICES.Services.CabasUpdateSparePartListService"
behaviorConfiguration="CAB.CABAS.UPDATE.SERVICES.Services.CabasUpdateSparePartListServiceBehavior">
<host>
<baseAddresses>
<add baseAddress = "soap.amqp:///" />
<add
baseAddress="http://localhost:8632/CABAS/CabasUpdateSparePartListService" />
</baseAddresses>
</host>
<endpoint
address="UpdateSparePartListQue"
binding="rabbitMQBinding"
bindingConfiguration="rabbitMQConfig"
contract="CAB.CABAS.UPDATE.SERVICES.Services.ICabasUpdateSparePartListService"/>
<endpoint address="mex" binding="mexHttpBinding"
bindingConfiguration=""
name="mexEndpoint"
contract="CAB.CABAS.UPDATE.SERVICES.Services.ICabasUpdateSparePartListService"
/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior
name="CAB.CABAS.UPDATE.SERVICES.Services.CabasUpdateSparePartListServiceBehavior">
<serviceMetadata httpGetEnabled="True"/>
<serviceDebug includeExceptionDetailInFaults="True"/>
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
</behavior>
</serviceBehaviors>
</behaviors>
--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/WCF-net-problems-tp24561p24562.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss
mailing list