Hi,
I have an issue with a service endpoint that I have created. The task I am trying to accomplish is to have the CRM platform post account / contact entities onto the Microsoft Azure Service Bus. Because this is CRM 2013 Online I cannot upload the Microsoft.ServiceBus.Dll assembly needed to communicated with the service bus.
Looking online it seems that you can create a service endpoint that effectively does this for you. It seems that if you create a service endpoint and have a plugin that will broker the entity onto the bus with a specified step (for example, an asynchronous update or create post-operation step), you will be able to query the queue and obtain the entity.
I have created the service endpoint, created the service bus but I am getting the following exception. I was really hoping that someone would have an idea..
Obviously the exception is stating that it cannot create a message because the service is not found, but I am not sure what service this is referring too?
Error Message:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Message could not be created: NotFound, No service is hosted at the specified address. TrackingId:5ad5e4eb-7e5b-4097-b738-c8d2ecb4ac08_G35,TimeStamp:12/12/2014 9:47:06 PMDetail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147204747</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Message could not be created: NotFound, No service is hosted at the specified address. TrackingId:5ad5e4eb-7e5b-4097-b738-c8d2ecb4ac08_G35,TimeStamp:12/12/2014 9:47:06 PM</Message>
<Timestamp>2014-12-12T21:47:06.1684956Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Message could not be created: NotFound, No service is hosted at the specified address. TrackingId:5ad5e4eb-7e5b-4097-b738-c8d2ecb4ac08_G35,TimeStamp:12/12/2014 9:47:06 PM</Message>
<Timestamp>2014-12-12T21:47:06.1684956Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText>[Microsoft.Crm.ServiceBus: Microsoft.Crm.ServiceBus.ServiceBusPlugin]
[977fee79-ef81-e411-9ab9-d89d67633d24: accountupdatedserviceendpoint: Update of account]
</TraceText>
</OrganizationServiceFault>
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)