0 Replies Latest reply on Jan 18, 2011 12:33 AM by vineet osho

    Web Service load Exception

    vineet osho Level 1

      Hi Frnds

                    i am working in a web application in which i have to hit webservice deployed on java server.but when my webservice url is not online than it shows that run time exception like this

       

      RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://localhost:8081/PricingControllerWebService/PricingWebService?WSDL)"]
          at mx.rpc.wsdl::WSDLLoader/faultHandler()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDLLoader.as:103]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.0.0\frameworks\pro jects\rpc\src\mx\rpc\http\HTTPService.as:989]
          at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\4.0.0\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:350]
          at mx.rpc::Responder/fault()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:68 ]
          at mx.rpc::AsyncRequest/fault()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:113]
          at DirectHTTPMessageResponder/errorHandler()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\mes saging\channels\DirectHTTPChannel.as:405]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()


      can any body tell me how to catch that exception.?

       

      Regards

      Vineet Osho