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. Web Development
  3. ASP.NET
  4. SoapException problem - Still nobody?

SoapException problem - Still nobody?

Scheduled Pinned Locked Moved ASP.NET
helpwcfxmltutorialquestion
4 Posts 3 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.
  • M Offline
    M Offline
    matthias s 0
    wrote on last edited by
    #1

    sorry for reposting this but i really need help on this one. i'm trying to fire a SoapException (thus returning it to my client) when an exception occurs. i've followed the steps in the documentation on how to set up a proper soap message (especially on how to provide a Details XmlNode). but once i run my webservice through the browser and call a webmethod firing such exception, i only get the Message-part of the SoapException back (as a string). what i'd need to get is a properly formatted SoapException with all the details i initially provided. does anyone know this problem? i guess i'm missing here something essential. kind regards!

    /matthias

    I love deadlines. I like the whooshing sound they make as they fly by.
    [Douglas Adams]

    C C 3 Replies Last reply
    0
    • M matthias s 0

      sorry for reposting this but i really need help on this one. i'm trying to fire a SoapException (thus returning it to my client) when an exception occurs. i've followed the steps in the documentation on how to set up a proper soap message (especially on how to provide a Details XmlNode). but once i run my webservice through the browser and call a webmethod firing such exception, i only get the Message-part of the SoapException back (as a string). what i'd need to get is a properly formatted SoapException with all the details i initially provided. does anyone know this problem? i guess i'm missing here something essential. kind regards!

      /matthias

      I love deadlines. I like the whooshing sound they make as they fly by.
      [Douglas Adams]

      C Offline
      C Offline
      codelinks
      wrote on last edited by
      #2

      i havent got much idea about this,,, but i took this code from a thread posetd by a guy check it out http://www.thescripts.com/forum/thread293794.html Example: MyCustomWebServiceException : soapException { private string _MyCustomProperty; public string MyCustomProperty { get { return _MyCustomProperty; } } public MyCustomWebServiceException(string message, XmlQualifiedName code, string CustomParameter) : base(string message, XmlQualifiedName code) { _MyCustomProperty = CustomParameter; } } -- HTH, Kevin Spencer Microsoft MVP ..Net Developer

      winnie

      1 Reply Last reply
      0
      • M matthias s 0

        sorry for reposting this but i really need help on this one. i'm trying to fire a SoapException (thus returning it to my client) when an exception occurs. i've followed the steps in the documentation on how to set up a proper soap message (especially on how to provide a Details XmlNode). but once i run my webservice through the browser and call a webmethod firing such exception, i only get the Message-part of the SoapException back (as a string). what i'd need to get is a properly formatted SoapException with all the details i initially provided. does anyone know this problem? i guess i'm missing here something essential. kind regards!

        /matthias

        I love deadlines. I like the whooshing sound they make as they fly by.
        [Douglas Adams]

        C Offline
        C Offline
        codelinks
        wrote on last edited by
        #3

        check these links http://www.developer.com/net/csharp/print.php/10918\_3088231\_2 http://www.developer.com/net/csharp/article.php/10918\_3088231\_1 http://sivasakki.blogspot.com/2007/05/soapexception-for-webservices.html

        winnie

        1 Reply Last reply
        0
        • M matthias s 0

          sorry for reposting this but i really need help on this one. i'm trying to fire a SoapException (thus returning it to my client) when an exception occurs. i've followed the steps in the documentation on how to set up a proper soap message (especially on how to provide a Details XmlNode). but once i run my webservice through the browser and call a webmethod firing such exception, i only get the Message-part of the SoapException back (as a string). what i'd need to get is a properly formatted SoapException with all the details i initially provided. does anyone know this problem? i guess i'm missing here something essential. kind regards!

          /matthias

          I love deadlines. I like the whooshing sound they make as they fly by.
          [Douglas Adams]

          C Offline
          C Offline
          ChrisKo 0
          wrote on last edited by
          #4

          and one more URL to check: CP Soap Exception[^]

          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