Re: [flexcoders] Re: Problem with Flex and CF web service

2006-07-29 Thread Rick Root
howardescholz wrote:
 
 
 Why are you using:
 ws.queryDB.send(RUNDATE,ENTITYID,LASTNAME,
 FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCLASS);
 ?
 
 why not just
 ws.queryDB(RUNDATE,ENTITYID,LASTNAME,
 FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCLASS);
 ?


Because in programming, there's always more than one right way to do 
things?  I do this in other web services and it works fine that way.

I'm interested in solutions to the problem, if anyone can think of one.

Besides, I've actually switched to using the mx:request method and 
putting the arguments in there...  Same problem occurs every way I try it.

Rick


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Problem with Flex and CF web service

2006-07-28 Thread howardescholz
Why are you using:
ws.queryDB.send(RUNDATE,ENTITYID,LASTNAME,
FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCLASS);
?

why not just
ws.queryDB(RUNDATE,ENTITYID,LASTNAME,
FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCLASS);
?

Howard
--- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote:

 I'm finding this to be really frustrating.  I've been googling the 
error 
 message and trying all kinds of things.  I even uninstalled just 
about 
 everything (all jdk's and jre's, all versions of flash player and 
flash 
 player active x controls, etc).. and then reinstalled Flex Builder 
 standalone.. and I still can't figure this out.
 
 I could really use some help here.
 
 Rick
 
 ricrootnc wrote:
  
  (I posted this to [EMAIL PROTECTED] 
  mailto:flex%40houseoffusion.com but there's more activity
  here)
  
  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/checkMaili
 
  https://www.it.dev.duke.edu/components/dukemagsearch/checkMaili
  ng2.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,PRFCL
  ASS);
  
  I've also tried using the mx:request tag with the arguments 
linked
  in there, to no avail.
  
  I'm browsing the flex app locally using a FILE url 
(C:\Inetpub...)
  but this shouldn't affect anything because the getListData() web
  service responses just fine.
  
  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.cf
 
  
https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.c
f
  c].
  blah blah blah
  
  Nothing shows up in the coldfusion application log or the 
exception
  log.
  
  Anyone got any ideas?







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/