Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Using Virtual Earth WCF service from BizTalk using WCF basic http adapter
- This topic has 0 replies, 1 voice, and was last updated 8 years, 3 months ago by
community-content.
-
AuthorPosts
-
-
December 12, 2008 at 12:16 AM #21360
I am able to use Virtual Earth Service through C# code without any problem.
I am also able to call a local WCF service from Biztalk using WCF basic HTTP adapter.
However when I try to call the Virtual Earth Service using WCF basic HTTP adapter I am getting an error
A message sent to adapter “WCF-BasicHttp” on send port “WcfSendPort_GeocodeService_BasicHttpBinding_IGeocodeService” with URI “http://staging.dev.virtualearth.net/webservices/v1/geocodeservice/GeocodeService.svc” is suspended.
Error details: System.ServiceModel.EndpointNotFoundException: Could not connect to http://staging.dev.virtualearth.net/webservices/v1/geocodeservice/GeocodeService.svc. TCP error code 10061: No connection could be made because the target machine actively refused it 65.55.242.70:80. —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 65.55.242.70:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStreamAsyncResult.CompleteGetRequestStream(IAsyncResult result)
— End of inner exception stack trace —
Server stack trace:
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
Exception rethrown at [0]:
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.Channels.IRequestChannel.EndRequest(IAsyncResult result)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)
MessageId: {FC13E322-6112-4EB0-9989-64E1FEEB3324}
InstanceID: {16FF77FA-3994-425E-8FD8-2D8673596D1B}
The end point mentioned in port is working fine. Can anyone please point out the reason?
Does the WCF adapter work in a different manner for BizTalk?
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.