|
Hi Jeff,
I tried if from inside my code and it works
!
I got an array with 113 items.
Since it�s working from my code, the problem is not
with the CFC itself, but rater with your CF configuration.
Try refreshing or deleting the webservice from the
CF admin ... also, are you using the 6.1 ?
Regards,
Marc
----- Original Message -----
Sent: Saturday, November 15, 2003 8:17
PM
Subject: Re: [CFCDev] Remote Method Fine
when run as component, fails as WS
Ahh, I found the extraneous code. I'm still having
problems invoking it directly from CF as: <cfinvoke
webservice="http://radio.tapper.net/artist.cfc?wsdl"
method="getSongs"
returnvariable="aObjectArray">
<cfinvokeargument name="artist"
value="beatles"/> </cfinvoke>
Its still throwing this
error: Web service operation "getSongs" with parameters {artist={beatles},}
could not be found.
Am i missing something basic
here?
At 05:29 PM 11/15/2003 -0200, you
wrote: >Jeff, > >I just tried your wsdl and it works
fine: ><http://radio.tapper.net/artist.cfc?wsdl&method=getSongs&artist=beatles>http://radio.tapper.net/artist.cfc?wsdl&method=getSongs&artist=beatles
>returns a wddx packadge with some beatles songs. > >But
this is the problem: at the end of the file something is spitting this
>HTML: > >"</TD> >
</TR> > <TR> > <TD WIDTH="100%"
ALIGN="CENTER" COLSPAN="2" BGCOLOR="Black"> >
<IMG SRC="" ALT="RFA Made possible with >
shoutcast streaming" BORDER="0"> >
</TR> ></TABLE> ></body> ></html>" > >probably
this is messing with your component call ... try looking for what >is
outputing this HTML and strip it from the
result. > >Regards, > > >Marcantonio
Silva >Diretor -
Navita >[EMAIL PROTECTED] >www.navita.com.br >Tel:
+55 11 3365.2173 >Cel: +55 11 9656.4634<?xml:namespace prefix = o
/> > > >----- Original Message ----- >From: <mailto:[EMAIL PROTECTED]>jeff
tapper >To: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] >Sent:
Saturday, November 15, 2003 4:34 PM >Subject: [CFCDev] Remote Method
Fine when run as component, fails as WS > >Any thoughts on why the
same method (set to be remote) of a CFC would run >fine when called
as: ><cfinvoke >
component="artist" > method="getSongs" >
returnvariable="getArtistCountRet"> >
<cfinvokeargument name="artist"
value="beatles"/> ></cfinvoke> >but fails when called
as: ><cfinvoke > >webservice="<http://radio.tapper.net/artist.cfc?wsdl>http://radio.tapper.net/artist.cfc?wsdl"
> > method="getSongs" >
returnvariable="aObjectArray"> >
<cfinvokeargument name="artist"
value="beatles"/> ></cfinvoke> > >All incoming and
outgoing data types are provided in the >CFFUNCTION/CFARGUMENT
tags. > >I'm probably missing something basic here. can any
one help? > > > >Jeff Tapper ><mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] >Chief
Technologist >Tapper.net
Consulting >718-626-7877 > >---------------------------------------------------------- >You
are subscribed to cfcdev. To unsubscribe, send an email >to <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
with the word >'unsubscribe cfcdev' >in the message of the
email. > >CFCDev is run by CFCZone (<http://www.cfczone.org>www.cfczone.org)
and >supported >by Mindtool, Corporation (<http://www.mindtool.com>www.mindtool.com). > >An
archive of the CFCDev list is available at ><http://www.mail-archive.com/[EMAIL PROTECTED]>www.mail-archive.com/[EMAIL PROTECTED]
Jeff
Tapper [EMAIL PROTECTED] Radio
Free Astoria http://radio.tapper.net ========== "They
who would give up an essential liberty for temporary security, deserve
neither liberty or security" - Ben
Franklin
---------------------------------------------------------- You
are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word
'unsubscribe cfcdev' in the message of the email.
CFCDev is run by
CFCZone (www.cfczone.org) and
supported by Mindtool, Corporation (www.mindtool.com).
An archive of the
CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
|