tracker issue : CF-4166169

select a category, or use search below
(searches all categories and all time range)
Title:

Rest Service returning 204 No Content

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Wayne Porter / Wayne Porter (Wayne Porter)

Created: 06/20/2016

Components: REST Services

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Minor / Unknown

Locale/System: English / Linux

Vote Count: 0

Problem Description: REST Service created as a test with minimal code does not function at all.

Steps to Reproduce: Create simple CFC from examples given at: http://www.adobe.com/devnet/coldfusion/articles/restful-web-services.html

Actual Result: 204 No Content returned, no logging to console to show component has been executed.

Expected Result: String returned, logging to console to show component has been executed.

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4166169

External Customer Info:
External Company:  
External Customer Name: Wayne Porter
External Customer Email:  
External Test Config: My Hardware and Environment details: I have CF10 running on a dev server that is administered by IT so I know it is Fedora Core but not sure the version. I also have CF11 running on a Fedora Core 22 VM that I have complete control over but the same issue is happening in both environments.

Attachments:

  1. June 30, 2016 00:00:00: 2_Bug4166169.zip

Comments:

Which example did you try, that did not work for you? I have tried the get service and it works.
Comment by HariKrishna K.
2336 | June 27, 2016 06:21:44 AM GMT
I have simplified my cfc down to the following: component rest="true" restpath="/restTest" { remote string function sayHello() httpMethod="GET"{ writeDump(var="----Saying Hello----",output="console"); return "Hello World"; } } Even with or without the writeDump, I'm still seeing nothing returned.
Comment by External U.
2337 | June 28, 2016 02:49:36 PM GMT
Hi Wayne, I have tried the sample code, provided by you, and it works. I am attaching the project for your reference. Unzip and copy this folder to webroot, Login to CF administrator and configure the rest service with restapp as the service mapping and access the rest.cfm
Comment by HariKrishna K.
2338 | June 29, 2016 01:16:31 AM GMT
I currently see 0 attachments. Should it show up on the right-side of the screen under Attachments?
Comment by External U.
2339 | June 29, 2016 05:28:20 PM GMT
I had missed making the attachment external. Can you check now
Comment by HariKrishna K.
2340 | June 29, 2016 11:39:01 PM GMT
Hi Porter, Did you get a chance to verify the sample that I have attached?
Comment by HariKrishna K.
2341 | July 07, 2016 01:28:34 AM GMT
Closing this since we haven't heard back from the user. We can reopen the issue, if the issue exists.
Comment by HariKrishna K.
2342 | July 14, 2016 05:20:23 AM GMT