Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. XML soap Problem

XML soap Problem

Scheduled Pinned Locked Moved C#
xmlwcfhelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    felopater
    wrote on last edited by
    #1

    hii all; i got a serious problem. i return an xml file in a string from web service. when its serialized the xml serializer replaces tages '<' with its unicode &.. which make a problem to me. how can i force the serializer to make some how my xml string const ,commented and don't change tages. by the way i don't want change values to tages again with my own i wanted to be back as tages. Thanks in advance. marcoryos

    G 1 Reply Last reply
    0
    • F felopater

      hii all; i got a serious problem. i return an xml file in a string from web service. when its serialized the xml serializer replaces tages '<' with its unicode &.. which make a problem to me. how can i force the serializer to make some how my xml string const ,commented and don't change tages. by the way i don't want change values to tages again with my own i wanted to be back as tages. Thanks in advance. marcoryos

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      You mean that the data is html encoded? "" turns into "<tag>"? This is obviously needed if you put an xml document as data inside another xml document, as web services use xml to send the data. When the soap message is parsed the data will be restored to it's original state. --- b { font-weight: normal; }

      F 1 Reply Last reply
      0
      • G Guffa

        You mean that the data is html encoded? "" turns into "<tag>"? This is obviously needed if you put an xml document as data inside another xml document, as web services use xml to send the data. When the soap message is parsed the data will be restored to it's original state. --- b { font-weight: normal; }

        F Offline
        F Offline
        felopater
        wrote on last edited by
        #3

        yes but the problem is when i got the data back i don't wanna parse it i wanna save it as its on xml file. The destenation program written in c standard so i have to change the the codes by my self into tages which headach i don't want to. is there any way to transfer file without allowing soap serializer to do soo. i tried to comment xml tages and use CDATA but it changes to:doh: marcoryos

        G 1 Reply Last reply
        0
        • F felopater

          yes but the problem is when i got the data back i don't wanna parse it i wanna save it as its on xml file. The destenation program written in c standard so i have to change the the codes by my self into tages which headach i don't want to. is there any way to transfer file without allowing soap serializer to do soo. i tried to comment xml tages and use CDATA but it changes to:doh: marcoryos

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          If you don't want to parse the response, just save it as it is. But you won't get the data from the response before you parse it. --- b { font-weight: normal; }

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups