[rabbitmq-discuss] WCF (RabbitMQ.ServiceModel.Test) examples failing
Hussein Said
hsaid at plantcml-eads.com
Wed Nov 10 20:50:33 GMT 2010
Hello,
I had to modify the RabbitMQChannelListenerBase.cs in ServiceModel so
that it uses amq.direct exchange as oppsed to the default exchange.
Line 93: m_listenUri = new Uri(new
Uri("soap.amqp://amq.direct/"), Guid.NewGuid().ToString());
I hate to modify the source code(in this particular case), so can
someone from the development team confirm that the WCF ServiceModel
works with default exchanges, and if so, can you explain
Why it is failing?
thanks
-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com
[mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of hsaid
Sent: November 9, 2010 2:45 PM
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: [rabbitmq-discuss] WCF (RabbitMQ.ServiceModel.Test) examples
failing
Hi,
New to RabbitMQ, so pleas bear with me.
I have donwloaded and configuerd RQ as per instructions. The server is
up an
running.
I need to get the RabbitMQ.ServiceModel.Test tests to work. So far, I
managed to get the OneWayTest to pass. I had to change the new
ServiceHost(typeof(LogService), new Uri("soap.amqp:///")); to
new ServiceHost(typeof(LogService), new Uri("soap.amqp://amq.direct/"))
wich means for some reason, the default exchange was not working.
The remaining tests are failing. In particular, the TwoWayTest fails and
I
get
[14:44:02.2057888] TwoWayTest Failed:
OperationInterruptedException
The AMQP operation was interrupted: AMQP close-reason, initiated
by
Peer
, code=403, text="ACCESS_REFUSED - operation not permitted on the
default
exchange", classId=50, methodId=20, cause=
at RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply() in
C:\dev\RC
S-Berlin\rabbitmq-dotnet-client-2.1.1\projects\client\RabbitMQ.Client\sr
c\client
\impl\SimpleBlockingRpcContinuation.cs:line 87
at RabbitMQ.Client.Impl.ModelBase.ModelRpc(MethodBase method,
ContentHeaderBa
se header, Byte[] body) in
C:\dev\RCS-Berlin\rabbitmq-dotnet-client-2.1.1\projec
ts\client\RabbitMQ.Client\src\client\impl\ModelBase.cs:line 439
at RabbitMQ.Client.Framing.Impl.v0_9.Model.QueueBind(String queue,
String
exc...
Any ideas as to why the OneWayTest passes, but the others fails?
thanks
--
View this message in context:
http://old.nabble.com/WCF-%28RabbitMQ.ServiceModel.Test%29-examples-fail
ing-tp30174336p30174336.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list