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.
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.
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