error passing byte[] of encrypted data to Web Service
From: ChuckD_Duncan (cduncan_at_nospam.guardianangelcorp.com)
Date: 05/28/05
- Previous message: Jakob Nielsen: "Re: sslstream and certificates"
- Next in thread: Yunus Emre ALPÖZEN [MCSD.NET]: "Re: error passing byte[] of encrypted data to Web Service"
- Reply: Yunus Emre ALPÖZEN [MCSD.NET]: "Re: error passing byte[] of encrypted data to Web Service"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 28 May 2005 09:44:14 -0400
Have Web Service: bool Login( byte[] A, byte[] B );
If I just send a couple of simple strings, it works fine ... as in:
byte[] A = Encoding.Default.GetBytes("First");
byte[] B = Encoding.Default.GetBytes("Last");
but changing A to a 100+ byte encypted sequence of bytes, causes an
error:
An unhandled exception of type
'System.Web.Services.Protocols.SoapException' occurred in
system.web.services.dll
Additional information: Server was unable to process request. --> Object
reference not set to an instance of an object.
Obviously happening at the SOAP level. (Server is Win 2K .NET Framework
1.0, client is XP, .NET/Latest, but tried it on localhost (XP) )
Any thoughts??
Thanks in advance.
Chuck
- Previous message: Jakob Nielsen: "Re: sslstream and certificates"
- Next in thread: Yunus Emre ALPÖZEN [MCSD.NET]: "Re: error passing byte[] of encrypted data to Web Service"
- Reply: Yunus Emre ALPÖZEN [MCSD.NET]: "Re: error passing byte[] of encrypted data to Web Service"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|