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. Other Discussions
  3. The Weird and The Wonderful
  4. Webservice!!!!

Webservice!!!!

Scheduled Pinned Locked Moved The Weird and The Wonderful
help
4 Posts 4 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.
  • J Offline
    J Offline
    jchigg2000
    wrote on last edited by
    #1

    I learned from a senior system's analyst today that you should never pass a class you created back from a webservice. Since he was wanting to pass a dataset back and also the exception message if one occurred, he decided it was better to send back an empty dataset and have the webservice write a file to the users machine if it generated an error! Why couldn't I think of that!!! :sigh:

    P V 2 Replies Last reply
    0
    • J jchigg2000

      I learned from a senior system's analyst today that you should never pass a class you created back from a webservice. Since he was wanting to pass a dataset back and also the exception message if one occurred, he decided it was better to send back an empty dataset and have the webservice write a file to the users machine if it generated an error! Why couldn't I think of that!!! :sigh:

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      jchigg2000 wrote:

      a senior system's analyst

      I assume you mean that he was just old or out of touch. Why on earth does he think you can't pass a class back? More importantly, why's he passing a DataSet back? DataSets are really bad practice when you're developing a web service - they are bloated and not interoperable with other platforms without extra development effort. Mind you, there are so many WTFs in his solution that I can't begin to allude to the horror in it.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      P 1 Reply Last reply
      0
      • P Pete OHanlon

        jchigg2000 wrote:

        a senior system's analyst

        I assume you mean that he was just old or out of touch. Why on earth does he think you can't pass a class back? More importantly, why's he passing a DataSet back? DataSets are really bad practice when you're developing a web service - they are bloated and not interoperable with other platforms without extra development effort. Mind you, there are so many WTFs in his solution that I can't begin to allude to the horror in it.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Pete O'Hanlon wrote:

        there are so many WTFs in his solution that I can't begin to allude to the horror in it

        I ditto that.

        "I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon

        1 Reply Last reply
        0
        • J jchigg2000

          I learned from a senior system's analyst today that you should never pass a class you created back from a webservice. Since he was wanting to pass a dataset back and also the exception message if one occurred, he decided it was better to send back an empty dataset and have the webservice write a file to the users machine if it generated an error! Why couldn't I think of that!!! :sigh:

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          jchigg2000 wrote:

          a senior system's analyst

          He might be a senior system analyst just by virtue of his experience in date and time calendar. But adjudging him through his wise (pros) and vices (cons) in programming, he should truly be classified as a junior most crap :wtf: .

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

          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