simpleType and webservices

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

  1. #1

    Default Re: simpleType and webservices

    I am running into the same problem. Has anyone found an answer for how to send a simpleType to a webservice?

    Thanks, Tim
    tslow Guest

  2. Similar Questions and Discussions

    1. Webservices
      Hello everybody, I am unable to call remote web service. I have created Proxy Class successfully. Whenever I tried to call it prompts with...
    2. .net webservices
      Actually, if you give your dataset a name: DataSet ds = new DataSet("MyDataSet"); then you should use: ...
    3. ADO.NET and Webservices
      Hello, I'm trying to build a webservices 'application' that basically allows any sort of client to plug-in and do do updates to the database...
    4. 1 or more webservices
      Hi I want to make a webservice which retrieves data for a webpart in a sharepoint environment. Is it handier to make 1 large webservice or a few...
    5. SOS! I can't use COM in my webservices
      i write a COM use PB9. The COM work well in a Windows Application(use in VS2003.net) But when i use it in a webservices, the COM can not work,the...
  3. #2

    Default Re: simpleType and webservices

    It appears that this is fixed in CF 7, but I would appreciate any answers for
    CF 6.1 as it will be many months before we can upgrade our live servers to CF
    7. It seems silly that such a basic type would not be included to use in a
    webservice request. In case you don't understand what a 'simpleType' is, it is
    a basic enumerator for XML. Here is an example using genders: <simpleType
    name='GenderType'> <restriction base='string'> <enumeration
    value='Female'/> <enumeration value='Male'/> <enumeration
    value='Unknown'/> </restriction> </simpleType> Hopefully someone know a way
    to use simpleTypes in CF 6.1. Thanks, Tim

    tslow Guest

  4. #3

    Default Re: simpleType and webservices

    I am pretty sure that this fix made it in to the CFMX 6.1 updater. Try
    installing that.

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  5. #4

    Default Re: simpleType and webservices

    Tom, I'm using CFMX 6.1 with many hotfixes installed, including the Web
    Services hotfix for headers (
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18939[/url] ).
    Everytime I run the request with one argument (it's a complexType that contains
    a simpleType), I get the following error: Web service operation 'method' with
    parameters {object={{TYPE={Value},}},} could not be found. We have one
    development machine that is running CFMX 7. That machine runs the same code
    flawlessly. While I'm glad that this error is resolved in the newest version,
    it's a shame that we won't be able to use this web service until we complete
    the upgrade, which will probably take 3-6 months. If you have any workaround
    ideas, I would be extremely grateful. Thanks, Tim

    tslow Guest

  6. #5

    Default Re: simpleType and webservices

    Install the *updater*, not the hotfixes.

    [url]http://www.macromedia.com/support/coldfusion/downloads_updates.html#updater[/url]

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  7. #6

    Default Re: simpleType and webservices

    Thank you so much! I was confused by the wording of the updater. CF 6.1
    Updater updates a CF 6.1 installation, it does not update to CF 6.1. I think
    that it would be much clearer if it was a full upgrade to 6.2 or 6.1.1, but
    naming conventions are a different matter. That fixed the bug and my
    webservice requests work perfectly under 6.1. Thank you for helping me solve
    this. -Tim

    tslow Guest

  8. #7

    Default Re: simpleType and webservices

    Don't get me started as to why we don't change version numbers when we
    release "updaters". Grrrr.

    Glad you solved your problem!

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl 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