0 Replies Latest reply on Apr 5, 2007 10:15 AM by mmouchet

    Connect to SOAP Web Services over Flex

    mmouchet
      Hey,
      Ive been trying to connect to my companies web services through Flex for the last week or so and Ive hit a road block and cant seem to figure out why it isnt working.

      Im trying to connect to the following WSDL: http://michael.communityzero.com/ws/api/Session.wsdl

      Using every possible example I can find Ive probably tried to connect atleast 10 different ways in Flex Builder 2 but I keep getting the same error to appear:

      [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()

      Is there a problem with my WSDL?? Ive been successfully able to connect to it using SoapScope (a Web Services testing envrioment) and also through a Java Applet I created.

      If someone could point me in the right direction it would be GREATLY appreciated but Im uber stuck on this.

      Thanks!
      Mikey