Coldfusion webservice?

I have two webservices with the same code but with different names
<cffunction name="getUserNameFormField" access="remote" output="false" returntype="string" displayname="getUserNameFormField">
<cfset var return = '<input name="userName" type="text" size="40" maxlength="40">'>
<cfreturn return>
</cffunction>
<cffunction name="getUserNameFormFieldn" access="remote" output="false" returntype="string" displayname="getUserNameFormFieldn">
<cfset var return = '<input name="userName" type="text" size="40" maxlength="40">'>
<cfreturn return>
</cffunction>
But when I invoke the first one return a check box.
For the second service displays an error as such? Can any one explain me a reason behind it?
Her is the invocation code and the error
<html>
<body><cfcomponent>
<cfinvoke 
webservice="http://localhost:8080/CTiWebServicesAPI/console/library/BaseConsole.cfc?wsdl"
method="getUserNameFormFieldn"  
returnvariable="saleshistory">
<!--- <cfinvokeargument name="requestedEvent" value="recipientForm"/>--->
</cfinvoke>
<cfoutput>  
#saleshistory#</cfoutput></cfcomponent>
</body>
</html>
The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.
The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
Web service operation getUserNameFormFieldn with parameters {} cannot be found.
The error occurred in C:\ColdFusion8\wwwroot\selfprojects\webservice3.cfm: line 6
4 : <cfinvoke webservice="http://172.16.172.41:8080/CTiWebServicesAPI/console/library/BaseConsole.cfc?wsdl"
5 :            method="getUserNameFormFieldn"
6 :              returnvariable="saleshistory">
7 :           <!---     <cfinvokeargument name="requestedEvent" value="recipientForm"/>--->
8 : </cfinvoke>
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser 
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Remote Address 
127.0.0.1
Referrer 
Date/Time 
09-Apr-09 04:05 PM
Stack Trace (click to expand)
at cfwebservice32ecfm989209474.runPage(C:\ColdFusion8\wwwroot\selfprojects\webservice3.cfm:6 )
coldfusion.xml.rpc.ServiceProxy$ServiceMethodNotFoundException: Web service operation getUserNameFormFieldn with parameters {} cannot be found.
     at coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProxy.java:147)
     at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2222)
     at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:417)
     at cfwebservice32ecfm989209474.runPage(C:\ColdFusion8\wwwroot\selfprojects\webservice3.cfm:6)
     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
     at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
     at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
     at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
     at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
     at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
     at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
     at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
     at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
     at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
     at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
     at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
     at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
     at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
     at coldfusion.CfmServlet.service(CfmServlet.java:175)
     at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
     at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
     at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
     at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
     at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
     at jrun.servlet.FilterChain.service(FilterChain.java:101)
     at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
     at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
     at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
     at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
     at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
     at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
     at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
     at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
     at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

There are two methods, but it is one web service, not two. The code you should have saved as the file BaseConsole.cfc is
<cfcomponent>
</cfcomponent>
There is no need for HTML or component tags in the caller. The calling page, say, wsCaller.cfm, should be something like
<cfinvoke
webservice= "http://localhost:8080/CTiWebServicesAPI/console/library/BaseConsole.cfc?wsdl"
method="getUserNameFormFieldn"
returnvariable="saleshistory">
</cfinvoke>
<cfoutput>#saleshistory#</cfoutput>
<cffunction name="getUserNameFormField" access="remote" output="false" returntype="string" displayname="getUserNameFormField">
<cfset var return = '<input name="userName" type="text" size="40" maxlength="40">'>
<cfreturn return>
</cffunction>
<cffunction name="getUserNameFormFieldn" access="remote" output="false" returntype="string" displayname="getUserNameFormFieldn">
<cfset var return = '<input name="userName" type="text" size="40" maxlength="40">'>
<cfreturn return>
</cffunction>

