Webservice error with non-alphanumeric data

  • Thread starter Thread starter chris fellows
  • Start date Start date
C

chris fellows

I have a C# webservice with a web method that accepts a string parameter
that contains encrypted data. For some parameter values with
non-alphanumeric values then the web method fails with an HTTP status 400.
Is there a way to prevent this error from happening?

Obviously I can write a method to encode the encrypted parameter so that it
only contains alphanumeric data but then I have to do the reverse in the web
service.
 
Back
Top