Last post May 14, 2013 10:44 PM by Amy Peng - MSFT
May 13, 2013 12:47 AM|Mamboking|LINK
could you please tell, how will look this code if to use WCF instead of WSE3.0?
Public Class tcpclient
Public Function RequestResponseMethod(ByVal s1 As String, ByVal s2 As String) As String
Destination = New EndpointReference(New Uri("urn:" + s1), New Uri("somewebserviceurl"))
Dim env As New SoapEnvelope(System.Web.Services.Protocols.SoapProtocolVersion.Soap12)
Dim envResponse As SoapEnvelope = SendRequestResponse(s1, env)
May 14, 2013 10:44 PM|Amy Peng - MSFT|LINK
WSE 3.0 and WCF applications include wire-level interoperability and a common set of terminology. WSE 3.0 and WCF applications are wire-level interoperable based on the set of WS-* specifications that they both support. When a WSE 3.0 or WCF application
is developed there is a common set of terminology, such as the names of the turnkey security assertions in WSE and the authentication modes.
Although there are many similar aspects between the WCF and ASP.NET or WSE 3.0 programming models, they are different. For details about the WCF programming model, see Basic Programming Lifecycle.
To migrate a WSE Web service to WCF the ServiceModel Metadata Utility Tool (Svcutil.exe) tool can be used to generate a client.
For more information, please try to refer to:
#How to Migrating WSE 3.0 Web Services to WCF:
Here is a similar threads:
Hope it can help you.