Hi Ben,
Looks like cfinvoke should be avoided when calling web services.
This is absolutely not true.
I tried your example on CFMX 7 and was unable to reproduce your
behavior. I could change the CFC and the WSDL changed. I could use the
same invoke (even without refreshing the stubs!) and it
Hi Tom,
First off, thanks for your detailed response. Hopefully, I'm catching you
before you leave on vacation. My comments inline:
Hi Ben,
Looks like cfinvoke should be avoided when calling web services.
This is absolutely not true.
I tried your example on CFMX 7 and was unable to
Ben,
BEN: I've got CFMX 6.1 (version 6,1,0,83762) running. I don't know
if
anything changed between my version and CFMX 7
Yes, there were many changes in web services from 6.1 to 7.
BEN: Very interesting. I found the stubs directory, and found a
couple
of things that seem off. To
Tom,
I did as you suggested, and things seem to be working as I would have expected.
I can re-order web service arguments, and I don't get errors. Also, when I
refresh my web services within the CF Administrator, the .class files update.
So, that's a good sign. I'll keep an eye on it, and
Isn't this just related to the proxy ob that CF creates for web
services? If you go to the cf admin, Web Services, and delete the
proxy, it should work fine again. I believe an ytime you change the
type, or order, or number of args for a WS you need to do that.
On 4/29/05, Ben Mueller [EMAIL
I suspect this is an issue with web services in general, because I've
seen similar problems with services provided by BlueDragon. I've
never come across issues when calling methods off of a createObject()
call, however, so you might try that instead of the CFINVOKE tag.
cheers,
barneyb
On
can i use createobject when calling it as a webservice? i didn't think so.
I suspect this is an issue with web services in general, because I've
seen similar problems with services provided by BlueDragon. I've
never come across issues when calling methods off of a createObject()
call,
can i use createobject when calling it as a webservice?
Yes.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or
Thanks for everybody's help. Using createobject did, in fact, solve the
problem. Looks like cfinvoke should be avoided when calling web services.
For anybody else who may be facing the same problem and, like me, hadn't used
create object before, here's a code sample:
cfscript
obj =
9 matches
Mail list logo