a sample web service to return SOAP fault message for application error

Discussion in 'ASP .Net Web Services' started by rahulkr.iitk@gmail.com, Nov 5, 2007.

  1. Guest

    Hi,

    I'm looking for a free web service, which can return back SOAP fault
    message in case of an application error filling <detail> element in
    SOAP.
    I couldn't find one on xmethods.net.
    , Nov 5, 2007
    #1
    1. Advertising

  2. <> wrote in message
    news:...
    > Hi,
    >
    > I'm looking for a free web service, which can return back SOAP fault
    > message in case of an application error filling <detail> element in
    > SOAP.
    > I couldn't find one on xmethods.net.


    All you have to do is throw a SoapException. Look up SoapException on MSDN
    and you'll see how to fill in the <detail/> element.
    --
    --------------------------------------------------------------------------------
    John Saunders | MVP - Windows Server System - Connected System Developer
    John Saunders [MVP], Nov 7, 2007
    #2
    1. Advertising

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. jack
    Replies:
    0
    Views:
    702
  2. rabbits77
    Replies:
    0
    Views:
    859
    rabbits77
    Feb 26, 2004
  3. sqlman
    Replies:
    2
    Views:
    1,646
  4. Mullin Yu

    How to return a custom defined soap error message

    Mullin Yu, Jan 20, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    150
    Jan Tielens
    Jan 20, 2004
  5. Jon Bonnick
    Replies:
    0
    Views:
    199
    Jon Bonnick
    Mar 30, 2005
Loading...

Share This Page