WebService "Unable to load WSDL" error

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default WebService "Unable to load WSDL" error

    I need some help with this strange problem

    I have a web service that i call from Flex 3
    <mx:WebService id="dataTowns" wsdl="http://localhost:2008/SqlData.asmx?WSDL"
    result="objectTowns(event)" fault="faultHandler(event)"
    showBusyCursor="true"/>

    Not every time but 40% of the time i would get an error. Web services are
    running on my local machine and i run web service using Visual Studio 2005.
    Funny thing is that even if i get this error data still loads in flex. So when
    i run application from flex i sometime get an error and some time i don't and
    works fine. Some times after the error i restart the webservices and works fine
    again. I run Windows Vista i don't know if that has anything to do with this.
    Here is the error :

    [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:2008/SqlData.asmx?WSDL)"]
    at
    mx.rpc.wsdl::WSDLLoader/faultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\
    mx\rpc\wsdl\WSDLLoader.as:98]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcE
    vent()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Ab stractInvoker.as:168]
    at
    mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler
    ()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Ab stractInvoker.as:220]
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Re spon
    der.as:49]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\As y
    ncRequest.as:103]
    at
    DirectHTTPMessageResponder/errorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\s
    rc\mx\messaging\channels\DirectHTTPChannel.as:343]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()


    Thank you


    zracic Guest

  2. Similar Questions and Discussions

    1. "Unable to load library null" error?
      I'm getting a coldfusion error "Unable to load library null" and its pointing to a line of code that is just basically setting a variable so i'm not...
    2. #12029 [Com]: "--with-apxs" can cause the error "MySQL: Unable to save result set in"
      ID: 12029 Comment by: sietzepost at streetwisedd dot nl Reported By: root at byone dot com Status: Bogus Bug...
    3. #25560 [Opn->Bgs]: warning:unable to load dynamic library "d:\php\extensions\php_oci8.dll"
      ID: 25560 Updated by: sniper@php.net Reported By: hello1234h at yahoo dot com dot cn -Status: Open +Status: ...
    4. #25560 [NEW]: warning:unable to load dynamic library "d:\php\extensions\php_oci8.dll"
      From: hello1234h at yahoo dot com dot cn Operating system: windows 2000 IIS PHP version: 4.3.3 PHP Bug Type: OCI8 related...
    5. "unable to load graphics conversion filter"
      I recently purchased a new computer with Windows XP and it uses wordperfect. When I receive Emails with attachments sent with Microsoft Word 97 I...
  3. #2

    Default Re: WebService "Unable to load WSDL" error

    OK i found where the problem is. Problem is with Flash running in Internet Explorer. When i run using Firefox i have no problems.
    zracic Guest

  4. #3

    Default Re: WebService "Unable to load WSDL" error

    Hi,

    I am a newbie, could you kindly provide the code which uses web service as data source?

    Thanks in advance
    ajesing Guest

  5. #4

    Default Re: WebService "Unable to load WSDL" error

    <mx:HTTPService
    id="feedRequest"
    url="http://www.reflektions.com/miniml/rss.xml"
    useProxy="false" />
    Developer504 Guest

  6. #5

    Default Re: WebService "Unable to load WSDL" error

    Thanks for the reply.

    Actually I am looking for a full sample code for building chart using a webservice, as I am struggling with this approach.

    Kindly help.

    Thanks again
    ajesing Guest

  7. #6

    Default Re: WebService "Unable to load WSDL" error

    by a chart, do you mean something like a datagrid?

    Developer504 Guest

  8. #7

    Default Re: WebService "Unable to load WSDL" error

    By chart I mean graphs where data is being from web services.

    Thanks
    ajesing Guest

  9. #8

    Default Re: WebService "Unable to load WSDL" error

    I'm not sure if you have found what you are looking for. But if you still need
    complete code using web services let me know i have no problem giving you this.
    If you want give me you email i will send you a complete code via email.


    zracic Guest

  10. #9

    Default Re: WebService "Unable to load WSDL" error

    Hi,

    Thanks a lot for your kindness.

    My email is [email]ponicpool@gmail.com[/email]

    Much appreciated

    Regards
    ajesing Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139