Migrate WSE 2.0 web services from Windows 2003 to Windows 2008 R2?

1.1k views Asked by At

Just wondering if it is possible to migrate WSE 2.0 web services (.asmx) from a Windows 2003 server to a Windows 2008 R2 server (IIS 7)? A further complication is that the services uses x509 certificates for security purposes.

I have copied the services from a Windows 2003 server onto the Windows 2008 R2 server, created them as web applications through IIS 7, and they show up in their URLs just fine. However when I call the services via SOAP I get SOAP header exceptions:

System.Web.Services.Protocols.SoapException: 
System.Web.Services.Protocols.SoapHeaderException: 
SOAP header Security was not understood.
at System.Web.Services.Protocols.SoapHeaderHandling.SetHeaderMembers(
SoapHeaderCollection headers, Object target, SoapHeaderMapping[] mappings, 
SoapHeaderDirection direction, Boolean 
client)
at System.Web.Services.Protocols.SoapServerProtocol.CreateServerInstance()
at System.Web.Services.Protocols.WebServiceHandler.Invoke()
at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
at Microsoft.Web.Services2.Messaging.SoapClient.SendRequestResponse(
String methodname, SoapEnvelope envelope)
at RawSoapCaller.RawSoapCall.getRawSoapResponseText() in 
C:\Data\ISHS\metadata_framework\RawSoapCaller\RawSoapCaller\RawSoapCall.cs:line 59

Can anyone help me figure out if what I am doing is possible, and if so, what might be my problem here? Or what alternative approaches I might take to migrate the WSE 2.0 services from Windows 2003 to Windows 2008?

1

There are 1 answers

3
NotMe On BEST ANSWER

Sounds like you haven't properly transferred your certificates.

Try here: http://msdn.microsoft.com/en-us/library/ms824840.aspx