You're absolutely right. I was rushing out of the door at the time.
So
This works:
<cfinvoke component="cfdocs.exampleapps.cfc.tempconverter" method="convert"
returnVariable="atr">
<cfinvokeargument name="scale" value="F">
<cfinvokeargument name="temperature" value="7">
</cfinvoke>
This works:
http://localhost/cfdocs/exampleapps/cfc/tempconverter.cfc?method=convert&sca
le=F&temperature=7
This doesn't
<cfinvoke
webservice="http://localhost/cfdocs/exampleapps.cfc.tempconverter.cfc?WSDL"
method="convert" returnVariable="atr">
<cfinvokeargument name="scale" value="F">
<cfinvokeargument name="temperature" value="7">
</cfinvoke>
I get the : Could not generate stub objects for web service invocation.
error message.
And interestingly if I open:
http://localhost/cfdocs/exampleapps/cfc/tempconverter.cfc
to get the built in display facility. then the first time I do it I get:
Server Error
The server encountered an internal error and was unable to complete your
request.
But if I then click go again on the browser it works. Odd.
I'm using MX on my local machine with PW.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 July 2002 13:27
To: CF-Talk
Subject: Re: MX server error with Web services again...
How are you consuming it as a webservice? Usually helps if you post some
code. If the error message is obscure to you, it's the same for us. Not
like we can just say, "Oh, well, that's so and so because you're missing
blah." Help us help you.
~Todd
On Mon, 15 Jul 2002 [EMAIL PROTECTED] wrote:
> Server Error
> The server encountered an internal error and was unable to complete your
> request.
> I get this when I try and open any cfc file. Including the example
> tempconverter.cfc.
> I can invoke them as components but not as web services.
> Anyone else seen this.
>
--
============================================================
Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
Team Macromedia Volunteer for ColdFusion |
http://www.macromedia.com/support/forums/team_macromedia/ |
http://www.flashCFM.com/ - webRat (Moderator) |
http://www.ultrashock.com/ - webRat (Back-end Moderator) |
============================================================
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists