That depends on the SOAP stack you use. But why do you need that code? You shouldn't tie the service to a particular transport; if you need an error/status code you can make it part of the SOAP response.
Joined: Nov 24, 2008
Actually in Webservices am having an handler at the client side, below the sample code