Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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:

HTML
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)
Posted

1 solution

Hi db7uk,

Did you created a queue in Azure before ? The Crm service endpoint requires a 'path' (when you registered it) which is your Azure Service Bus queue.

I have this same issue when the queue does not exist anymore, and i am currently trying to know why the queue is expired.
 
Share this answer
 
Comments
db7uk 9-Jan-15 11:33am    
Hi, thanks for the message. Sorry for the late reply. I have been looking at this with Microsoft Development. They are not sure what the issue is and it has been several days now of trying to work it out. In answer to your question, yes I created the azure queue before the setting up the service endpoint. The problem I have is that I cannot save and verify correctly if I use the full path to the queue. I have to use the base address which authenticates correctly but does not find the service URL for some reason. MS are strugling to work this one out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900