0 Replies Latest reply on Apr 8, 2007 12:36 PM by mmouchet

    Cant Connect to my WSDL

    mmouchet
      Hey,
      I seem to be running into this problem with trying to connect to my WSDL using the MX:WEBSERVICE. I have successfully created Java Apps which utilize this WSDL without and problems before but when I try to simply connect to the WSDL itself using Flex Im having no luck.

      Here is the code I am using to connect to it:

      <mx:WebService id="serviceID"
      service="SessionLoginService"
      port="SessionLoginPort"
      wsdl=" http://michael.communityzero.com/ws/api/Session.wsdl"></mx:WebService>

      I am running the Flex files from michael.communityzero.com/cobrand/cobrand/cb3280/images/main.swf so I didnt think there would be any problems trying to connect to it.

      This is the error that keeps appearing:

      [RPC Fault faultString="The WSDL parser had no registered document for the namespace ''" faultCode="WSDL.UnrecognizedNamespace" faultDetail="null"]
      at mx.rpc.soap::WSDLParser/::dispatchFault()
      at mx.rpc.soap::WSDLParser/ http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()
      at mx.rpc::Responder/result()
      at mx.rpc::AsyncRequest/acknowledge()
      at ::DirectHTTPMessageResponder/completeHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/flash.net:URLLoader::onComplete()

      Could someone take a look at my WSDL and see if there is anything particularly wrong with it. Or does anyone else know how to get it to work. Anything would be greatly appreciated because this little problem is really holding back the project.

      Thank you!!
      Mikey