1
August 2005
CFMX7 WebService gotcha?
Not exactly sure what ended up causing this but...
Scenario:
I have a <cfcomponent displayname="Survey"> with a few <cffunction access="remote" ....>s in it. Only problem is... when invoking the component from any client that can consume a webservice, I get some type of error about an invalid webservice.
Trying to invoke using a <cfinvoke webservice=""> I get something along the lines of "Can not generate stub objects".
Fix:
After talking with my hosting provider and them talking with Macromedia, I get a response saying delete everything under "<CFMX7 install directory>\stubs". Modify the CFC to show <cfcomponent displayname="Surveys"> and restart the CFMX service.
Not sure what exactly happened but... now I can invoke the webservice with no problem. Is "Survey" a reserved word in CFMX7?
Scenario:
- One Coldfusion MX7 instance running for multiple virtual hosts on the same server.
- CFMX7 Standard Edition
- IIS 6 / Win2k3.
- Worked on CFMX 6.1
I have a <cfcomponent displayname="Survey"> with a few <cffunction access="remote" ....>s in it. Only problem is... when invoking the component from any client that can consume a webservice, I get some type of error about an invalid webservice.
Trying to invoke using a <cfinvoke webservice=""> I get something along the lines of "Can not generate stub objects".
Fix:
After talking with my hosting provider and them talking with Macromedia, I get a response saying delete everything under "<CFMX7 install directory>\stubs". Modify the CFC to show <cfcomponent displayname="Surveys"> and restart the CFMX service.
Not sure what exactly happened but... now I can invoke the webservice with no problem. Is "Survey" a reserved word in CFMX7?
Posted by fwscott at 8:37 PM | Comments (3)