I am trying to call Internal IBM Integration Bus(IIB) service from CRM Plugins, but it is not working, it is throwing following exception. If i try to call same service from .Net application, it works fine. can you pls let me know what could be the problem? Service should be exposed to internet always to call from CRM Online Plugins?
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Unexpected exception from plug-in (Execute): CRM.Plugins.Contact.Contact: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at esb1.stdev.test.com/.../PartyLookupService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220956</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Unexpected exception from plug-in (Execute): CRM.Plugins.Contact.Contact: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at esb1.stdev.test.com/.../PartyLookupService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.</Message>
<Timestamp>2017-06-06T13:38:24.9105376Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource>PluginExecution</ExceptionSource>
<InnerFault>
<ErrorCode>-2147220956</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>The remote name could not be resolved: 'esb1.stdev.test.com'CRM.Plugins.Contact.Contact: System.Net.WebException: The remote name could not be resolved: 'esb1.stdev.test.com'</Message>
<Timestamp>2017-06-06T13:38:24.9105376Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException>System.ServiceModel.EndpointNotFoundException
*This post is locked for comments