Web Service Marshalling changing \r\n to \n\n

Discussion in 'ASP .Net Web Services' started by wschaub, Sep 6, 2005.

  1. wschaub

    wschaub Guest

    Why is the Web Service marshalling code (xml serialisation) changing \r\n to
    \n\n, i.e. when passing a strign "Hello\r\nWorld" it arrives as
    "Hello\n\nWorld". Normally this is not a problem, however, we are generating
    a CRC on the data, which is obviously different after the conversion.

    Why is this happening and how can we avoid/force it from performing this
    transformation?
     
    wschaub, Sep 6, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hocho888
    Replies:
    1
    Views:
    844
  2. Michael Averstegge
    Replies:
    0
    Views:
    4,517
    Michael Averstegge
    Jan 10, 2006
  3. Not Me
    Replies:
    1
    Views:
    3,446
    Not Me
    Jun 5, 2007
  4. Isaias Formacio Serna

    Web Service that calls an external Web Service

    Isaias Formacio Serna, Jan 28, 2004, in forum: ASP .Net Security
    Replies:
    5
    Views:
    450
  5. Replies:
    1
    Views:
    389
    Joe Kaplan \(MVP - ADSI\)
    Jun 14, 2006
  6. dgleeson422111

    Consuming local web service - ok, remote web service -problem?

    dgleeson422111, Jan 26, 2010, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    1,069
    dgleeson422111
    Jan 26, 2010
  7. JC

    Calling a web service from a web service

    JC, Aug 16, 2003, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    243
    Tom Vande Stouwe MCSD.net
    Aug 20, 2003
  8. Leo Violette
    Replies:
    0
    Views:
    1,282
    Leo Violette
    Apr 17, 2009
Loading...