If you look in the web services page of the CF administrator, there is a
way to refresh registered web services when they change.  A web service
is automatically registered when it is used in cfinvoke.

There is no way for CFMX to know if the WSDL on a web service has
changed, since it is generated every time it is requested by the
underlying Axis web service engine.  When you changed the parameters of
your function, you changed the WSDL but the "stubs" (Java code generated
to use the service) were not regenerated, so this is why you get the
error.

Hope that helps.

--
Tom Jordahl
Macromedia Server Development

> -----Original Message-----
> From: Ben Mueller [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 25, 2005 4:57 PM
> To: CF-Talk
> Subject: Trouble with web services, complex return objects in 6.1
> 
> I think I just answered my own question, but I have no idea why this
is
> happening.
> 
> It looks like the configuration of the web service is cached within
CFMX
> (I guess), so that if I change the configuration of the web service,
those
> changes are not re-compiled or picked up by the calling page.
> 
> I saved a new .cfc file with my struct configuration, and it worked
fine.
> Then I changed my new .cfc file, tried to reload the page, and I got
the
> same Axis error.  If I create a *new* .cfc file with the new code,
then it
> works.
> 
> if anybody has any insight into why that might be happening, I'd be
glad
> to hear why.  I thought maybe it had to do with the fact that I'm
saving
> class files in the CF administrator, but even if I uncheck that
option, I
> still get that funky Axis error.
> 
> This sort of has the smell of a bug in CFMX, but it seems so big that
they
> would have fixed it by now.  So...it must be me.
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204368
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to