CFC web service function take only 16 arguments

Hi
I created a web service in coldfusion 9 (installed while ago and also installl update 9.0.1). All other cfc's works fine only one cfc that have two functions with more than 16 arguments that cause problem and gives error "Unable to read WSDL..."   and 500 internal server error. When I remove arguments those more than 16, it works fine.
Any idea?
Thanks
Paresh

Ok, while scowering the internet for more examples to help. I
see that i missed a very big step in not including the Operation
call. I modified my code to include it, but seems like everyones
examples are to simply get info from other sites and not
passmultiple variables. What am I missing my my code below. I need
to pass 4 varbales to the CFC (addOne, duration, action, VideoFile)
var trackerDAO:WebService = new WebService();
trackerDAO.wsdl =
"https://umm/prmc/videotrack/trackerDAO.cfc?wsdl";
trackerDAO.loadWSDL();
var operation:Operation = new Operation(null, "countIt");
operation.addEventListener(FaultEvent.FAULT, alertFault);
operation.request(addOne, results, action, source);
<---Wrong??
operation.send();

Similar Messages

  • Problem with CFMX web service function return

    I made a post yesterday about a web service function I was
    writing, as it turns out my post was extremly incorrect for my
    problem. With this web service function I can return an array just
    fine, I can return one instance of an object just fine, however,
    when I try to return an array of the object I keep getting the
    error:
    Could not perform web service invocation "SelectGames"
    because AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
    exception is: coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modified. Please refresh your web service client.]];
    nested exception is: coldfusion.xml.rpc.CFCInvocationException:
    [org.apache.axis.AxisFault : ; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modified. Please refresh your web service client.]]
    faultActor: faultNode: faultDetail: {
    http://xml.apache.org/axis/}stackTrace:
    AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
    exception is: coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modifie..
    which basically means that the CF server needs restarted.
    However if I restart the CF server, no matter how many times I am
    still getting this error. If I change up my web service function to
    return just a normal array of integers or strings, or I change it
    to return one instance of the arbritrary complex type it all works
    just fine. I am still a little new on this subject and any
    enlightenment would be great. If anyone has found a way around this
    please let me know.
    Here is my complex type:
    <cfcomponent>
    <cfproperty name="Game_id" type="numeric">
    <cfproperty name="gameDate" type="date">
    <cfproperty name="Starttime" type="string">
    <cfproperty name="Place" type="string">
    <cfproperty name="Level" type="string">
    <cfproperty name="Sport" type="string">
    <cfproperty name="Gender" type="string">
    <cfproperty name="Opponent" type="string">
    <cfproperty name="Type" type="string">
    <cfproperty name="Link" type="string">
    </cfcomponent>
    I loop trhough a query and set a cfobject of the types above,
    then I append that object to an array and try t o return the array.
    Here is the basics of the loop:
    <cfset theArray = arrayNew(1)>
    <cfobject component = "games" name = "test>
    <cfloop query ...>
    <!--- set values to test ---->
    <cfset arrayApend(theArray, test)>
    </cfquery>
    <cfreturn theArray>
    my return type is array, I think the problem is I need to
    specify the return type to be an array of arbritray complex types
    which is impossible to do in CF. Anyone find a way to get around
    this?? Any feed back at all would be greatly appreciated.

    Yes, I have tried it and return type any does not work in
    this situation since this function is being consumed by a web
    service. It needs to be in the form of an array of arbritrary type
    that is defined in a cfc file. Since this is WSDL the returntype
    has to be specified to every last bit.

  • Web service functions in SSO without username and password

    Is there a way to use the Public Report Web Service functions when configured in SSO and without passing a username and password? I was able to try out the web service and make it work. As we all know, you need to pass a username and password for each web service call unless your reports can be accessed by guests. In an SSO + LDAP server configuration, there are cases in which you are not allowed to get the password. The password can not be decrypted.
    Is there a way to still use web service? or do you need to use the url approach instead? But if you use the url approach then you may be limited to generating reports only.
    I'm thinking there should be since if you are already logged in for SSO then you should be able to generate.
    Any way to configure this?

    <i>When I access web reports from bw.</i>
    i hope you are not talking about BEX web reports , since you have mentioned ITS.
    Is it a standlone ITS or intergrated ITS?
    can you post the url pattern here.
    Regards
    Raja

  • Web Service function to return OracleDataReader

    My current .Net code with ODP calls a data access layer function which returns an "OracleDataReader". We would like to test an alternate approach and call a web service function instead. When I try and create the Web Service function it does not allow me to specify "OracleDataReader" as the return since it gives an error that the function cannot be serialized since it "does not implement Add(System.Object).".
    Is there an Oracle.DataAccess.Client alternative? Does this mean I have to return a "DataSet" since it is the only data structure which can be serialized?

    this is pseudo c#
    snippets of a class definition NB Note the Serializable decoration
    #region ADPerson definiton
         [Serializable]
         public class ADPerson
    #region ADPerson fields
    private string _postCode;
              private string _deliveryOffice;
              private string _telephoneNumber;
    #region ADPeople collection of ADPerson
         [Serializable]
         public class ADPeople : System.Collections.CollectionBase
              public int Add(ADPerson value)
    This is in my web method
    using AD = ADClasses;
    #region main lookup method
              [WebMethod(Description = "Lookup in Active Directory")]
              public AD.ADPeople ADLookup(string strSearchCriteria, string strUser, string strPassword, string strDomain)
    AD.ADPeople adPeople = new AD.ADPeople();
    AD.ADPerson ap = new AD.ADPerson();
    adPeople.Add(ap);
    return adPeople;
    Just make sure that your class(es) are serializable and return them from your web service. If you call the ser vice from a browser you will see your class as xml. If you call it from an app you can do something like
    class c= callWebService(param);
    HTH

  • Populating ComboBox with CFC web service return type query

    I am just now learning Flex and am attempting my first app (I have been a CFer for years).
    Anyway, I am attempting to build an AIR app in Flex that simply has a login with a form to submit information into a database.
    Things are going ok, except I am stumped at something that I think should be simple...populating a combo box. I have a CFC (I am using CFCs as a web service to drive the app) that contains a method that simply returns a query. I want to use the results to populate the combo box display and value. I created the combo box and then dragged the method to the box to have FB create the code. It populates the list but with just [object Object]. This is a piece of cake in CF but I am not stumbling across the correct syntax in Flex. Any pointers would be appreciated.
    Here is my current code.
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:users="services.users.*"
                           currentState="login"
                           xmlns:vinlookup="services.vinlookup.*"
                           xmlns:inventory="services.inventory.*"
                           creationComplete="init()">
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.utils.ObjectUtil;
                /*Login Code----------------------------------*/
                private var loginrs:Object;
                //Failed to connect to the wsdl service
                private function GeneralFailed_Handler(e:FaultEvent):void
                    Alert.show(e.fault.faultString, "Error connecting to the service");
                //Login Handler
                protected function submitBtn_clickHandler(event:MouseEvent):void
                    loginUserResult.token = users.loginUser(userName.text, password.text);
                //Result Handler for Account Authentication
                private function loginUserResult_resultHandler(e:ResultEvent):void
                    //check the result
                    //Alert.show(ObjectUtil.toString(e.result),"Login Results")
                    loginrs = new Object();
                    loginrs = e.result;
                    if(loginrs['loggedin'] == 'Y')
                        currentState = 'insertInventory';
                    }else{
                        Alert.show("Try Again Please.");
                /*VIN Lookup Code----------------------------------*/
                private var vinrs:Object;
                //VIN Lookup Handler
                protected function VINSubmitbtn_clickHandler(event:MouseEvent):void
                    getvinInfoResult.token = vinlookup.getvinInfo(vin.text, "BASIC");
                //Result Handler for Account Authentication
                private function vinLookupResult_resultHandler(e:ResultEvent):void
                    //check the result
                    Alert.show(ObjectUtil.toString(e.result),"Lookup Results")
                    vinrs = new Object();
                    vinrs = e.result;
                    if(vinrs == null)
                        Alert.show("The VIN did not decode. Try Again Please.");
                    else
                        bodyStyle.text = vinrs['VARBODYSTYLE'];
                        //Alert.show("Yes!");
                /*Item Type Combo Box Code----------------------------------*/   
                protected function comboBox_creationCompleteHandler(event:FlexEvent):void
                    getItemtypeResult.token = inventory.getItemtype();
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="login"/>
            <s:State name="insertInventory"/>
        </s:states>
        <fx:Declarations>
            <s:CallResponder id="loginUserResult" result="loginUserResult_resultHandler(event)"/>
            <users:Users id="users" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getvinInfoResult" result="vinLookupResult_resultHandler(event)"/>
            <vinlookup:Vinlookup id="vinlookup" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <inventory:Inventory id="inventory" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getItemtypeResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Panel width="250" height="150" title="Login" horizontalCenter="0" verticalCenter="0" includeIn="login">
            <mx:Form width="100%" height="100%" horizontalCenter="0" verticalCenter="0">
                <mx:FormItem label="User Name">
                    <s:TextInput id="userName"/>
                </mx:FormItem>
                <mx:FormItem label="Password">
                    <s:TextInput id="password" displayAsPassword="true"/>
                </mx:FormItem>
                <mx:FormItem>
                    <s:Button label="Login" id="submitBtn" click="submitBtn_clickHandler(event)"/>
                </mx:FormItem>
            </mx:Form>
        </s:Panel>
        <s:Panel includeIn="insertInventory" width="400" height="400" title="Insert Inventory" horizontalCenter="0" verticalCenter="0">
            <mx:Form width="100%" height="100%" horizontalCenter="0" verticalCenter="0">
                <mx:FormItem label="VIN">
                    <s:TextInput id="vin"/>
                </mx:FormItem>
                <mx:FormItem id="vinSubmitbtn">
                    <s:Button label="Decode VIN" id="VINSubmitbtn" click="VINSubmitbtn_clickHandler(event)"/>
                </mx:FormItem>
                <mx:FormItem label="Body Style">
                    <s:TextInput id="bodyStyle"/>
                </mx:FormItem>
                <mx:FormItem label="Item Type">
                    <s:ComboBox id="comboBox" creationComplete="comboBox_creationCompleteHandler(event)">
                        <s:AsyncListView list="{getItemtypeResult.lastResult}"/>
                    </s:ComboBox>
                </mx:FormItem>
            </mx:Form>
        </s:Panel>
    </s:WindowedApplication>

    I figured it out with the help of the AS help. I switched to using a DropDownList and the first example in the help.

  • Oracle Web Services Functions

    is there a list of the functions that can be thrown to the web services api to retrieve say people's list of events for that day or a resource schedule?
    Thanks

    Hi,
    If I understand correctly you question,
    You would like to know if there is an API that would allow to get a user's information for a given date range (say today)?
    At the moment it is only possible to get "your" list of meetings for a given date range. We are looking at adding such feature in a future release of the Calendar Web Services.
    Also, the same answer apply to the resouce. You can't fetch a resource schedule at the moment.
    Regards,
    Frederic Leblanc

  • Web service proxy take ~4 minutes to detect connection problem in AIX!

    Dear All,
    i am developing a client application that consume web service , by jdeveloper 10.1.3.1.
    i found a problem, in AIX, that the web service proxy generated by jdeveloper take long time
    to detect connection problem to the server (e.g. server is down, network down, invalid
    ip address or port supplied).
    in ms window, if the proxy can't reach the server, it throw exception within seconds.
    but in ibm AIX, it take about 4 minutes !!! the time is too long until the exception is thrown.
    could anybody help me?
    is there something i can set to greatly shorten the hanging time when connection
    problem?
    thank you.

    nobody experience this problem?

  • Question regarding a web service functionality in JDeveloper

    Hi guys,
    I used JDeveloper to create a very simple Celsius to Fahrenheit converter web service. One Java class, one method, taking in a float as an argument and returns a float. I created the web service. When I deployed it to a remote OC4J, I got a com.mysql.jdbc driver cannot be found error...which threw me off. As it turns out in the Connections tab, I had a node created under Databases for accessing MySQL that is installed on my machine. So it seems JDeveloper was trying to transfer those settings as well to the remote OC4J...when I deleted that node, the problem went away and the web service got deployed ok. Why is that? Is there any way to tell JDeveloper to ignore that and deploy the Web Service?
    Thanks in advance.

    Hi,
    In the Preferences dialog's Deployment tab, the 'Bundle Default data-sources.xml During Deplyment' checkbox is checked by default. This file will define the data source for each defined database connection. Can you try unchecking this and try deploying the web service ?
    Havent got a MySQL db connection myself to try reproducing, Will seearound if I get access to one to reproduce inthe meanwhile..
    Regards,
    Sunil..

  • Web Service Function Permissions

    Hi,
    I am a fusion edge application developer and new to web service security.
    I have a basic question about how I can set up functional security for a web service.
    Our team has several simple web services, and I need to secure them by the privileges of the users.
    One of our service has two policies defined: wss_username_token_service_policy (global) and binding_permission_authorization_policy (local).
    I was expecting binding_permission_authorization_policy will check the user's privileges, which are defined in jazn-data.xml.
    However, when I enable binding_permission_authorization_policy, all the users get "failure in authorization" error, and when I disable it, all the users are able to run the service successfully.
    I must be missing something basic.
    Would someone kindly help me how I can solve this issue?
    The steps I followed:
    1. In Jdeveloper, I defined WSFunction Permission in jazn-data.xml. As result, “TransactionServiceAMService#*” is granted to PAS_CREATE_TRANSACTION_WEB_SERVICE_DUTY.
    2. PAS_CREATE_TRANSACTION_WEB_SERVICE_DUTY is allowed EDR_COMPLIANCE_BUSINESS_ANALYST_JOB, which is an Enterprise Role.
    3. I deployed the change to the server.
    4. In WLS, EDR_COMPLIANCE_BUSINESS_ANALYST_JOB is assigned to the user "Compliance Business Analyst".
    5. In EM, two policies have been attached to TransactionServices: wss_username_token_service_policy (global) and binding_permission_authorization_policy (local).
    6. I bounced the server.
    7. I invoked the web service by using the user "Compliance Business Analyst".
    8. "failure in authorization" error was received.
    9. I disabled binding_permission_authorization_policy, bounced the server, and then invoked the web service again as "Compliance Business Analyst".
    10. The service was completed successfully (it created a transaction record.)
    11. Invoked the same service by using another user, who does not have EDR_COMPLIANCE_BUSINESS_ANALYST_JOB assigned.
    12. The service was still completed successfully, which is wrong.
    Thank you.

    Hi, yea, thats is possible you can implement a Web Service directly from Oracle, you can review the next link for get more information how implement this service.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14377/web_serv.htm#HTMAD006
    Please let me know if you needed more information about this implementation.
    Regards.
    Serch-Net.

  • Trouble Calling Web Service Function From Runbook

    i have downloaded the OrchestratorServiceModule web services module from CodePlex and i am successfully using it in runbooks.  But for some reason when i call the runbook from another runbook, the Get-OrchestratorRunbook function returns no data
    ($runbook variable is $null).   The error message states the runbook name that i provide "is not found in Orchestrator".    This function works well when the runbook is called directly.   The variables
    are populated.  $creds is set to $null.   there are no errors regarding installing the module or finding the function.   any ideas as to why this would succeed when the runbook is called directly but fail when called by another runbook?
    $runbook = Get-OrchestratorRunbook -serviceurl $url -runbookpath $rbpath -credentials $creds

    George,
    The documented way to call a web service using PL/SQL is to use UTL_DBWS package.
    Here are a couple of links that may be useful:
    http://www.oracle-base.com/articles/10g/utl_dbws10g.php
    http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    There is also an APEX package wwv_flow_web_services, but I couldn't find any documentation on it.
    Sima

  • HP LaserJet P1102w. I print the IP address in the address line and there is no tab for Web services.

    HP LJ P1102w. want to sign on the HP web services. I print the IP add. in Explorer and I do not get Web services tab

    Hi,
    The Web Services functionality is only avaiable on later firmware versions,
    Updating the firmware of the printer will add the functionality and the tab will become available.
    Be sure to temporary plug the printer to your PC with a USB, then run the firmare updater below by selecting the newly added USB printer queue:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=bi-115794-1&cc=us&dlc=en&lc=en...
    Once the firmware update completes unplug the USB and follow the steps below to enable web services:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03128518&tmp_task=setupCategory&cc=us&dlc=en&lc...
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Web Services and Parameters - Problem

    I have 2 web services I set up. One takes no parameters and
    works fine. The
    other takes arguments and it tells me the method cannot be
    found. What am I
    missing? What is the magic bullet to invoke a web service
    that takes
    arguments and have it work? I have all the web service's
    arguments set to
    'required="yes"' and I set up another 'no argument function'
    in the
    SearchProperty.cfc to make sure it also works and it did
    fine, so I know the
    web service exists and is accessible.
    I tried both createObject in my contoller and cfinvoke. Both
    work fine for
    the web service that takes no arguments and neither work for
    the one that
    does.
    Here is my controller blocks (please excuse the Model-Glue)
    This works fine
    <!---Get All Cities For Search Engine--->
    <cffunction name="getCities" access="public"
    returntype="void"
    output="false" hint="I displays all the cities for the front
    page">
    <cfargument name="event" type="ModelGlue.Core.Event"
    required="yes">
    <cfset Cities = createObject("webservice",
    http://74.86.90.210/realitorToolBox/model/webservices/CityGateway.cfc?wsdl")/>
    <cfset allCities = Cities.getCities() />
    <cfset arguments.event.setValue("getAllCities",
    allCities)/>
    </cffunction>
    This cannot be found:
    <!---Search Residentual Properties--->
    <cffunction name="SearchProperties" access="public"
    returntype="void"
    output="false" hint="I displays all the cities for the front
    page">
    <cfargument name="event" type="ModelGlue.Core.Event"
    required="yes">
    <cfset userID = 555555>
    <cfset bedrooms =
    arguments.event.getValue("bedrooms")/>
    <cfset bathrooms =
    arguments.event.getValue("bathrooms")/>
    <cfset footage = arguments.event.getValue("footage")/>
    <cfset minprice =
    arguments.event.getValue("minprice")/>
    <cfset maxprice =
    arguments.event.getValue("maxprice")/>
    <cfset basement =
    arguments.event.getValue("basement")/>
    <cfset garage = arguments.event.getValue("garage")/>
    <cfset CITIES = arguments.event.getValue("CITIES")/>
    <cfset Search = createObject("webservice",
    http://74.86.90.210/realitorToolBox/model/webservices/SearchProperty.cfc?wsdl")/>
    <cfset searchAll = Search.SearchProperty(#userID#,
    #bedrooms#,
    #bathrooms#, #footage#, #minprice#, #maxprice#, #basement#,
    #garage#,
    #CITIES#) />
    <cfset arguments.event.setValue("Results",
    searchAll)/>
    </cffunction>
    Any ideas? My client is getting anxious and I hope to offer
    this service to
    other developers to use for their client's site.

    Ok, I will make this simplier. Couple questions.
    Is it possible to use cfargument in a web service?
    I looked at the samples out there and they all just have
    queries that take a
    form variable (#form.name#) since it was being passed by a
    form.
    Is it possible to have one web service function invoke
    another function in
    the same cfc?
    If you have one function that calls another to first validate
    the user and
    then invoke another to get the search results, do all have to
    be remote or
    can you have the search be private since you dont want it
    invoked remotely.
    I.E.
    <cffunction name="search" access="remote"
    returntype="query">
    <cfset authenticate = authenticateUser(#username#)>
    <cfif authenticate EQ 'yes'>
    <cfset myResults = searchProperty(#mlsnumber#)>
    </cfif>
    <cfreturn my Results>
    </cffunction>
    I tried a simple city search and tried to pass a variable
    argument.
    <cfinvoke
    webservice="
    http://74.86.90.210/realitorToolBox/model/webservices/CityGateway.cfc?wsdl"
    method="findCity" city = "clinton" returnvariable="aQuery"/>to:
    <cffunction name="findCity" access="remote"
    returntype="query"> <cfquery name="getCities"
    datasource="MLSListings"> Select city FROM residential WHERE
    city = '#city#' </cfquery> <cfreturn getCities>
    </cffunction>And I still get a function cannot be found, even
    though I used the cfcexplorer to verify that it does exist on the
    remote server.Any ideas?

  • Web Services int.java Problem

    Hi, I'm totally new to Web Services can have a problem with JBuilder trying to generate a file named int.java from the WSDL. The WSDL is supplied by a TDA in my company and I've noticed that it has a few descriptions that include <restriction base="int"/>. When I import the WSDL and select the option to generate local server and then try to compile from the default generated files, it's looking for String.java (that's OK, even though it doesn't find it) and also int.java...which doesn't make sense to me, so it FAILS to compile properly. I've also noticed that there is a deployment file WSDD that has a type of "java:int" in it.
    This may be a basic issue, but I'm new to Web Services this week so any help would be appreciated.
    Thanks, Paul.

    Ok, I will make this simplier. Couple questions.
    Is it possible to use cfargument in a web service?
    I looked at the samples out there and they all just have
    queries that take a
    form variable (#form.name#) since it was being passed by a
    form.
    Is it possible to have one web service function invoke
    another function in
    the same cfc?
    If you have one function that calls another to first validate
    the user and
    then invoke another to get the search results, do all have to
    be remote or
    can you have the search be private since you dont want it
    invoked remotely.
    I.E.
    <cffunction name="search" access="remote"
    returntype="query">
    <cfset authenticate = authenticateUser(#username#)>
    <cfif authenticate EQ 'yes'>
    <cfset myResults = searchProperty(#mlsnumber#)>
    </cfif>
    <cfreturn my Results>
    </cffunction>
    I tried a simple city search and tried to pass a variable
    argument.
    <cfinvoke
    webservice="
    http://74.86.90.210/realitorToolBox/model/webservices/CityGateway.cfc?wsdl"
    method="findCity" city = "clinton" returnvariable="aQuery"/>to:
    <cffunction name="findCity" access="remote"
    returntype="query"> <cfquery name="getCities"
    datasource="MLSListings"> Select city FROM residential WHERE
    city = '#city#' </cfquery> <cfreturn getCities>
    </cffunction>And I still get a function cannot be found, even
    though I used the cfcexplorer to verify that it does exist on the
    remote server.Any ideas?

  • Web Services and Nested Complex Types

    I am having troubles trying to get coldfusion to use a web
    service function.
    I know that the web service works as I am sending another
    function in a simple variable and receiving a simple variable. I
    know the function exists as I when I dump the object the function
    is there and I have been told by who supplies it that it works in
    other languages.
    The problem I am having is that when I call the function I
    get the following error: Web service operation "[function name]"
    with parameters [parameters] could not be found. I am lead to
    believe that it may have to do with the fact that one of the
    parameters is a complex type with nested complex types, because of
    the amount of trouble it took to get nested complex types to
    (apparently) work.
    Has anyone had this problem before and/or know how to fix
    it?

    You can invoke methods which take complextypes as parameters.
    The idea is to create first a structure which represents the
    complextype. For example; crit = structNew(), crit.paramname1 =
    value1, ctir.paramname2 = value2. After this, you just pass the
    structure
    crit as a parameter value, for example with
    <cfinvokeargument>.
    Always check the wsdl and the possible documentation
    carefully. You'll get always an error if the types of the
    parameters passed didn't match exactly to what was expected.
    Handling complextype responses is also possible, but not very
    elegant with ColdFusion.
    For example, you have <cfinvoke
    returnvariable="wsResult"... >, and you get a java object as a
    response which you can really do nothing about with CF functions,
    you must use Java Reflection API to extract the values.
    <cfset oFields =
    wsresult.getClass().getDeclaredFields()>
    <cfoutput>
    <cfloop from="1" to="#arraylen(oFields)#" index="fi">
    <cfset field = oFields[fi].getName()>
    <cfif isdefined("wsresult." & field) AND field NEQ
    "typedesc">
    #field# = #wsResult[field]#<br>
    </cfif>
    </cfloop>
    </cfoutput>
    The above is just an example, and It might work with only
    some types of complextype responses. But it's a start. :)
    http://www.mail-archive.com/[email protected]/msg00553.html
    is also another example about handling complextype responses. It
    plays "safer", not relying that CF can extract values without
    "getters" automatically, and is more of a complete solution.

  • Newbie question about the viability of web services.

    Hello All,
    I have never dealt with web services, and have only cursory knowledge of the technology, so forgive my ignorance in advance.
    I have a situation that I wonder if Web Services might help me solve.
    I have built a Java/JSP application that resides on a server that is inside our firewall. It has been successful, and management wants to make the data and functionality available to our customers outside the firewall.
    The problem is that our organization tightly controls the "public" applications. And the UI for my system does not meet their standards. Nor will they punch a hole in the firewall to allow access to my server.
    The solution we have been working on is to create a new UI using their approved methods, and copy the needed java classes to the "public" server.
    As you can see, if I do this, I will have to maintain two instances of the same class on two different servers.
    Can I avoid this by using web services to make those classes available to other applications from my internal server?
    Thanks in advance for your help.
    James.

    The solution we have been working on is to create a
    new UI using their approved methods, and copy the
    needed java classes to the "public" server.
    As you can see, if I do this, I will have to maintain
    two instances of the same class on two different
    servers. Okay, first, yes - webservices can help you if you MUST maintain two seperate UI's for some reason using the same backend data code or if you want to provide a datafeed only to your external users. It will take care of having to maintain seperate but identical class files, but it will create other overhead such as interfacing the existing files and the like, but if you must enable the UI then you will have two versions of this to maintain. If you are looking to just enable the data feeds and not the UI then it would seem a very logical fit.
    If you must maintain the UI, then why can't you convert your app over to the approved UI and host it on the "public" server for all users (internal and external)? Then you only have one set of data to maintain - period and webservices aren't necessary. If you proceed with either your current implementation or even with a webservices based implementation, you will have at least two seperate UI's to maintain as well as whatever the resulting support code - be it webservice interfaces to existing code or replicates of existing code - to also maintain.

Maybe you are looking for

  • How do I download a webpage in order to add designs f.e.?

    I am not sure if this is the appropriate forum, ... Let's say I am designing a new logo for a client. Now I like to build in this logo to their existing webpage so that the client can see, how the logo is integrated in their site. How would I do this

  • Sync via wifi devices not listed in iTunes

    I have 3 iOS 5 devices. I attach each of them via the USB cable to my Windows PC and they are shown. I select "Sync via WiFi" and remove the USB cable and the devices are no longer shown in iTunes. I believe they are suppose remain in the device list

  • Cannot Install Latest Version of Skype - Presumabl...

    I presently have version 6.18. When I try to install latest version I get a message "cannot open HKEY\LOCAL\MACHINE32\Software\Microsoft\Internet Explorer\Main\Feature Control\FEATURE_MAXCONNECTIONSPERSERVER". When I check the registry I do not even

  • Repair Packages

    My computer has recently been running repair_packages by itself. Is this a problem, and if so, how would I fix it?

  • Pdf transparency in gradients

    When saving a file as pdf (via the print > save as pdf options), the transparency in gradients is not correct. Here you see what the transparent gradient looks like: ... but in the pdf it looks like this: This issue is not related to one particular p