I'm on the other side of a BizTalk 2009 integration, and I have a fairly simple contract stood up that looks something like this:
[ServiceContract(Name = "ReceiverService", Namespace = "http://services.company.org/")]
public interface IReceiverService : ILoadBalanced
{
[OperationContract]
void FinishedRouting(long applicationId);
[OperationContract]
void ResponsePending(long applicationId, string stringId, short count);
[OperationContract]
void ReportException(long applicationId, string errorMessage, string stringId);
[OperationContract]
void SaveResponse(WebResponseDto decision);
}
However, when the BizTalk group attempts to use the WCF Service Consuming Wizard, it chokes and provides this stack trace:
[5096] System.NullReferenceException: Object reference not set to an instance of an object.
[5096] at Microsoft.BizTalk.Adapter.Wcf.Consuming.Exporters.BindingInfoExporter.CreatePrimaryTransport(ServiceEndpoint serviceEndpoint, Boolean custom)
[5096] at Microsoft.BizTalk.Adapter.Wcf.Consuming.Exporters.BindingInfoExporter.CreateSendPort(ServiceEndpoint endpoint, Port port, Boolean custom)
[5096] at Microsoft.BizTalk.Adapter.Wcf.Consuming.Exporters.BindingInfoExporter.Export(ServiceEndpointCollection endpoints, ServiceDescriptionCollection wsdlDocuments, Boolean custom)
[5096] at Microsoft.BizTalk.Adapter.Wcf.Consuming.Consumer.CreateBindingFiles(MetadataSet metadataSet, String serviceName)
And then again here:
[5096] System.NullReferenceException: Object reference not set to an instance of an object.
[5096] at Microsoft.BizTalk.Adapter.Wcf.Consuming.Implementation.ClientImplementation.AddFilesToProject(String schemaNamespace)
[5096] System.NullReferenceException: Object reference not set to an instance of an object.
[5096] at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
[5096] at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
[5096] at Microsoft.BizTalk.Adapter.Wcf.Consuming.Consumer.Consume(ISynchronizeInvoke synchronizeInvoke, DTE dte, MetadataSet metadataSet, Project project, String importNamespace)
Anyone know where to start looking on this one?