problems with the XML that is returned when you call a web service with CF11

Hi, I ran into an unusual behavior when calling web services.

I call a web service that returns an XML like this:

< children >

< child >

John < firstname > < / name >

DOE < name > < / lastname >

< / child >

< / children >

during the call to the web service of CF10, it works fine. However, when the CF11, I don't get this:

< child >

John < firstname > < / name >

DOE < name > < / lastname >

< / child >


no < child >? for some reason, CF11 ignores / hides the highest level XML. This does not happen on previous versions. Why? the server that hosts the web service's CF11 too.

Report it as a bug in Coldfusion. In any case, I recommend making sure your web service returns a string, not an XML object.

This is because a web service must be universal. Appellants to .NET, Java, PHP, ASP and so on, will interpret a chain exactly the same way. Whereas an object XML Coldfusion is a construction that is heard only in CFML.

Your return string should also start with the XML declaration, like this

John

DOE

So it is clear to the appellant in which brought the cat.

Tags: ColdFusion

Similar Questions

  • I just upgraded to Firefox 5.0.1 and because the "padlock" icon never appears when you access secure Web sites, where should I look for it?

    I recently upgraded to Firefox 5.0.1 and now the 'lock' icon is nowhere (I don't know) when you access secure Web sites. I've not seen once. It appeared in the lower right of the screen. I also have Norton Internet Security.

    Well, in the secure Web sites part of the address bar is allocated to the part of the security certificate. For example, here in these forums you can see your address bar is as follows: mozilla.com . https://support.mozilla.com... The front ' |' ("mozilla.com") is what I'm talking about. For more information on the security certificate, you can mouse over and also clicking on it.

    Press "Resolved" If this has helped you.

  • the ToolTip that fleet upward when you hover over a link with a mouse works erratically if said the link is in the lower left corner of web page

    So the title says pretty much everything that, but I would stay again.

    There is a small balloon that floats to the top in the lower left corner of the browser window when you hover over a link on a page with a mouse. The address of the link leads, indicates in the ToolTip.
    However, if the link in question is in the lower left corner of the Web page, the ToolTip floats high above right. Then he disappears to reappear a few milliseconds later. This blinking persists; You can neither do address or click on the link. By pressing several times shows RMB RMB menu for the link, which finally allows you to copy the link location and paste it into the address bar.

    Try disabling the Redirect Remover extension if you have. Disabling this extension worked for me which allows the address bar that appears at the bottom left when you move to a link to the right in certain situations.

  • I have a problem, see the screen of my iPhone when you're wearing Polarized Sunglasses. Someone else?

    Someone else just to see their iPhone 6 or Air when you wear Polarized Sunglasses?  My screen seems to low intensity upright, I wear Polarized Sunglasses of Rx a lot.  S in Arizona.

    I had this problem with a screen of the device.  It is the effect of polarization lenses.  The only way for the clear screen had to take off the sunglasses - helping you if they are your Rx lenses.  I think you need to stick to the horizontal scenes to avoid the effect.

  • Error "this program has stopped working. A problem caused the program blocking work properly"when you try to open the Kodak Home Center

    Original title: notice of work stop Windows

    I recently installed an update of Kodak Home Center version for my printer.  When I try to open the Kodak program and print photos, I get the Windows message: "this program has stopped working.  A problem caused the blocking of the program works correctly.  Windows will close the program and notify you if a solution is available.  Does anyone have a solution to this problem?

    Hi JoeBuono,

    Follow the steps below:

    Method 1:

    Start your computer in a clean boot state and see if that fixes the problem.

    See How to solve a problem by performing a boot in Windows Vista or in Windows 7

    Note: Do not disable any program startup list Kodak when you perform the clean boot.

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2:

    Uninstall and reinstall the Kodak Home Center of your computer and see if that fixes the problem.

    See also: troubleshooting install or uninstall programs

    Method 3:

    See:

    Message: "AiO Home Center has stopped working" when editing and printing photos

  • How can you define the image that FB takes when your share your Web page?

    He always takes a piece of something or some text... but nothing that looks really good!

    Thnx

    Hello

    Facebook auto detects the image while sharing the web page. It uses the url of the page, and then sends the thumbnail image.

    However, you can add your custom code to indicate which image to select for facebook, but it would be a customization on the page of your site.

    Some useful links:

    http://rickmanelius.com/article/tell-Facebook-which-image-share

    Ostad http://support.dlvr.it/hc/en-US/Articles/200401854-How-do-I-Control-which-image-photo-is-p-pour-Facebook-

    https://developers.Facebook.com/docs/Opengraph/HOWTOs/maximizing-distribution-media-Conten t.

    https://developers.Facebook.com/docs/plugins/checklist/

    Thank you

    Sanjit

  • Stream error when you call a REST Service

    I am doing a customer REMAINS with AS3, I followed this tutorial: http://help.Adobe.com/en_US/AS3/dev/WSb2ba3b1aad8a27b061afd5d7127074bbf44-8000.html

    My code is as follows:

    import flash.events.Event;

    import flash.events.ErrorEvent;

    import flash.events.IOErrorEvent;

    import flash.events.SecurityErrorEvent;

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.net.URLRequestMethod;

    import flash.net.URLVariables; 


    var url:String = "https://localhost:8443/restcomponent/tesimalex"; 


    var requestor:URLLoader = new URLLoader(); 


    function restServiceCall():void

    {

      trace("Calling REST Service...");

      //Create the HTTP request object

      var request:URLRequest = new URLRequest( url );

      request.method = URLRequestMethod.GET;

      //Initiate the transaction

      requestor = new URLLoader();

      requestor.addEventListener( Event.COMPLETE, httpRequestComplete );

      requestor.addEventListener( IOErrorEvent.IO_ERROR, httpRequestError );

      requestor.addEventListener( SecurityErrorEvent.SECURITY_ERROR, httpRequestError );


      requestor.load( request );

    }


    function httpRequestComplete( event:Event ):void

    {

      trace( event.target.data );

    }


    function httpRequestError( error:ErrorEvent ):void

    {

      trace( "An error occured: " + error.toString() );

    }

    The only difference between my code and that in the tutorial's URL variables, that I commented on, and the url used.

    My REST service is a simple GET, if I type the url in the browser, it shows me that the returned JSON.

    But in my AS3 when I call the method restServiceCall() returns the following error message:

    Error opening URL "https://localhost:8443/restcomponent/tesimalex? An error: [IOErrorEvent type = "ioError" bubbles = false cancelable = false eventPhase = 2 text = "Error #2032: stream error."] URL: https://localhost:8443/restcomponent/tesimalex? »]

    Anyone know whats wrong?

    I really don't know about this link, but in my opinion it's a security issue, because it opens in the browser, also for security reasons! as I see that you have disabled the safe browsing that of why it works in your browser, but not in flash. In any case try to download the file on the server because the good security situation be different then check if it will work there, use a text field to display the data.

  • "Unauthorized" error when you use native Web services

    Hi community

    I'm using Oracle 11 g 2 (11.2.0.3.0) and to try my first SOAP using XDB request

    I followed the instructions at [using Oracle Native XML Web Services DB | ] [ http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb_web_services.htm#ADXDB5677 ] and have traveled the many threads on this topic and am stuck again.

    The steps that I followed:

    Logged in as SYS:

    -Configuring HTTP access

    EXEC dbms_xdb.setHttpPort (7776); -I was initially using 8080, according to samples, but I changed to a port that I knew that nothing else has used

    EXEC dbms_xdb.setFtpPort (2100);  -Don't know its purpose, but anyway

    SELECT dbms_xdb.gethttpport () FROM dual;

    -Result = 7776

    -Check installed XDB

    SELECT * FROM dba_registry WHERE id_comp = "XDB".

    -Result = identifiant_composant = XDB; Version = 11.2.0.3.0; Status = VALID; Schema = XDB; Procedure = DBMS_REGXDB. VALIDATEXDB

    -Configure the Servlet ORAWSV-

    -Native web services are implemented using the servlet to "orawsv", which must be configured in the xdbconfig.xml file stored in DB XML itself.

    -This can be done using the DBMS_XDB on the package, as shown below.

    --

    DECLARE

    l_servlet_name VARCHAR2 (32): = "orawsv";

    BEGIN

    DBMS_XDB.deleteServletMapping (l_servlet_name);

    DBMS_XDB.deleteServlet (l_servlet_name);

    DBMS_XDB.addServlet (name = > l_servlet_name, language = > 'C', dispname = > descript 'Oracle query Web Service,' = > "Servlet to make queries as a Web Service", schema = > "XDB");

    DBMS_XDB.addServletSecRole (servname = > l_servlet_name, rolename = > 'XDB_WEBSERVICES', rolelink = > 'XDB_WEBSERVICES');

    DBMS_XDB.addServletSecRole (servname = > l_servlet_name, rolename = > 'XDB_WEBSERVICES_WITH_PUBLIC', rolelink = > 'XDB_WEBSERVICES_WITH_PUBLIC');

    DBMS_XDB.addServletSecRole (servname = > l_servlet_name, rolename = > 'XDB_WEBSERVICES_OVER_HTTP', rolelink = > 'XDB_WEBSERVICES_OVER_HTTP');

    DBMS_XDB.addServletMapping (template = > ' / orawsv / *', name = > l_servlet_name);

    END; /

    -I added ServletSecRoles for... _WITH_PUBLIC, and... _OVER_HTTP after initial sample didn't me give a result

  • problem in the form of master-detail when you use the ADF table for detail

    Hello

    jdev version - 11.1.2.1.0


    I create master shape detail using datacontrol drag as ADF master shape secondary Table.


    Now when I create a new line in the detail table using the key CreateInsert a new empty row created on top of the secondary table.

    and other show line that the previous record data based on the master.

    problem is I want to when I click on the createInsert button all the line of the secondary table must be empty and what line to fill two or three user then validate.



    Thanks in advance

    Hello

    If a secondary table has data, then createInsert adds to them. If you want to hide the existing lines, create a new instance of the View object and set the option "extract database" to "No. Rows. Use an af:switcher to change the specified table when the user clicks the createInsert button. There is some coding needed to have this use case in the ADF, but its essentially declarative. Bottom line, is that there is no option automated other than to create new lines in a separate page or dialog box if you are bothered by existing lines

    Frank

  • With the new version of Firefox when you copy a Web site, photos (images) do not give the document when stuck how to fix?

    After the update to the current version of Firefox images do not give what cut and pasted into word documents. This problem occurs in a range of Web sites, and does not have a restriction on the material being cut and pasted.

    Firefox just install a full version of an update (about 30 MB).
    The browser now behaves correctly. Thanks for the update.

  • How to close the menu that is opened when you click on the menu button?

    Hello

    When the user clicks the menu button, menu appears.

    Now menu is not closed & my screen behind the menu is updated due to a callback function.

    So, I want to update my menu again accordingly.

    How can I update this menu or close the menu which is open?

    Is it possible to dindane who?

    Yes... His work.

    I tried compact as well, but it did not work in multithreading where I wanted to close the menu on the response of one or two wires.

    It was necessary to aquire lock application event to close the menu in this senario.

    Thnx, it is now resolved...

  • Dear Sir I have toshiba l300 notebook now, I had some problems at the start that a time window is error and posted massage window stopped work go on line chek problem and restart when I restart then run ok that's my question ok

    Dear Sir I have toshiba l300 notebook now, I had some problems at the start that a time window is error and posted massage window stopped work go on line chek problem and restart when I restart then run ok that's my question ok

    Hello

    display the appropriate error message.

    the error codes?

    Try the clean boot procedure to find the application or program causing the problem.

    http://support.Microsoft.com/kb/929135

    all the best!

    Addison

  • Not drop-down list values in the XML that is generated after completing the form

    Hello

    I have a form that has a drop-down menus of the filling of an XML file, the items in drop-down list to a text and value associated with it.

    The problem is when I generate the XML of the form value labels are coming in instead of the text in the drop-down list.

    Pls help. How can I get the text of the value of the dropdown list selected in the XML file?

    Thank you

    Ludovic

    Hello

    I would recommend going to the object > linking the palette and deselecting 'specify values ". In this way, the display values will be included in the XML, as the display value will be the same as the .rawValue from the drop-down list.

    However, this means that any script that references the drop down menus will use the values to display for the items and not the previous related values.

    Hope that helps,

    Niall

  • "Receive the error message" Microsoft (R) HTML Application host has encountered a problem and needs to close, etc. "when you access user accounts

    Original title: I can't access the accounts of users (XP).

    I can not access (XP) user accounts.  I get the message: "Microsoft (R) HTML Application host has encountered a problem and needs to close etc.."  The APPname is mshta.exe. I have this msg when I click on anything in the user accounts.

    1. What is the problem?
    2. what should I do to fix this?

    Hello Eric_984,

    Thank you for the question!

    It is disheartening to know that have problems you with user accounts. "As I understand it, you get an error message" Microsoft (R) HTML Application host has encountered a problem and needs to close etc. "when you access user accounts.

    I need to ask you a question to help you best.

    Were there any changes (hardware or software) to the computer before the show?

    Perform the steps in the link and check.

    Error message when you try to open the item user accounts in Control Panel on a Windows XP-based computer: "Microsoft HTML Application host has encountered a problem and needs to close."

    Answer to us if you are having problems with user accounts or any other issue of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.

    Good day!

    Hope this information helps.

  • Do WLST exception like ' target the exception that is thrown when the application deployment: no such file or directory found in the location of the specified application: "all administration server application deployment

    Hi all

    I'm trying to deploy an application to the administrator of the server using WLST and I had followed steps below.

    (1) I ran setDomainEnv.cmd

    It was performed without error.

    (2) connect to the Server Admin

    Connect ('USERNAME', 'PASSWORD', ' t3: / / localhost:7001', adminServerName = "AdminServer")

    (3) to deploy the application

    deploy ('benefits', 'C:\Users\suhas\Desktop\benefits.war' target = 'AdminServer')

    Traceback (innermost last):

    Folder "system <>", line 1, in?

    File '< iostream >", line 246, to deploy

    File "< iostream >", line of 1848, in raiseWLSTException

    WLSTException: Error occurred when executing deploy: target the exception that is thrown when the application deployment: no such file or directory found in the location of the specified application: C:\Users\suhas\Desktoenefits.war : no such file or directory found in the location of the specified application: C:\Users\suhas\Desktoenefits.war

    DumpStack() to view the full stacktrace

    WLS: serverConfig/test_domain / >

    I'm the exception above, I gave the exact war file path while the deploy command of race but represented except the application path refers to a path that does not exist.

    I, e. instead of display C:\Users\suhas\Desktop\benefits.war C:\Users\suhas\Desktoenefits.war appear

    Please help me solve this problem.

    Thank you and best regards,

    Suhas

    You can use the script here

    Automation of the deployment of the application on Oracle Weblogic Server

    Use a backslash instead of the forward slash... and type it instead of copy paste...

Maybe you are looking for

  • BIOS updates

    I'm looking for a bios update for my two laptops Toshiba

  • Derives from the system time when calling OR-Motion screw on PXI controllers

    Hello Just an email to avoid others wasting time when they are facing in this fantasy bug: We use PXI systems with Controllers NI PXI running Windows 7 and the 7340 family cards (PXI-7344). We have noticed that when the calls when it's through screws

  • Error when changing the language of the front panel in Japanese

    Hello world... I'm changing the front panel of the English language to Japanese. To do this, first I exported the strings through the Tools->Advanced-> export channels.  After that I changed one of the label in Japanese and saved with Unicode encodin

  • bbwp is not recognized as internal or external command

    I get the following error while signing my application in bb10 webwroks. "bbwp is not recognized as internal or external command. exected the following command: bbwp C:\sample\sample.zip g blaze2014 - 10 o C:\sample buildId somebody help me pls with

  • BlackBerry Smartphones battery drains quite quickly

    I recently inserted a 16 GB microSD card in my 9000 "BOLD" and I saw that my BB begins to drain its batteries fast enough. It is are not all applications running in the background, that I make sure I have leave them correctly, and I rarely use Wifi o