Web service in Coldfusion 8

I installed coldfusion 8 on jrun and have a MacBook Pro (running in the jvm 1.5.0_07). I get a strange error when you try to call the web service.

coldfusion.jsp.CompilationFailedException: errors reported by Java compiler: / Applications/JRun4/servers/smart/cfusion-ear/cfusion-war/WEB-INF/cfusion/stubs/WS8652285 07/coldfusion/xml/rpc/CFCInvocationException.java:10: can not access the bad file class java.rmi.RemoteException: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar class file (java/rmi/R emoteException.class) has the wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath variable. public class CFCInvocationException extends org.apache.axis.AxisFault implements java.io.Serializable {^ 1 error.}

Thank you
Samir

Thank you. It worked.

Tags: ColdFusion

Similar Questions

  • Has anyone who successfully registered a web services running ColdFusion 11 with Windows 7, IBM WebSphere 8.5, IBM JDK 1.7

    I'll set up a development zone Windows 7 running IBM WebSphere 8.5 (64-bit), IBM JDK 1.7 (64-bit). I installed the ColdFusion 11 ear (11,0,03,292480) file, but when I try to save a web services in ColdFusion Adminstrator using Web Service Version 1 or 2 times I get the following error.

    Error 500: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; Class = 'com' / Sun/tools/javac/hand, offset = 6

    What I read online (errors in Java: "UnsupportedClassVersionError... bad major version at offset = x '-the quite) the" 'java.lang.UnsupportedClassVersionError: "and"bad major release"means that the project has been compiled with a compiler to Java level higher than the runtime can support." I am under IBM JDK 1.7, when I do a version check (java.exe - version) in the directory bin it is said it is based on Oracle 7u13-b08. I read ColdFusion 11 supports Java 1.7 so I'm not sure what the problem is

    Problem solved! I found the following documentation: installation of the Configuration of JEE - enable web services

    Enable web services

    To enable web services, copy the tools.jar home Java WebSphere using the cfusion/lib directory.

    I'm not entirely sure why I needed to do what it has worked well in ColdFusion 9, JDK 1.6 IBM WebSphere IBM 7. There must be a pretty big difference between 1.7 JDK/software SDK IBM and Oracle/Sun JDK/SDK 1.7.

    Information of manifesto in the tools.jar that ships with ColdFusion 11 says:

    Manifest-Version: 1.0

    Created by: 1.7.0_07 (Oracle Corporation)

    As when the information of the manifesto of the tools.jar I copyied was:

    Manifest-Version: 1.0

    Ant-Version: Apache Ant 1.7.1

    Created by: 1.7.0 (IBM Corporation)

    Class-Path: ibmorbtools.jar

    I renamed the file tools.jar.bk - non - ibm it's important not to have a file with a ".jar" extension that has the same class on the inside path or it is loaded by the JAVA virtual machine.

  • Problem of DH handshake with the web service using ColdFusion 7 and 8 after java update 8

    ColdFusion 7 and 8 are provided with a variant of JRE1.6.

    I have a script that has consumed a web service for years with success.  Last week, the web service provider updated their version of Apache and Java on the server java 1.8 (or java-8).

    I could no longer consume the web service once the web service provider updated to Apache and Java and would be the following error DH keypair every time that I try to consume the service:

    -----------------

    AxisFault

    faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException

    faultSubcode:

    faultString: javax.net.ssl.SSLException: java.lang.RuntimeException: could not generate keypairs DH

    faultActor:

    faultNode:

    faultDetail:

    {}http://xml.apache.org/axis/} stackTrace:javax .net .ssl .SSLException: java.lang.RuntimeException: could not generate keypairs DH

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1554)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1537)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1130)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)

    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)

    to org.apache.axis.transport.http.HTTPSender.getSocket (HTT... ''

    -----------------

    I asked the service provider web, why it would stop working and how we can solve this problem.  They suggested that upgrade to the latest version of Java on my server running ColdFusion.  I did some research and found the problem to be with the amount of memory allocated to the variable containing the encryption key.

    The big problem is when I tried to update java on this particular server (Windows Server 2003), the installation has returned a messaged stating that he could not run on the older operating system and I need to update my OS to install java.

    Does anyone have a workaround in ColdFusion 7 or 8 that you can establish the DH handshake using Java 1.6 on your local server while consuming a web service on a server using Java 1.8?

    Hi, frank000000,

    I know that we had a serious problem with any Java 7 after update 25.  They are off a lot of network permissions and other things, for safety, that used to be available in versions prior to the update 25.  But it's while we were in CF Server 9.

    Since we switched to CF Server 10 (making sure that we got the CF Installer provided with Java 8), we had very few issues related to Java.

    It seems strange to me that the upgrade to 1.8 host while your server is 1.6 would cause problems.  It could very well be something else.  I would like to ask the host for documentation describing exactly how/why their 1.8 may cause interference with your 1.6.

    HTH,

    ^_^

  • Web Services issues in Coldfusion 8

    Hi all

    I'm trying to deploy .cfc files as web services in a coldfusion multiserver environment 8.  So far it works not so well.  Every time I have navigate to the .cfc file in a browser, the empty page .cgi scope and not documentation of the component.  If I add? WSDL to the URL, I get the code for the dumping of scope .cgi.   You also cannot manually register a web service in coldfusion administrator.  (the components that will be the web services are marked as access = "remote", these same .cfc files have been and are used in CF) 7.1

    Cfc in the CFIDE folder files use the cfcexplorer.cfc component and have the documentation of the component.

    -----------------------------------------------------------------

    My environment:

    3 x blades Sun Solaris T6300

    3 x 8 processors

    32 GB of RAM

    Hardware load balancer:

    Juniper DX

    Partition NAS/Web support for webroot

    ---------------------------------------------------------------

    Does anyone know of any issues with web services in CF 8 multi-server environment?  Why don't the .cfc and .cfc? WSDL dump the scope of cgi and show me the documentation of the element or the WSDL file?  Is there a setting I'm missing somewhere in order to allow web services?  Why can't study documentation of CFCs on a file in the root Web?

    Any help or idea would be greatly appreciated!

    Thanks in advance

    Steve

    There is nothing web service and multi host ColdFusion or ColdFusion 8 which must be radically different then standalone CF7 web services.

    Y at - there anychance there is an own Application.cfc file that may apply to the ColdFusion component files?  Note that any file in Application.cfc (or Application.cfm) between the SWC file and the root Directory apply to the code that runs the web service.  There is a witch hunt often neglected with some Application.cfc files that use the onRequest() method.  This method can interfere with normal delivery in response to a request from web service wsdl if this has not been posted to in the onRequest() method.

  • Where should I place a SWC file that describes a complex structure for a web service?

    Hello!

    I am creating a web service in ColdFusion 9, which returns a complex structure or has a complex argument.  I'm placing the .cfc file that describes the structure in the same directory as the .cfc which uses the structure.  Right now just trying to get a wsdl.

    I have currently two functions in my .cfc, first returns a string.  The other ideally returns an array of strings.  Saying returntype = "String()" gives an error that ColdFusion could analyze no chain

    So I tried to make a type defined by the individual item being a string:

    < cfproperty >
    < cfcomponent name = "Info source" type = "string" >
    < cfproperty >

    ------------------------------------
    Is my code that uses this cfc:

    < cfproperty >
    < cffunction name = "getzips" returntype = "remote access" = "string" >
    < cfset #resultsCommaDelimtedZips # = "this is the result" >
    < cfreturn CommaDelimitedZips >
    < / cffunction >

    < cffunction name = "getInfoSources" access returntype = "at distance" = "InfoSources []" >
    < / cffunction >
    < / cfproperty >

    The error I get is:

    AXIS error

    Sorry, something seems to have gone wrong... Here are the details:

    Error - error trying to create the skeleton of Java for web service CFC. ; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException: [coldfusion.compiler.ParseException: invalid CFML construct found on line 3 in column 1.] ColdFusion was looking at the following: < p > & lt; < /p > < p > the CFML compiler treated: < ul > & lt; marks the beginning of a ColdFusion tag. Did you mean LT or LTE? < /ul >]

    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.generalException
    faultSubcode:
    faultString: error trying to create the skeleton of Java for web service CFC. ; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException: [coldfusion.compiler.ParseException: invalid CFML construct found on line 3 in column 1.] ColdFusion was looking at the following: < p > & lt; < /p > < p > the CFML compiler treated: < ul > & lt; marks the beginning of a ColdFusion tag. Did you mean LT or LTE? < /ul >]
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/} hostname:ntc15

    ----------------------------
    I have a similar problem if I use cfcomponent:

    < cfproperty >
    < cfcomponent name = "approved" type = "string" >
    < cfcomponent name = "total_charged" type = "string" >
    < cfcomponent name = "charge_error" type = "string" >
    < cfcomponent name = "renewed_until" type = "string" >
    < cfcomponent name = "reason" type = "string" >
    < cfproperty >

    http://livedocs.Adobe.com/ColdFusion/8/htmldocs/help.HTML?content=webservices_20.html said
    Note: If the files of the components are not in a directory under the web root, you must create a server web mapping to the directory that contains them. You cannot use ColdFusion mappings to access web services.

    So I tried putting the .cfc file in a directory under my folder wwwroot rather than inside.  That did not help.

    Any suggestions?  I feel that I did exactly what all the documents I can find tells me to do!

    Thank you!

    -Mabel :-)

    We work collaboratively with another company that makes the front-end server, by using the web service, so I need the wsdl show the kind of real data, not just "any", that is using what is 'array'.

    If I use your code (add a name for the echoStatus argument), I get

    How can I tell it a table of _strings_ specifically?

    ColdFusion is loosely typed, so I wonder if we can be so specific in the type of data, without resorting to Java for example. But then again, you will meet soon all sorts of complications. A ColdFusion array and an array of java are 2 totally different things. Run the following code and you'll see why


    #testArray.getClass () .getName () #.

    in any case, because the strings are is a subset of the type 'all', your service includes also the case where an array of strings is returned.

  • Consuming SOAP Web Services

    OK, I have a web service that I am consuming in CF9. I am able to hit the wsdl with SOAPUI and see the results. The results come back as XML. Basically, it displays a list of rooms we use as meetings and show the time that they are reserved. Here's the CF code I wrote for him:

    < cfinvoke

    " webservice =" http://DWC-dreiman-w7e/WSExchangeMeetingRooms/Exchange.asmx?WSDL"" "" "

    method = "FindResourceDetailForDay".

    returnvariable = "FindResourceDetailForDayResponse" >

    < cfinvokeargument name = value 'c' = "Deerwood" >

    < cfinvokeargument name = value "d" = "" >

    < / cfinvoke >

    < cfoutput > value Test return #FindResourceDetailForDayResponse # < / cfoutput >

    However, this code returns this: Test value returns org.tempuri.FindResourceDetailForDayResponseFindResourceDetailForDayResult@13d9efc

    The information that SoapUI refers to the XML format is the following:

    < xmlns:msdata = diffgr:diffgram "" urn: schemas-microsoft-com: xml-msdata "xmlns:diffgr =" urn: schemas-microsoft-com: XML-diffgram-v1 ">"

    < calendar xmlns = "" >

    < Dwc-Hall-02 diffgr: ID = "Dwc-room-021" msdata:rowOrder = "0" diffgr: hasChanges = "Insert" >

    < StartTime > 06/10/2010-11:00 < / StartTime >

    < EndTime > 06/10/2010 12:00 < / EndTime >

    Busy < BusyType > < / BusyType >

    Meeting of Construction < object > < / topic >

    < location / >

    < IsException > False < / IsException >

    < IsMeeting > False < / IsMeeting >

    < IsPrivate > false < / IsPrivate >

    < IsRecurring > false < / IsRecurring >

    < / Dwc-Hall-02 >

    < Dwc-room-01 diffgr: ID = "Dwc-room-011" msdata:rowOrder = "0" diffgr: hasChanges = "Insert" >

    < StartTime > 06/10/2010 09:00 < / StartTime >

    < EndTime > 06/10/2010-11:00 < / EndTime >

    Busy < BusyType > < / BusyType >

    the management meeting < object > < / topic >

    < location / >

    < IsException > False < / IsException >

    < IsMeeting > False < / IsMeeting >

    < IsPrivate > false < / IsPrivate >

    < IsRecurring > false < / IsRecurring >

    < / Dwc-room-01 >

    < Dwc-room-01 diffgr: ID = 'Dwc-room-012' msdata:rowOrder = '1' diffgr: hasChanges = "Insert" >

    < StartTime > 06/10/2010 12:00 < / StartTime >

    < EndTime > 06/10/2010 14:00 < / EndTime >

    Busy < BusyType > < / BusyType >

    Strategic conversation < object > < / topic >

    < location / >

    < IsException > False < / IsException >

    < IsMeeting > False < / IsMeeting >

    < IsPrivate > false < / IsPrivate >

    < IsRecurring > false < / IsRecurring >

    < / Dwc-room-01 >

    < Dwc-room-01 diffgr: ID = 'Dwc-room-013' msdata:rowOrder = '2' diffgr: hasChanges = "Insert" >

    < StartTime > 06/10/2010 14:00 < / StartTime >

    < EndTime > 06/10/2010 15:00 < / EndTime >

    Busy < BusyType > < / BusyType >

    Meeting of the Board of the < object > < / topic >

    < location / >

    < IsException > False < / IsException >

    < IsMeeting > False < / IsMeeting >

    < IsPrivate > false < / IsPrivate >

    < IsRecurring > false < / IsRecurring >

    < / Dwc-room-01 >

    < / calendar >

    < / diffgr:diffgram >

    How can I go on access to information in the parent/child of the XML nodes? This is my first time with complex Web services in Coldfusion.

    SOAP means that you will need to send an item XML SOAP web service. Do something like:


    http://DWC-dreiman-w7e/WSExchangeMeetingRooms/Exchange.asmx?WSDL">
            


       
             http://schemas.xmlsoap.org/SOAP/envelope/"container ="http://www.w3.org/2001/XMLSchema"" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" > ""
                
                     http://schemas.xmlsoap.org/SOAP/encoding/"xmlns:ns ="http://your_own_namespace_url">."
                            Alexander
                          Alexandre test message 
                     

                 

             

       


           
               
               
               
               
               
           

           

    #xmlFormat (cfhttp.fileContent) #.


           
       
           
       

  • Compression SSL Web service problem

    I'm trying to consume a .NET web service in ColdFusion via SSL, and I have serious problems. I know that the URL is correct, because I can navigate through the WSDL file using my browser. Errors and my research, it seems that the problem might involve http compression on the server hosting the web service. I saw a few alternatives for CFHTTP using custom HTTP headers, but I wasn't able to find a way to get something to work with a web service call. Any ideas? ColdFusion only incompatible with webservices using HTTP compression?

    Here is the summary of the problems:

    (1) I can't save the WebService in CF administrator - when I try, I get the error:
    Service web creation by mistake. Please ensure that you have entered a Web Service name or the correct URL.

    (2) when I try to consume the web service in the CF, I get the following error:
    Could not generate objects stub for the call to the web service.
    Name: https://www.travelinsured.com/TIWebServiceQA/service.asmx?wsdl. WSDL: https://www.travelinsured.com/TIWebServiceQA/service.asmx?wsdl. java.util.zip.ZipException: unknown compression method It is recommended that you use a web browser to retrieve and examine the requested WSDL document of accuracy. If the WSDL document you requested cannot be found or it is generated dynamically, it is likely that the web service target has programming errors.

    (3) just to be sure, I recorded the last certificate for the secure site, I am trying to access it in the Keystore of Java from ColdFusion.

    I saw similar topics in the forum before involving web services and SSL, but nothing about HTTP compression. Anyone had this problem before? All the patches?

    Thank you!

    A useful poster on the forums of the House of Fusion showed me a work around:

    Apparently, ColdFusion uses only the WSDL to create objects to sub for the web service call, so as long as there is a service port address specified in the WSDL file it does not matter where to seat the actual WSDL file. So I just download the WSDL using CFHTTP (had to use this article to configure CFHTTP to the HTTP Compression: http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729) and then I reported my administrator SEE the WSDL on my local machine. And Presto - I can connect to the web service without problem now.

    Only problem is that I have to download the WSDL, whenever there is a change to the Web service, but I can schedule a task that downloads the file once a week or more.

  • Creating Web Service - repetition of data structure

    I am creating a Web Service in Coldfusion MX 7, and I'm looking for help on its design.

    The problem is a the called "calculateQuote" of the cffunction 30 < cfargument... > need statements for all the necessary items. To compound things, 10 of these arguments describe insurance as part of the citation and each policy can occur 1 repeatedly. I consider a statement < cffunction... > it is huge.

    As the alternative, is it reasonable to have 1 statement < cfargument... > that contains an xml document that has the entry? It would be strange to do or is - what a "normal way" to write web services that require a large amount of input data?

    Here's what I guess the cffunction would look like...

    "< cffunction access ="remote"name ="calculateQuote"output ="false"returntype ="? ">
    < name cfargument = "xmlQuoteInput" type = ""? "required ="true">"
    ...
    < cfset strucValidate = XmlValidate (ARGUMENTS.xmlQuoteInput, myXSDFile) > <! - validate the XML - >
    < cfset varXMLQuoteInput = XmlParse (ARGUMENTS.xmlQuoteInput) >
    ... and so on
    < / cffunction >

    Thank you!

    Cannot do an arg with xml type if you use a CFC as a web service, it will create not the WSDL properly if you want ColdFusion to do it automatically, and any consumer will know not what to go in it, unless you publish documentation saying exactly what you need.

    You need to use CFCS as types of services Web here:
    http://www.Adobe.com/go/tn_19169 is an example.

    For you, the rough structure in a way to make, it should be (assuming that your real web service would be called WebService.cfc)

    -WebService.cfc
    -InsuranceQuotes.cfc
    -InsuranceQuoteType01.cfc
    -InsuranceQuoteType02.cfc
    ....
    -InsuranceQuiteType10.cfc

    Then you should do the following in the attached code.

    Note the type of [] on the InsuranceQuotes.cfc, this means an array of the types of web service CFC.

    That's the answer rough, more difficult to give more details without examples to hardcode. You might be able to get rid of the intermediate InsuranceQuotes.cfc but for the moment it's the way I'd do it.

  • ColdFusion 10 and Ebay Web Service WSDL

    Hi all

    We have recently upgraded to Coldfusion 8 to 10 of Coldfusion and we found a business-stopping bug:

    In the Administrator console in Coldfusion 10 GB of DATA & SERVICES-> Web Services.

    It adds a web with link WSDL service http://developer.eBay.com/webservices/latest/ebaySvc.WSDL

    Other input values have no effect in this issue.

    You will then receive a Coldfusion error:

    Model: /CFIDE/Administrator/extensions/webservices.cfm

    Diagnostics: javax.wsdl.Operation.getExtensionAttributes (Ljava/util/card); null

    The error occurred on line 141.

    Same error if you try to instantiate a web service to ebay object with data inside the cfscript WSDL.

    It is a show serious Cap because ebay API no longer work with Coldfusion 10 and we were forced to a restore to Coldfusion 8.

    Any help would be much appreciated!

    P.S. other WSDLs non-ebay seem to add fine to CF10.

    Adam, the web service consumption will also be affected. The version decides what framework is used to generate the client-side stubs.

    DmitriD, could you please post the code used for the test. Where did you try to set the version? Set the version in CreateObject() or CFInvoke to consume. If you change the wsversion of server level, it is used by publishing only.

    WS = createObject ("Web service", "http://developer.ebay.com/webservices/latest/ebaySvc.wsdl", {wsversion = "1"} ");

    WriteDump (ws);

    I tried the above code and it works fine for me. Please check and let me know.

    Thank you

    Paul

  • Invoke ColdFusion web service

    I try to call a web service, and I get an error message.

    401 unauthorized error.  Cannot read the WSDL to the URL: http://servername/generation/bj/TestCalculation.wsdl.  An exception has occurred during the call to a method of Application.cfc event handler. The name of the method is: onRequest.

    I put the URL in the browser and it will pull up the WSDL. I can call it in a flex program and it works perfectly.  I don't know a lot about Flex and I'm just learning so I wanted to see if I could make it work with ColdFusion.

    Here's the CFC I created:

    < cffunction = access "myCalcFunction" name = "remote" returntype = "any" >

    < cfinvoke

    "WebService ="http://servername/generation/bj/TestCalculation.wsdl"

    method = "TestCalculation".

    returnvariable = "answer" >

    < cfinvokeargument = name value = "#arguments.number1 #" / "Number 1" >

    < cfinvokeargument = name value = "#arguments.number2 #" / "Number2" >

    < / cfinvoke >

    < cfreturn response >

    < / cffunction >

    Can someone point me in the right direction of what I can do?

    Thanks for the support.

    BJ

    Yes, I finally found out there is a problem of coldfusion 9.1.    I uninstalled CF9.1 and installed CF8 and CF9.0 on my local machine.  I ran both web service code and it worked in both.  I then updated my CF9.0 to CF9.1.  I ran it again and it will give me the error.  It runs the same code with the same application.cfc.   Now, I have to get Adobe to solve the problem.

    Alexander, Adam, Dan and Owain.

    Thanks for the help on this.

    BJ

  • ColdFusion scheduled task for HTML files with javascript ajax call to the web service

    I have a regular html file, which are generated dynamically (on access to it) for a few seconds (about 7 to 10 seconds) as tables, lines that are added through javascript after having treatment and this process takes about 7-10 seconds of said.

    Using settimeout(), after 15 seconds (to ensure that the content has been correctly filled), I use a web service (.cfc with function with intrusion via cfmail tag inside) through the ajax javascript call, which captures all the html content of the page and sends it to marked e-mail ID - which, during normal operations, works very well - which page is accessible in the browser web and left pending for desired time of 15-20 seconds.

    However, the same page when I programmed in CF admin (even with the time-out of 60 seconds), it never fires the e-mail part.

    Can I have some advice, where I am doing wrong!

    Hi, I mean the scheduled activity could be accomplished using CF native heavyweight instead of light and fast javascript codes codes. Not a big problem anyway.

  • Problems of migration of ColdFusion 9 to 10 Web service

    I am troubleshooting a problem it is to have a customer migrating since CF9 to CF10. A webservice call that worked, no longer works. When I call my CF10 server, I get this error:

    C:...\cfusion\stubs\WS-853189522_2...\Service.Java:10: enum, interface, or class should package...;

    The ellipses are to replace the names and paths of files owners.

    When I add the attributes wsversion and refreshwsdl cfinvoke, I get a "cannot read the WSDL to the URL:... / service.asmx. WSDL error"instead of the above error. I also changed the default ws 2-to-1 version in CF administrator, without change. Are there other problems known with CF10 that would interfere with a Web service call that worked in a previous version?

    I found the answer, and it turned out to be quite simple. After the change to the default version of webservice in CF Admin, I had to restart the server. It works now, but I'm curious to know why the addition of the attribute of the cfinvoke tag wsversion call service Web did not work. My concern now is if they add an axis 2 webservice call in the future they may face this problem again.

  • 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.

  • Y at - it a tutorial for CF hosting on Amazon web services?

    I am interested in a tutorial to get started.  I know Coldfusion, but do not know the process of hosting with Amazon.

    Either of them may help:

    http://www.Adobe.com/devnet/coldfusion/articles/ColdFusion-cloud-AWS.html

    http://www.Adobe.com/au/products/ColdFusion-Amazon-Web-services.html

    Cordially, Carl.

  • Web services CF10, components not found - the seller Java problem?

    Did someone having problems web services in Oracle Java CF10, IIS 7 calls,?  We have recently improved, and web services are now back the error message depending on whether the component is not found:

    The web service operation has caused an exception of invocation.

    The root cause was that: coldfusion.runtime.CfJspPage$ NoSuchTemplateException: could not find the ColdFusion component or interface


    The web service must be created in cfadmin?  It won't let me.  I was understanding the cfinvoke webservice call would create the webservice, but this isn't.


    Any information outside of Adobe documentation I've read would be useful.


    We have this same file on four different servers.  It works on two of the four.  The only difference I see in the server settings in addition to the CF and the operating system version, is the vendor/version of Java.


    1 CF10, Java Sun, IIS 7.5.7600.16385 - work

    2 CF8, Sun Java - work

    3 CF10, Java, Oracle - does not

    4 CF10, Java, Oracle, IIS 7.5.7600.16385 - does not


    Thank you.

    It turns out that it was a matter of nomenclature of directory.  Directory has a period in it (for example, domaine.org).  Once the period has been removed from the directory name, it worked.  For some reason, it worked fine in CF8 but not CF10.  I hope this helps someone else.

Maybe you are looking for