2 Replies Latest reply on May 21, 2007 8:13 AM by cbr985hd

    Webservice WSDL not loaded if using FireFox

    cbr985hd
      Hi @ll,

      currently I'm working on accessing a SAP web service (ABAP stack). The
      SAP system resides on a different host, so reading the cross-domain
      policy file is an issue, which requires HTTP basic authentication.

      While using Internet Explorer, everything works like a charm and as
      expected. Using the FireFox 2.0.0.3 version, the Flex application
      "hangs" after reading the cross-domain policy file. I introduced a 30s
      timeout, to see any response at all.

      Switching to Flash 9,0,0,45 made no difference.

      I debugged the HTTP traffic using a HTTP proxy server: besides GETting
      the cross-domain policy, no further traffic was observed. In unison
      with the proxy result, no HTTP traffic is displayed in "Live Headers"
      of FireFox.

      As an additional remark: the policy file is fetched twice - the first
      time without a port specification, the second time with port 80. This
      is to avoid a security sandbox violation as the SAP system sends a
      WSDL endpoint which includes the port.

      As found here in the flexcoders messages archive, I increased the FireFox
      configuration parameter

      network.http.max-persistent-connections-per-server

      from default "2" to "8", that made no difference.

      Here is the console output:

      SWF /flash/TestCim1-debug.swf - 922.373 bytes after decompression
      Registering schema namespace: http://www.w3.org/1999/XMLSchema
      Registering schema namespace: http://www.w3.org/2000/10/XMLSchema
      Registering schema namespace: http://www.w3.org/2001/XMLSchema
      Registering schema namespace: http://schemas.xmlsoap.org/soap/encoding/
      Registering schema namespace: http://xml.apache.org/xml-soap
      Registering schema namespace: http://rpc.xml.coldfusion
      'CC3508C5-6BE9-2BC9-7957-50FE683C98FC' producer set destination to
      'DefaultHTTP'.
      'AC9998C4-4C9E-65C1-86E3-50FE685BD16C' producer set destination to
      'DefaultHTTP'.
      'direct_http_channel' channel endpoint set to
      http://localhost:18080/flash/
      Creating WSDL object for
      http://cimdev.zetvisions.com:80/sap/bc/srt/rfc/sap/YHELLO?wsdl
      '5C98395E-D381-9D76-4B19-50FE686A6527' producer set destination to
      'DefaultHTTP'.
      Loading document
      http://cimdev.zetvisions.com:80/sap/bc/srt/rfc/sap/YHELLO?wsdl for
      destination 'DefaultHTTP'
      'CC3508C5-6BE9-2BC9-7957-50FE683C98FC' producer sending message
      '195AE3A0-12D9-24B6-18BE-50FE686A12EE'
      'direct_http_channel' channel sending message:
      (mx.messaging.messages::HTTPRequestMessage)#0
      body = (Object)#1
      clientId = (null)
      contentType = "application/x-www-form-urlencoded"
      destination = "DefaultHTTP"
      headers = (Object)#2
      DSRequestTimeout = 30
      httpHeaders = (Object)#3
      messageId = "195AE3A0-12D9-24B6-18BE-50FE686A12EE"
      method = "GET"
      recordHeaders = false
      timestamp = 0
      timeToLive = 0
      url = " http://cimdev.zetvisions.com:80/sap/bc/srt/rfc/sap/YHELLO?wsdl"
      'CC3508C5-6BE9-2BC9-7957-50FE683C98FC' producer connected.
      'CC3508C5-6BE9-2BC9-7957-50FE683C98FC' producer acknowledge of
      '195AE3A0-12D9-24B6-18BE-50FE686A12EE'.
      'CC3508C5-6BE9-2BC9-7957-50FE683C98FC' producer fault for
      '195AE3A0-12D9-24B6-18BE-50FE686A12EE'.
      doFault: Request timed out
      Request timed out

      So, I'm lost. Flex Data Services is currently not an option -
      everything works fine if using IE.

      Any ideas about what may cause this problem? How to further diagnose?

      Thanks in advance,
      Christian.

      PS: Copy of http://tech.groups.yahoo.com/group/flexcoders/message/73655