Web Service Output Paramers

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

  1. #1

    Default Web Service Output Paramers

    How can I create a web service in CF with output parameters. I see how to use CFARGUMENT for input parameters. I need to create a web service that can be consumed by a non-CF client application.
    Richard7777 Guest

  2. Similar Questions and Discussions

    1. web service ( + WSE 2.0 ) hangs after adding an output filter
      Hi, I have a server that returns a dataset of over 10,000 records. i added a output filter to the web.config file and i zip the body,create an empty...
    2. Referencing web service complex data type within a second web service (like a delegate)
      Hi, I am trying to figure out if ASP.NET XML Web Services and the WSDL standard can handle this type of scenario: I have two web services, and...
    3. win32::eventlog DNS Server, Directory Service, File Replication Service
      hello, does anyone know how to scan the special eventlogs on a dc like DNS Server log Directory Service File Replicatoin Service i tried it...
    4. Carriage returns/output not displayed in output.asp
      PLEASE DON'T MULTIPOST. PLEASE DON'T POST ATTACHMENTS. PLEASE DON'T DOUBLE-POST. Ray at work
    5. #25152 [Opn->Bgs]: output buffering functions don't catch "virtual" output
      ID: 25152 Updated by: iliaa@php.net Reported By: msarsale at buenosaires dot gov dot ar -Status: Open +Status:...
  3. #2

    Default Re: Web Service Output Paramers

    You need to write a CFC, create a function with the relevant logic, set the
    access="remote" in your cffunction tag, use cfreturn to return the data that
    you want to return. To expose it as a webservice provide the URL for the CFC
    with ?wsdl on the end of it.

    Make sense?

    Stressed_Simon Guest

  4. #3

    Default Re: Web Service Output Paramers

    I understand how to create a web service and have successfully done so. I also
    understand how to use CFRETURN to return one value. I want to have multiple
    output parameters (this is typical in web services). Maybe this can't be done
    in ColdFusion.

    Richard7777 Guest

  5. #4

    Default Re: Web Service Output Paramers

    Return a structure, then you can return as many variables as you like!
    Stressed_Simon Guest

  6. #5

    Default Re: Web Service Output Paramers

    The problem with returning a structure is that I need to consume the web service with a non-ColdFusion client application. I doubt that a ColdFusion structure would work.
    Richard7777 Guest

  7. #6

    Default Re: Web Service Output Paramers

    The whole point of Web Services is that they are universally accessable like
    TCP/IP. In this way they are language, platform OS dependant. I don't see why
    there would be a problem.

    I consume web services created in a variety of languages with no problem at
    all.

    I suggest giving it a go before assuming it will be a problem.

    Stressed_Simon Guest

  8. #7

    Default Re: Web Service Output Paramers

    Return an XML Object,
    Standardize your responses and how they're going to be displayed in a
    Manual or specs file that can be downloaded by the prospective
    user/consumer.

    On Tue, 7 Jun 2005 14:59:50 +0000 (UTC), "Stressed_Simon"
    <webforumsuser@macromedia.com> wrote:
    >The whole point of Web Services is that they are universally accessable like
    >TCP/IP. In this way they are language, platform OS dependant. I don't see why
    >there would be a problem.
    >
    > I consume web services created in a variety of languages with no problem at
    >all.
    >
    > I suggest giving it a go before assuming it will be a problem.
    Ro 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