Search Blog

Recent Comments
Re: Stats plugin ported to Model-Glue (by J.mihai at 12/14 8:52 AM)
Re: CFC DAO Generator (by rui at 7/04 5:42 AM)
Re: Updates to the DAO, Bean and Gateway generator (by rui at 7/04 4:49 AM)
Re: CFC DAO Generator (by fwscott at 6/22 7:03 PM)
Re: CFC DAO Generator (by dan at 6/22 12:38 PM)
Re: Trip to Thailand (by fwscott at 3/27 2:10 AM)
Re: CFC DAO Generator (by fwscott at 3/27 2:03 AM)
Re: CFC DAO Generator (by Garry Harstad at 3/26 12:30 PM)
Re: Trip to Thailand (by Niqui Merret at 3/23 4:51 PM)
Re: Adding a blogger ping utility to BlogCFM (by fwscott at 2/20 9:01 PM)
Categories
Annoucements (1 entries)
BlogCFM (3 entries)
CFC Generator (5 entries)
Coldfusion (11 entries)
Fusebox (2 entries)
Greasemonkey (1 entries)
Misc (3 entries)
Archives
November 2005 (2 entries)
October 2005 (1 entries)
August 2005 (1 entries)
July 2005 (4 entries)
June 2005 (5 entries)
May 2005 (7 entries)

Powered by
BlogCFM v1.01

August 2005
CFMX7 WebService gotcha?
Post a Comment
Not exactly sure what ended up causing this but...

Scenario:
  1. One Coldfusion MX7 instance running for multiple virtual hosts on the same server.
  2. CFMX7 Standard Edition
  3. IIS 6 / Win2k3.
  4. Worked on CFMX 6.1
Problem:
    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)
 
Subscription Options

You are not logged in, so your subscription status for this entry is unknown. You can login or register here.

Re: CFMX7 WebService gotcha?
I've had this problem too, however reset the webservice through the server factory works for me. Don't know if your provider blocks access to it. But if they don't here's the code for you:

<cfobject type="JAVA" action="Create" name="factory" class="coldfusion.server.ServiceFactory"> <cfset RpcService = factory.XmlRpcService> <cfset RpcService.refreshWebService("#webservice_name#")>

Posted by Terrence Ryan on August 28, 2005 at 1:03 PM

Re: CFMX7 WebService gotcha?
Ah, this is good to know in case I run into this again. Thanks!

Posted by fwscott on September 6, 2005 at 7:26 PM

Re: CFMX7 WebService gotcha?
Ummm - can you please contact me ASAP ? (I gather you can see my email).

There is something that I need to talk to you about urgently / privately and I cannot find your email address.

Posted by Someone on September 22, 2005 at 2:49 AM

Name:   Required
Email:   Required your email address will not be publicly displayed.

Want to receive notifications when new comments are added? Login/Register for an account.

Anti-spam key

Type in the text that you see in the above image:

Your comment:

Sorry, no HTML allowed!