Home Page › Forums › BizTalk 2004 – BizTalk 2010 › WCF-BasicHttp: Strange Behaviour
- This topic has 2 replies, 1 voice, and was last updated 9 years ago by
community-content.
-
AuthorPosts
-
-
September 4, 2008 at 10:57 PM #20594
Hello,
I had a project up and running where BTS sent an XML to a WS via WCF. The whole thing ran on a VM. The server with the VM crashed and it was set up from a saved image on a new server again. I had to un- and reinstall BTS due to severe problems concerning the SQL DBs. Now that it’s running again I imported the project mentioned above. All settings are the same, yet when I try to send an XML I get the following NAck:
System.ServiceModel.Security.MessageSecurityException: The HTTP
request is unauthorized with client authentication scheme ‘Ntlm’. The
authentication header received from the server was ‘Negotiate,Kerberos,NTLM’.
—> System.Net.WebException: The remote server returned an error: (401)
Unauthorized. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult
asyncResult) at
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(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)I tried to create the physical port from scratch and even recreated the WCF-Binding in the orchestration, but to no avail.
I’ve seen the error before, but that was with SOAP stuff. I couldn’t really solve it. Has anyone a clue what’s happening now ?
-
September 4, 2008 at 11:22 PM #20595
Sorry, I just had to use a valid account for the host.
Problem solved !
-
May 25, 2009 at 6:40 AM #22475
Hi Michael,
I am param (.NET developer) newbie to WCF.
I am facing the same problem that you have solved,
details:
1. i have a windows service (client) in one server,
2. i have a IIS hosted WCF service (server) application in another server.
3. i am using integrated windows authentication with wsHttpBinding.
Could you please provide the steps how you solved the problem.
Apperitiate your help.
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.