Simple Web Service Failing

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Simple Web Service Failing

    Hey All,

    I haven't really touched Web Services on CF since I first played with them
    when 6.0 came out. I am trying to generate a very BASIC webservice just to get
    a framework going before I dive in ernest trying to create a full blown one. I
    keep getting an error that I havent been able to decipher. I have reduced my
    web service to the most basic form that I can think of. Please see following:


    <cfcomponent displayname="temp" hint="I am a Hint">

    <cffunction name="runMe" access="remote" returntype="string">
    <cfreturn "WS Running!!!">
    </cffunction>

    </cfcomponent>

    I invoke this WS with the following:

    <cfinvoke webservice="https://myservername/test/hosting/temp/temp.cfc?WSDL"
    method="runMe"/>

    And receive the following error:

    Could not generate stub objects for web service invocation.

    Name:
    [url]https://intranet-dev.stngva01.us.it.verio.net/test/hosting/dmeiling/temp/temp.cf[/url]
    c?WSDL. WSDL:
    [url]https://intranet-dev.stngva01.us.it.verio.net/test/hosting/dmeiling/temp/temp.cf[/url]
    c?WSDL. org.xml.sax.SAXException: Fatal Error: URI=null Line=23: Value must be
    quoted. It is recommended that you use a web browser to retrieve and examine
    the requested WSDL document for correctness. If the requested WSDL document
    can&apos;t be retrieved or it is dynamically generated, it is likely that the
    target web service has programming errors.

    Anyone seen this or have any suggestions?

    Thanks !


    bobo111 Guest

  2. Similar Questions and Discussions

    1. Simple(?) web service
      Hello: I have written a simple web service which just is NOT deploying to client. The web service is an sp, and ws returns a data set. On...
    2. Can't debug simple C# Web Service
      First, a confession. I am developing with an old version of VS .NET: VS .NET 2002 (7.0.9955). I am trying to start a *very* simple Web Service...
    3. Best Way to store simple data with web service?
      Hi all, I'm starting up on a web service project and I think I've got the basics down. However, is there a simple way to store a small amount of...
    4. Simple Web Request failing with code 403 after several successful calls
      Hi, I have created a simple ASP.NET web service that I am testing with a Windows Form-based .NET application. The client application can make...
    5. HELP!! Simple xcopy from XP pro to Win 2003 failing..
      Hi Everyone, I have been doing Development on WinXP Pro with IIS 5 and when I migrated my code to Win 2003 server with IIS 6. I cannot open a...
  3. #2

    Default Re: Simple Web Service Failing

    Try restarting services.

    CFMX keeps services components in memory and doesn't release them.

    bobo111 wrote:
    > Hey All,
    >
    > I haven't really touched Web Services on CF since I first played with them
    > when 6.0 came out. I am trying to generate a very BASIC webservice just to get
    > a framework going before I dive in ernest trying to create a full blown one. I
    > keep getting an error that I havent been able to decipher. I have reduced my
    > web service to the most basic form that I can think of. Please see following:
    >
    >
    > <cfcomponent displayname="temp" hint="I am a Hint">
    >
    > <cffunction name="runMe" access="remote" returntype="string">
    > <cfreturn "WS Running!!!">
    > </cffunction>
    >
    > </cfcomponent>
    >
    > I invoke this WS with the following:
    >
    > <cfinvoke webservice="https://myservername/test/hosting/temp/temp.cfc?WSDL"
    > method="runMe"/>
    >
    > And receive the following error:
    >
    > Could not generate stub objects for web service invocation.
    >
    > Name:
    > [url]https://intranet-dev.stngva01.us.it.verio.net/test/hosting/dmeiling/temp/temp.cf[/url]
    > c?WSDL. WSDL:
    > [url]https://intranet-dev.stngva01.us.it.verio.net/test/hosting/dmeiling/temp/temp.cf[/url]
    > c?WSDL. org.xml.sax.SAXException: Fatal Error: URI=null Line=23: Value must be
    > quoted. It is recommended that you use a web browser to retrieve and examine
    > the requested WSDL document for correctness. If the requested WSDL document
    > can&apos;t be retrieved or it is dynamically generated, it is likely that the
    > target web service has programming errors.
    >
    > Anyone seen this or have any suggestions?
    >
    > Thanks !
    >
    >
    --

    Don Vaillancourt
    Director of Software Development
    WEB IMPACT INC.
    phone: 416-815-2000 ext. 245
    fax: 416-815-2001
    email: [email]donv@web-impact.com[/email] <mailto:donv@webimpact.com>
    web: [url]http://www.web-impact.com[/url]
    address: [url]http://www.mapquest.ca[/url]
    <http://www.mapquest.com/maps/map.adp?country=CA&addtohistory=&formtype=address& searchtype=address&cat=&address=99%20Atlantic%20Av e&city=Toronto&state=ON&zipcode=M6K%203J8>
    Web Impact Inc. <http://www.web-impact.com>
    This email message is intended only for the addressee(s) and contains
    information that may be confidential and/or copyright.

    If you are not the intended recipient please notify the sender by reply
    email and immediately delete this email.

    Use, disclosure or reproduction of this email by anyone other than the
    intended recipient(s) is strictly prohibited. No representation is made
    that this email or any attachments are free of viruses. Virus scanning
    is recommended and is the responsibility of the recipient.
    Don Vaillancourt 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