try var obj:Object = new Object(); obj.argone = valueone; obj.argtwo = valuetwo; .. .. .. WS.arguments = obj; WS.send();
DK On 7/28/06, Rick Root <[EMAIL PROTECTED]> wrote: > > I can't seem to debug this issue. > > I've got a web service set up like this: > > <mx:WebService id="ws" > wsdl=" > https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?wsdl > " > useProxy="false"> > <mx:operation name="queryDB" result="queryDBResult()" > fault="queryDBFault(event)"/> > <mx:operation name="getListData" result="getListDataResult()" > fault="getListDataFault()"/> > </mx:WebService> > > getListData() takes no args and runs fine, and populates my list boxes. > > However, the queryDB() method causes a mysterious fault. > > To call the web service, I'm actually using actionscript to set some > variables and then pass them in as arguments to the .send() method, like > this: > > > ws.queryDB.send > (RUNDATE,ENTITYID,LASTNAME,FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCLASS); > > > my fault function: > > public function queryDBFault(e:Event):void > { > Alert.show(e.toString(), "Oops!", Alert.OK); > } > > produces the following alert: > > [FaultEvent fault=[RPC Fault faultString="HTTP request error" > faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent > type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error > #2032: Stream Error, URL: > https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"]. > blah blah blah > > Nothing shows up in the coldfusion application log or the exception log. > > Anyone got any ideas? > > Rick > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3048 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:37 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
