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. Some data gets lost between WCF server and client

Some data gets lost between WCF server and client

Scheduled Pinned Locked Moved C#
questioncsharpwcfsysadmindata-structures
7 Posts 5 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.
  • T Offline
    T Offline
    teknolog123
    wrote on last edited by
    #1

    hi, I'm sending text+numbers from a wcf client to a wcf server in a multidimensional array. The data arrives but if I'm sending eg. "4 Drinks" it arrives as "1 Drinks" (what ever the number is, it arrives as 1) This happens frequently and sometimes it arrives without any change. I tried a special class instead of array but it's the same. So I think WCF has a problem. The question is: -Do I need to use message security to solve it? Or your recommendation? - if yes, does mes.security have bad impact on performance? Thanks for reading, would appreciate if answered

    OriginalGriffO A 2 Replies Last reply
    0
    • T teknolog123

      hi, I'm sending text+numbers from a wcf client to a wcf server in a multidimensional array. The data arrives but if I'm sending eg. "4 Drinks" it arrives as "1 Drinks" (what ever the number is, it arrives as 1) This happens frequently and sometimes it arrives without any change. I tried a special class instead of array but it's the same. So I think WCF has a problem. The question is: -Do I need to use message security to solve it? Or your recommendation? - if yes, does mes.security have bad impact on performance? Thanks for reading, would appreciate if answered

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      teknolog123 wrote:

      I tried a special class instead of array but it's the same. So I think WCF has a problem.

      Doubtful. I suggest that you look at your code - at both ends - and see what is happening. I seriously doubt that a bug that severe would still be unnoticed (let alone unfixed) after this long. Without the relevant code fragments, we can really do no more...

      Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      L T 2 Replies Last reply
      0
      • T teknolog123

        hi, I'm sending text+numbers from a wcf client to a wcf server in a multidimensional array. The data arrives but if I'm sending eg. "4 Drinks" it arrives as "1 Drinks" (what ever the number is, it arrives as 1) This happens frequently and sometimes it arrives without any change. I tried a special class instead of array but it's the same. So I think WCF has a problem. The question is: -Do I need to use message security to solve it? Or your recommendation? - if yes, does mes.security have bad impact on performance? Thanks for reading, would appreciate if answered

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        Use a tool like Fiddler to look at the web service request and response. It should give you a fair idea where your problem lies.

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          teknolog123 wrote:

          I tried a special class instead of array but it's the same. So I think WCF has a problem.

          Doubtful. I suggest that you look at your code - at both ends - and see what is happening. I seriously doubt that a bug that severe would still be unnoticed (let alone unfixed) after this long. Without the relevant code fragments, we can really do no more...

          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          3 out of 4 drinks disappearing? on a Friday? is he using a British carrier? Have the regular "so long suckers" messages popped up in the Lounge yet? :)

          Luc Pattyn [My Articles] Nil Volentibus Arduum

          OriginalGriffO 1 Reply Last reply
          0
          • L Luc Pattyn

            3 out of 4 drinks disappearing? on a Friday? is he using a British carrier? Have the regular "so long suckers" messages popped up in the Lounge yet? :)

            Luc Pattyn [My Articles] Nil Volentibus Arduum

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #5

            I'll have you know Nagy is Hungarian! :laugh:

            Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            D 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              I'll have you know Nagy is Hungarian! :laugh:

              Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

              D Offline
              D Offline
              Dennis E White
              wrote on last edited by
              #6

              sounds like a loose network conntection... check the floor behind the computer and I bet you will spilled drinks all over the place. :-D

              as if the facebook, twitter and message boards weren't enough - blogged

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                teknolog123 wrote:

                I tried a special class instead of array but it's the same. So I think WCF has a problem.

                Doubtful. I suggest that you look at your code - at both ends - and see what is happening. I seriously doubt that a bug that severe would still be unnoticed (let alone unfixed) after this long. Without the relevant code fragments, we can really do no more...

                Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                T Offline
                T Offline
                teknolog123
                wrote on last edited by
                #7

                thanks.

                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