Locked WSDL Fault Element

  • Friday, May 11, 2012 3:01 PM
     
     

    Hi there,

    I am unable to expose the fault element in the WSDL created in visual studio 2005 webservice development. I need this fault element as my client application is developed in JAVA platform and it will consume our dot.net webservice. But I am unable to expose those fault elements for them.

    Can you please help?

    Thanks and Regards,

    Aniket

All Replies

  • Tuesday, May 15, 2012 4:46 AM
    Moderator
     
     

    There is no way to do that using the WSDL generated from an ASMX web service. The platform does not support faults.

    If you upgrade to .NET 3.5 or later, and Visual Studio 2008 or later, then you will be able to use WCF, which has full support for faults.


    John Saunders
    WCF is Web Services. They are not two separate things.
    Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
    Use File->New Project to create Web Service Projects

  • Tuesday, May 15, 2012 1:39 PM
     
     
    Thanks John..