Used the new version of MSE, and were able to successfully import the operations in. Now running into a problem when adding one of the operations to a runtime server we get an error stating "Error in InitializeRuntime: Contract requires Duplex, but
Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to support it." which was found in the mse_runtime.txt file. The developer who created this is developing in .NET 3.5 and using service model as the data contracts were auto generated.
That said, we created a wsDualHttp binding to determine if this would resolve the issue but get an error when trying to hit the service using the service testing tool. The stack trace is below of the error we get:
Failed to load Metadata for Service Uri [http://localhost:8089/DNPService] due to Error [Exception Information Type[InvalidOperationException] Source[System.ServiceModel]
Message[Metadata contains a reference that cannot be resolved: 'http://localhost:8089/DNPService'.] StackTrace[ at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)
at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)
at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)
at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(EndpointAddress address)
at Microsoft.MSE.Tools.MetadataLoader.Module.ServiceImporter.LoadServiceMetadata(Uri metadataUri, Boolean metaDataNeedCredentials, String metaDataUserId, SecureString
metaDataPassword)]Exception Information Type[CommunicationException] Source[mscorlib] Message[The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.] StackTrace[
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at :
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.ServiceModel.Description.IMetadataExchange.Get(Message request)
at System.ServiceModel.Description.MetadataExchangeClient.MetadataReferenceRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)
at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)]]
I looked into the svc log for the MSE runtime but didn't see anything that was related to the exception, but the .txt says its listening at the uri.
Can you guys shed some light onto this?