I'm not sure this is your problem, but import looks suspiciously like a
reserved word.

-Cameron

On Mon, Apr 21, 2008 at 4:54 PM, Kevin Hellriegel <[EMAIL PROTECTED]>
wrote:

> I'm having a slight problem with a web service I'm trying to create. I
> have a cfc that looks similar to this:
>
> <cffunction name="Import" access="remote" returntype="string" output="no">
>     <cfargument name="SenderID" type="string" required="yes">
>     <cfargument name="PickupDoc" type="string" required="yes">
>
>     ....
>     [Lots of code to validate the PickupDoc]
>     ....
>
>     <cfif Everything goes well>
>        <cfreturn true>
>     <cfelse>
>        <cfreturn false>
>      </cfif>
>
> </cffunction>
>
> I created a simple cfm page that tries to use the cfc as a webservice:
>
> <cfinvoke method="Import" returnvariable="results" webservice="
> http://dev/import.cfc?wsdl";>
>     <cfinvokeargument name="SenderID" value="Test"/>
>     <cfinvokeargument name="PickupDoc" value="Hello my baby, hello my
> honey"/>
> </cfinvoke>
>
> The web service *should* return false, but instead I get the error
> message:
>
> Web service operation "Import" with parameters {PickupDoc={Hello my baby,
> hello my honey},SenderID={Test}} could not be found.
> I can see the wsdl when I copy the url and put it into my browser. If I
> change the cfinvoke to use it as a component instead of a webservice it
> works fine. I must be missing something. Any ideas? This is in CFMX 7.0.2.
>
> Thanks,
> Kevin
>
>
>
> -------------------------------------------------------------
> Annual Sponsor - Figleaf Software <http://www.figleaf.com>
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------




-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: [EMAIL PROTECTED]



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to