Similar Messages

  • Flex calling ColdFusion WebService

    We have a Flex application hitting ColdFusion web service and
    it works great.
    Now we need to employ security concerns before putting it in
    production so that only authorized users can interact with the web
    service. Do we have to pass credentials every time? Maybe this is
    more of a ColdFusion and web services question but considering Flex
    is so different I thought I would give this a try. Thanks.

    This is what i have
    public function getvalue(getvalueResultHandler:Function, getvalueFaultHandler:Function):void {
    // frame webservice request and invoke the service
    // create webservice object
    var service:WebService = new WebService();
    service.wsdl = URL + Common.WSDL_STRING;
    service.loadWSDL();
    var oper:Operation = service.getOperation(Common.operatn) as Operation;
    oper.resultFormat= Common.operationResultFormat;
    oper.addEventListener(ResultEvent.RESULT, getvalueResultHandler);
    oper.addEventListener(FaultEvent.FAULT, getvalueFaultHandler);
    // frame webservice request XML
    var xmlRequest:XML =
    <RetrievevalueRequest>
    <ClientID>{_helixGlobal.id}</ClientID>
    <WsdlVersion>{Common.wsdlVersion_2_0}</WsdlVersion>
    <ServiceType>{Common.serviceType}</ServiceType>
    <ApplicationID>{Common.applicationId}</ApplicationID>
    <RetrievevalueRequestItem>
    <ID>{_helixGlobal.inputparam}</ID>
    </RetrievevalueRequestItem>
    </RetrieveCvalueRequest>;
    oper.request = xmlRequest;
    service.endpointURI = Common.valueURL;
    oper.send();

  • Coldfusion webservice wsdl tag order

    Hi
    I've created a web service that interogates a database and
    spits out an xml document. It has a number of input parameters and
    just one output value (the xml document).
    When I test this using coldfusion everything works fine.
    However when my client tries to invoke the web service it says that
    the return value doesn't exist.
    I've looked at the wsdl files generated by coldfusion and
    there does seem to be a difference in the order of the message tags
    produced that I think must be causing the error.
    In one webservice he can view the order is: request,
    exception, response
    In the one that he can't access properly the order is:
    response, exception, request.
    Does anyone else know how to resolve this issue? Or am I
    looking in the wrong place?

    To change the order is necesary use PI module

  • Coldfusion Webservice with attachment

    Hi
    I would like to send file as a attachemnt in web service
    which is written in coldfusion .
    Please help me on how to write the Web service in coldfusion
    to send a attachemnt
    I have read we can do that using DIME , but not sure how to
    do that in CF
    Any help be great...

    Hi
    We can send attachment in SOAP reponse, please refer this
    link for more info
    http://www.w3.org/TR/soap12-af/

  • How to use SOAP in ColdFusion

    Hi All,
    The code set am using as follows
    index.cfm
    <cfsavecontent variable="soap">
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope
            xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns="http://one.dileep.com/soaptest/"><!---1 this is the cfc location--->
        <soapenv:Header>
        <setInit>1</setInit>
        <!--- 2 header param --->
        </soapenv:Header>
        <soapenv:Body>
            <addNumbers soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >
            <!---3 cfc method name --->
                <firstNumber>1000</firstNumber>
                <secondNumber>10</secondNumber>
            </addNumbers>
           </soapenv:Body>
    </soapenv:Envelope>
    </cfsavecontent>
    <cfhttp url="http://one.dileep.com/soaptest/soaptest.cfc" method="post">
        <cfhttpparam type="header" name="content-type" value="text/xml">
        <cfhttpparam type="header" name="SOAPAction" value="">
        <cfhttpparam type="header" name="content-length" value="#len(soap)#">
        <cfhttpparam type="header" name="charset" value="utf-8">
        <cfhttpparam type="xml" name="message" value="#trim(soap)#">
    </cfhttp>
    <cfdump var="#xmlparse(cfhttp.FileContent)#">
    soaptest.cfc
    <cfcomponent output="false" >
        <cffunction name="addNumbers" access="remote" returntype="any" output="false">
            <cfargument name="firstNumber" type="string" required="true"/>
            <cfargument name="secondNumber" type="string" required="true"/>
            <cfset retunVal="NO">
            <cfset username=0>
            <cfif isSOAPRequest()>           
                <cfset username = getSOAPRequestHeader("http://one.dileep.com/soaptest/", "setInit")>
                <!---4 retrieving  SOAP header value --->
            </cfif>
            <cfreturn arguments.firstNumber + arguments.secondNumber & username   />
        </cffunction>
    </cfcomponent>
    This is the right way for implimenting SOAP in COLDFUSION webservice ?
    More Questios
    1- <!---1 this is the cfc url--->
    What is the relevance of the cfc URL ? I am using sub domains
    eg : one.dileep.com, two.dileep.com,yyy.dileep.com, in this case the cfc url 'http://<<subdomain>>.dileep.com/soaptest/' should changed accordingly?
    2-<!--- 2 header param --->
    We have to give any tag name as Header?
    3- <!---3 cfc method name --->
    SOAP body  tag must be the method name that we need to exicute?
    Here, I have to execute method 'addNumbers'
    4- <!---4 retrieving  SOAP header value --->
    While retrieving the header value should we need to specify the cfc url?('http://<<subdomain>>.dileep.com/soaptest/')
    Please help.

    Have you read the chapter in CFWACK vol 3 on working with webservices?  It's not very in-depth, but has some pointers and the usual lame-a** code example.
    Depending on the complexity of what you are trying to do, you might be better off building a RESTful service instead of a SOAP service.  Despite it's name, SOAP tends to be overkill if all you are doing is passing a couple of args to the webservice, but is good if the request is complex.  REST is easiest if you are just sending a couple of args, but a pain in the a** if you are trying to do something complex in a single operation (works better to break down into individual state-changing calls to individual webservices).
    A couple of comments on what you are doing in your code:
    It's a lot simpler to use CFINVOKE than to roll your own webservice HTTP call.  If you're writing your own webservice this should be especially true.  I've ended up using CFHTTP to call vendor's webservices that I had no control over and wouldn't work with CFINVOKE, but that is the case where I've seen that to be true.  Check out the example in CFWACK.
    If you continue on the CFHTTP route, you might find it easier to use the CFXML tag instead of using CFSAVECONTENT to create the XML variable - this will allow CF to validate the xml document and ns references.  It also allows you to use the CFDUMP tag to get a formatted view of the xml doc to help with debugging.
    Most of the CFHTTPPARAMS you have included in your call are not really needed, at least that's been my experience.  For example, this is all I ever use in my SOAP calls:
       <cfhttp url="https://adwords.google.com/api/adwords/cm/v200909/AdGroupAdService" method="post">
        <cfhttpparam name="SOAPAction" type="header" value=""/>
        <cfhttpparam type="xml" value="#ToString(variables.adAd)#"/>
       </cfhttp>
    "variables.adAd" is the xml doc created by this code:
       <cfxml variable="adAd">
        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/v200909" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
           <soapenv:Header>
              <v20:RequestHeader>
                   authorization data goes here
              </v20:RequestHeader>
           </soapenv:Header>
           <soapenv:Body>
                   magic happens here
           </soapenv:Body>
        </soapenv:Envelope>
       </cfxml>
    Hope this helps.  My experience in this is that it requires some trial and error and lots of CFDUMPs to get it right the first time, but after you get over that initial hurdle it all suddenly "makes sense" from then on.
    Reed

  • Publish ColdFusion Web Service with Complex Return Type

    Hi,
    I am working on a project to publish couple ColdFusion
    webservices. The cosumer of those webservices is a Java
    application.
    One of my webservice need return an object. Here are demo
    codes:
    The returned ojbect is AddressRespond
    AddressRespond.cfc:
    <cfcomponent>
    <cfproperty name="addresses" type="Address[]" />
    <cfproperty name="myLearnException" type="MyException"
    />
    </cfcomponent>
    Address.cfc:
    <cfcomponent>
    <cfproperty name="city" type="string" />
    <cfproperty name="state" type="string" />
    </cfcomponent>
    MyException.cfc:
    <cfcomponent>
    <cfproperty name="code" type="string" />
    <cfproperty name="reason" type="string" />
    </cfcomponent>
    If the webservice "cosumer" is a ColdFusion application,
    there is no any problems. But the Java application doesn't
    understand the type of addresses in the WSDL file which is
    gernerated by ColdFusion:
    <complexType name="Address">
    <sequence>
    <element name="city" nillable="true"
    type="xsd:string"/>
    <element name="state" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="MyException">
    <sequence>
    <element name="code" nillable="true"
    type="xsd:string"/>
    <element name="reason" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="AddressRespond">
    <sequence>
    <element name="addresses" nillable="true"
    type="tns1:ArrayOf_xsd_anyType"/>
    <element name="MyException" nillable="true"
    type="impl:MyException"/>
    </sequence>
    </complexType>
    Could anybody give me any idea on how to resolve this
    problem?
    Thanks!

    The web service is actually the function, not the cfc and you
    didn't show a function.
    My own opinion is that since webservices by definition should
    be available to any calling app (cold fusion, .net, flash, etc),
    whatever gets returned from the method should be as universally
    recognizable as possible. This generally means text, numbers,
    boolean, or xml.

  • Component define data types for Webservices [Incomplete Documentation]

    I been looking around the web and in safari for a good answer to this question I have about the documentation found at
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservices_20.html
    When I try and recreate these examples I get this error.
    The component definition file for component 'name[]' cannot be found on this server.
    Does anyone know where I can find a zip file of this example. I am having a bear of time getting array of types to return from a coldfusion webservice and hope to at the very least recreate what is found in the documentation. I know it must be something very simple that isn't clear in the documentation so any help would be great.
    -Luke

    Ok, So I got simple with this.
    I made a directory called dashboardwebservice/testme
    and I put in there two files.
    <!--- webservice2.cfc --->
    <cfcomponent style="document">   
      <cffunction
    name="allNames" returnType="name[]" access="remote" output="false">
        <cfset var returnarray = ArrayNew(1)>
        <cfset var temp = "">
        <cfloop index="loopi" from="1" to="5">
           <cfobject component="name" name="tempname">
           <cfset tempname.Firstname = "Firstname">
           <cfset tempname.Lastname = "LastName#loopi#">
           <cfset temp = ArrayAppend(returnarray, tempname)>
         </cfloop>
         <cfreturn returnarray>
        </cffunction>
    </cfcomponent>
    and
    <!--- webservice2.cfc --->
    <cfcomponent>
        <cfproperty name="Firstname" type="string">
        <cfproperty name="Lastname" type="string">
    </cfcomponent>
    This creates the error.
    Component not found
    The component definition file for component 'dashboardwebservice.testme.name[]' cannot be found on this server.
    I don't think it knows how to create the description for the web request because it is looking for a array of that object.

  • How to access json data posted to a CF webservice

    Hi All,
    I have a ExtJS app that makes a call to a Coldfusion webservice and sends a json object as part of the POST request. In Firebug I can see the json object being posted but I can't seem to access it in Coldfusion.
    Anyone know how or if this is possible?
    Thanks,
    Orla

    Thanks...
    The following is exactly what I need as I want to keep the json to pass on to a java webservice call:
    <cfset requestJson = toString(getHttpRequestData().content)>

  • Send Array to CFC Webservice ?

    Hi, want to be able to send my coldfusion webservice an array
    that I have in flex. Kinda like a shopping cart.
    I have the array working in Flex, add remove so forth.....
    but i cant figure out how to take this data and get it to the
    server.
    Hopefully I dont needs FDS for this. Any help would be
    greatly appreciated.
    Stephan
    onTapMedia

    Hi ericbelair,
    This error occurs because of anyType. I have tested this, you need to change widgets type to 'xml' and soap request should be like this:
    <Widgets>
       <item xsi:type="xsd:anyType">
         <item>
          <NameTxt>Available Cash</NameTxt>
          <WidgetIdNmb>3</WidgetIdNmb>
         </item>
       </item>
      </Widgets>
    OR you can change widgets type to 'struct' then your soap request should be like this:
    <Widgets xsi:type="x-:Map" xmlns:x-="http://xml.apache.org/xml-soap">
                <!--Zero or more repetitions:-->
                <item xsi:type="x-:mapItem">
    <![CDATA[
                   <item>
          <NameTxt>Available Cash</NameTxt>
          <WidgetIdNmb>3</WidgetIdNmb>
         </item>
    ]]>
                </item>
             </Widgets>
    ericbelair if you are just making soap request then better you can just think either Widgets can be xml OR struct and can format your request accordingly.
    Please check and let me know if you want anything.

  • New flex developement environment

    Hello everyone.
    I had a job where I programmed in flex. I liked it. When I started working there, everything I needed was installed and functionning.
    Now I have a contract and I want to work it in Flex. Now, I have been looking all around the web to find some help to install a proper developpement tool for my needs. But I can't seem to find what I expect. Every help I find is about someone's own problem. Nevertheless, I tried to install everything on my own. Though it doesen't work at all. So here I am. I guess this is the best place to post my request. I'll try to give you the most details I can.
    First I want to work in Eclipse.
    All I need is some basic MXML programming. With a design view.
    I will have to request some information to a MySql database. I beleive it is possible through a ColdFusion WebService.
    And finally I beleive that I need some Server to run my applications.
    That's it... It's simple, and though I can't find any documentation from where to start.
    So if somebody can give me a stepped procedure to make it work, I would appreciate a lot.
    Thank you all.
    dominic

    Do I have to create a new project everytime I want to create a c++ command line tool?
    Using Xcode, yes. Of course, you don't have to use Xcode. make and gcc still work fine.
    And when I have created the executable where does it go?
    It depends on your "active configuration". It will be somewhere inside the "build" folder in the same folder as your Xcode project file. Inside that will be folders for all your configurations: Debug, Release, Development, Deployment, etc. You can change all that as well.
    Usually, the defaults are fine and you can do something like:
    ./build/Debug/mytool
    To run it from your Xcode project folder.

  • Trying to call a webservice generated by coldfusion

    Hi
    We are running SAP PI 7.11.
    We are trying, from SAP PI,  to call a webservice that is created by coldfusion - the target url is called
    http:/...../edb_service.cfc?wsdl via the SOAP adapter (RECEIVER)
    Our adapter/comm channel fails with a http error 500:
    "SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error. Setting message to status failed."
    It appears that we are not getting any connection at all. When trying to call the webservice from XMLSPY it works fine? Are there any restriction to call a webservice created by coldfusion?
    How can I get any better logging of the call attempt, because I can not see anything out of the comm. channel eror message.
    Any help would be appreciated.
    Thx

    Hi
    the target url should be http:/...../edb_service.cfc
    also mention the correct action.
    you would not get the error.
    Regards
    Monika

  • Consumming java webservices in coldfusion

    could somebody show me how to consume this webservice from
    within coldfusion?
    http://www.ripedev.com/webservices/ZipCode.asmx?WSDL"
    right now I invoke it as follows:
    <cfinvoke
    webservice="
    http://www.ripedev.com/webservices/ZipCode.asmx?WSDL"
    method="ZipCodeToCityState" ZipCode="12210"
    returnvariable="returnedText" >
    </cfinvoke>
    <cfoutput>
    #arraylen(variables.returnedText)#
    </cfoutput>
    And this is what i get
    com.ripedev.xsd.ZipCodeResults_xsd.ArrayOfAnyType@aaa1d576 .
    This actually has no meaning to me.
    Thanks
    amos

    I'm just learning how to consume webservice stuff but this
    should help as I got a result. See my code snippet below.
    Basically I did some cfdumps to see what the objects look
    like. This is from an empirical view as I don't understand yet. The
    object comes back with methods. You then use those methods to get
    values. I chose to use the getAnyType method. I did this as I used
    another tool, soapscope from www.mindreef.com (30 day eval) which
    really simplifies how to call webservices. It's worth the cost.
    Basically I invoked the service via soapscope and looked at
    the returned xml.
    It looked like:
    <soap:Envelope
    xmlns:soap="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <ZipCodeToCityStateResponse xmlns="
    http://ripedev.com/xsd/ZipCodeResults.xsd">
    <ZipCodeToCityStateResult>
    <anyType xsi:type="xsd:string">Albany,
    NY</anyType>
    </ZipCodeToCityStateResult>
    </ZipCodeToCityStateResponse>
    </soap:Body>
    </soap:Envelope>
    Note that the result was in a value of anyType. Thus I picked
    getAnyType method
    I hope this helps ya but I'm still quite a newbie to this.
    This link help me understand a little more about webservice
    http://tutorial292.easycfm.com/
    Zip test WS Object
    object of com.ripedev.xsd.ZipCodeResults_xsd.ArrayOfAnyType
    Methods hashCode (returns int)
    equals (returns boolean)
    getSerializer (returns interface
    org.apache.axis.encoding.Serializer)
    getDeserializer (returns interface
    org.apache.axis.encoding.Deserializer)
    getTypeDesc (returns org.apache.axis.description.TypeDesc)
    getAnyType (returns java.lang.Object)
    getAnyType (returns [Ljava.lang.Object;)
    setAnyType (returns void)
    setAnyType (returns void)
    getClass (returns java.lang.Class)
    wait (returns void)
    wait (returns void)
    wait (returns void)
    notify (returns void)
    notifyAll (returns void)
    toString (returns java.lang.String)
    Breaking down the object
    array
    1 Albany, NY

  • Consume a webservice developed in other than coldfusion  in WS-Security mode

    1. What are the prerequisites (any software installation, configuration) to be considered ?
    Requirement : To consume a Webservice developed in other than coldfusion in WS-Secuirty mode .
    Environment used : Windows 2003, IIS 6, Coldfusion 8, SQl server 2005
    2. While trying to consume a public webservice through coldfusion , We received unable to read WSDL file and Unknown host exception error.Can you please advise. why we are receiving this error and solution ?

    Thanks Dan Bracuk, for your reply.
    What I could understand from Sivakarthikeyan post is that
    Point 1)
    It is mentioned that they are going to consume external webservices for which he would like to know whether any software/configuration is required to implement WS-Security (In IIS or coldfusion administrator)?
    Point 2)
    It could be a correct URL that he is using, from his description (2nd step) he gets a error message as "Unable to read WSDL file". If it of incorrect URL then he would have received file not found or other error message.
    Can you please or anyone clarify?
    Thanks,
    Satheesh

  • Coldfusion 8 webservices

    Hello,
    I recently upgraded from Coldfusion 6.1 to 8 on my production and development server. Ever since the upgrade, my webservice stopped working on my production server. I tried manually registering the one webservice I had directictly via the cf administration, and that fails. I would like to avoid having to re-upgrade; is there some kind of change to a configuration file that I can make?
    I also upgraded the coldfusion developer version on my desktop that I use for development, and that works. That leads me to believe something didn't get upgraded on my production server. Any ideas????????

    Adam,
    Thank you for replying... I went ahead and tried recreating the webservice. I recreated the "cfc", gave it a new name, put it in a new folder, and uploaded to my production server, and that worked! Coldfusion went ahead and auotmatically registered the webservice too, as it should.
    In case someone else runs in to this problem, I am posting the error that I received, hopefully it will help...
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 1 system error: *** Semantic Error: The input file "C:/ColdFusion8/stubs/WS-635554700/appcfcs/status.java" was not found. .
    Thanks again Adam,
    David

  • Consume SharePoint Webservice with Coldfusion

    Has anyone been able to consume a SharePoint web service with
    Coldfusion? Any examples, resources or tips? A basic example would
    be to pull in a list.
    Thanks
    Dwight

    My group is also having trouble with this. The problems seems
    to be related to CF not being able to use NTLM authentication.
    Thanks,
    Tom

Maybe you are looking for