RE: asp.net WS support for CF platforms
From: Ercan Turkarslan [MS] (a-ercant_at_microsoft.com)
Date: 03/23/04
- Next message: [MSFT]: "Re: Webservice and ServicedComponent?"
- Previous message: Steve'Abbey: "aspnet running off with memory"
- In reply to: Chuck: "RE: asp.net WS support for CF platforms"
- Next in thread: Ercan Turkarslan [MS]: "RE: asp.net WS support for CF platforms"
- Reply: Ercan Turkarslan [MS]: "RE: asp.net WS support for CF platforms"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 23:48:58 GMT
Hi Chuck,
I have investigated your issue and could not find any documentation
refering to ASP .NET WS Enhancements support for .NET CF.
If you do not want to use SSL, you may implement a custom form of channel
security when using XML Web Services by employing a SOAP extension. SOAP
pre and postprocessor provides extensibility to the normal ASP .NET
processing of a Web Service and can be used by both the Web application
hosting the Web Service in IIS and in the Compact Framework application
that consumes the Web Service on the device.
You can develop the extension by creating a class that inherits from the
SoapExtension class in the System.Web.Services.Protocols namespace. Within
in the class, you can override methods such as ProcessMessage and
ChainStream to inspect and alter the message, for example, to encrypt and
decrypt the body of a SOAP emssage by calling private methods in the class.
Encrypt/Decrypt is another story which you should be very careful. .NET CF
does not provide necessary methods for encryption/decryption. However you
can p/invoke down to Crypto API of Windows CE .NET. You should be very
careful while encrypting/decrypting as this process will be divided between
the desktop and the device. You should be using the same key, same key size
and same algorithms on both platforms. By default Pocket PC 2002 does not
support 128-bit encryption. If you are targeting both '02 and '03 devices,
you should better set your key size to 40-bits or install High Encryption
Pack to PPC 2002 devices.
Thanks
Ercan
Support Engineer
Microsoft Mobile Devices Division
Developer Support
- Next message: [MSFT]: "Re: Webservice and ServicedComponent?"
- Previous message: Steve'Abbey: "aspnet running off with memory"
- In reply to: Chuck: "RE: asp.net WS support for CF platforms"
- Next in thread: Ercan Turkarslan [MS]: "RE: asp.net WS support for CF platforms"
- Reply: Ercan Turkarslan [MS]: "RE: asp.net WS support for CF platforms"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|