Re: error passing byte[] of encrypted data to Web Service
From: Yunus Emre ALPÖZEN [MCSD.NET] (yemre_at_msakademik.net)
Date: 05/29/05
- Next message: Yunus Emre ALPÖZEN [MCSD.NET]: "Re: .Net Authorization and NTFS permissions"
- Previous message: maidoo: "web application development user rights req"
- In reply to: ChuckD_Duncan: "error passing byte[] of encrypted data to Web Service"
- Next in thread: ChuckD_Duncan: "Re: error passing byte[] of encrypted data to Web Service"
- Reply: ChuckD_Duncan: "Re: error passing byte[] of encrypted data to Web Service"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 29 May 2005 18:00:20 +0300
My advice uy to use strings instead of byte arrays..
But, as error indicating, it is a null pointer exception. There is no limit
with byte arrays. Just check if you successfully construct your byte
arrays..
--
Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
"ChuckD_Duncan" <cduncan@nospam.guardianangelcorp.com> wrote in message
news:5d96ef79d912558faf5284a971dad2ac@localhost.talkaboutsoftware.com...
> 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
>
- Next message: Yunus Emre ALPÖZEN [MCSD.NET]: "Re: .Net Authorization and NTFS permissions"
- Previous message: maidoo: "web application development user rights req"
- In reply to: ChuckD_Duncan: "error passing byte[] of encrypted data to Web Service"
- Next in thread: ChuckD_Duncan: "Re: error passing byte[] of encrypted data to Web Service"
- Reply: ChuckD_Duncan: "Re: error passing byte[] of encrypted data to Web Service"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|