tracker issue : CF-3919057

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

XML Webservices not working on CF 10

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Ron Gruner / Ron Gruner (Ron Gruner)

Created: 01/11/2015

Components: Web Services

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final / 300550 300665 300675

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2008 Server

Vote Count: 0

Listed in the version 2016.0.04.302561 Issues Fixed doc
Problem Description:  XML webservices work fine in XML 9 but fails in CF 10

Works fine at:  http://216.197.120.131/test.cfm  (CF9)
Fails at: http://phenom.aero/test.cfm

Steps to Reproduce: Run test.cfm on both my CF9 and CF10 servers

Actual Result: see http://phenom.aero/test.cfm (CF10) for failure message

Expected Result: see http://216.197.120.131/test.cfm  (CF9) for correct result

Any Workarounds:No

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

Watson Bug ID:	3919057

External Customer Info:
External Company:  
External Customer Name: RonGruner
External Customer Email:  
External Test Config: My Hardware and Environment details:  Here's the code...

<cfscript>

    stAuth = structNew();

    stAuth.username = "gr...er";

    stAuth.password = "3a96...a72a";

	ws = createObject("webservice", "http://flightxml.flightaware.com/soap/FlightXML2/wsdl", stAuth);

</cfscript>



<cfloop index="type" list="E50P,E55P,C510,C525,EA50,PRM1,B739">

	<cfscript>

		application[type] = structNew();

        stSearch = structNew();

        stSearch.howMany = 10;

        stSearch.offset = 0;

        stSearch.query = "-inAir 1 -type #type# -aboveAltitude 179";

        aSearchStruct = ws.search(stSearch);

        application[type].searchFlights = aSearchStruct.getSearchResult().getAircraft();

    </cfscript>

	<cfoutput>

		<cfif IsDefined("application.#type#.searchFlights")>

            #type# | #ArrayLen(application[type].searchFlights)# Flights Active<br>

        <cfelse>

            #type# | No Aircraft in Flight Levels<br>

        </cfif>

	</cfoutput>

    <br>

</cfloop>

Attachments:

  1. January 21, 2015 00:00:00: 1_test.cfm

Comments:

test.cfm is attached for your own testing. Not sure the server platform is correct.
Comment by External U.
8996 | January 11, 2015 01:05:35 PM GMT
Please provide test.cfm to look into the issue. Thanks.
Comment by Akhila K.
8997 | January 21, 2015 06:04:36 AM GMT
I've attached test.cfm. Thanks for your efforts fixing this problem.
Comment by External U.
8998 | January 21, 2015 09:29:25 AM GMT
What is Adobe's progress resolving this problem and estimated time to fix? If the long-term fix is a ways off, what can you suggest as a work-around? This is a show-stopper for me.
Comment by External U.
8999 | January 23, 2015 10:34:57 AM GMT
Can Adobe provide an update on this issue? The code works fine with CF9 but fails hard with CF10. I've also confirmed the CF10 failure with FlightAware.com. It's been three weeks since my first submission. Thanks for your help.
Comment by External U.
9000 | January 31, 2015 03:21:02 PM GMT
The service is still working in axis1, probably it has to do something with the compatibility between axis1 and axis2 As a workaround, user can pass wsversion=1 in arguments while creating webservice object. obj = createObject("webservice", "accessiblewsdl", {wsversion=1}); And for first time to refresh the stubs at client side, he can pass refreshwsdl also obj = createObject("webservice", "accessiblewsdl", {wsversion=1, refreshwsdl=true});
Comment by Milan C.
9001 | February 18, 2016 08:14:06 AM GMT
Ron - Does the workaround suggested by Milan help your cause?
Comment by Vamseekrishna N.
9002 | August 03, 2016 09:49:00 PM GMT
Ron, Fix will be available in upcoming update. At the same time API has also changed so test.cfm you attached will not work. Please use the following code snippet which utilizes current API. //application[type].searchFlights = aSearchStruct.getSearchResult().getAircraft(); application[type].searchFlights = aSearchStruct.getAircraft(); Regards Subir
Comment by Subir J.
9003 | October 25, 2016 06:58:20 AM GMT