if ((endpointConfiguration == EndpointConfiguration.Service_MDMSSoap12)) { System.ServiceModel.Channels.CustomBinding result = new System.ServiceModel.Channels.CustomBinding(); System.ServiceModel.Channels.TextMessageEncodingBindingElement textBindingElement = new System.ServiceModel.Channels.TextMessageEncodingBindingElement(); textBindingElement.MessageVersion = System.ServiceModel.Channels.MessageVersion.CreateVersion(System.ServiceModel.EnvelopeVersion.Soap12, System.ServiceModel.Channels.AddressingVersion.None); result.Elements.Add(textBindingElement); System.ServiceModel.Channels.HttpsTransportBindingElement httpsBindingElement = new System.ServiceModel.Channels.HttpsTransportBindingElement(); httpsBindingElement.AllowCookies = true; httpsBindingElement.MaxBufferSize = int.MaxValue; httpsBindingElement.MaxReceivedMessageSize = int.MaxValue; result.Elements.Add(httpsBindingElement); return result; } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } < /code> Wenn ich den Dienst aufrufe, erhalte ich die oben gezeigte Warnung. < /p> Service_MDMSSoapClient sv1 = new Service_MDMSSoapClient(0);
ArrayOfXElement a = sv1.GET_READ_IX(tungay, denngay, username, pass); [/code] Bitte helfen Sie mir, dieses Problem zu lösen.
Ich verwende den WCF -Kunden, um Anfrage an eine Regierungs -API zu senden. Sie gaben 2 Zertifikate, die für zwei Wege Authentifizierung und Verschlüsselung von Seifennachrichten und die andere für...
Ich versuche, einen Kunden gegen den SOAP -Webservice eines Kunden mit VS2013 und WCF zu schreiben. Der Webservice selbst steckt hinter ihrer Firewall, also haben sie einen Proxy etabliert, den ich...
Ich bin ein wenig neu in diesem gesamten WebSocket- und SSL -Zertifikat. Ich konnte es mit regulärem WebSocket (WS: //) funktionieren, aber nicht sicheres WebSocket (WSS: //) aufgrund der Tatsache,...