Re: Missing Web Service Operation

2002-11-13 Thread Adam Churvis
> I actually had no arguments defined in the function call. I pass all
fields
> as an argumentsCollection struct.

That's just a ColdFusion mechanism for resolving the keys of a structure
into individual arguments, but once they are resolved into arguments they
must again match the web service interface specification.

Also, it's named argumentCollection, not argumentsCollection.  That's
another common problem.

> Do you see this as being a problem? Would this cause the exception to
> report that a whole method could notbe found?

We show this problem in our ColdFusion MX Master Class so the students know
what to expect in these situations.  If there is not an exact match to the
web service specification then it throws the error you are seeing.

Look at the Required attributes of your function arguments and make sure
they are all explicitly declared and set to "Yes", then make sure your
argumentCollection contains all the necessary arguments.

BTW, our next ColdFusion MX Master Class will be from December 2nd trough
the 6th, if anyone's interested.  It's a highly intensive 8AM to 7PM for
five days killer course.

Respectfully,

Adam Phillip Churvis
Advanced Intensive ColdFusion MX Training
http://www.ColdFusionTraining.com
E-mail:  [EMAIL PROTECTED]
Phone:   770-446-8866
Team Macromedia Volunteer for ColdFusion
http://www.macromedia.com/support/forums/team_macromedia/

- Original Message -
From: "Alexander Sherwood" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 5:18 PM
Subject: Re: Missing Web Service Operation


> At 04:08 PM 11/13/2002 -0500, you wrote:
> >Are all your arguments required?  Remember that web services treat all
> >arguments of a component function as required.
>
>
>
> >Respectfully,
> >
> >Adam Phillip Churvis
> >Advanced Intensive ColdFusion MX Training
> >http://www.ColdFusionTraining.com
> >E-mail:  [EMAIL PROTECTED]
> >Phone:   770-446-8866
> >Team Macromedia Volunteer for ColdFusion
> >http://www.macromedia.com/support/forums/team_macromedia/
>
> --
> Alex Sherwood
> PHS Collection Agency
> THE COLLECTORS
> 301.215.4200 T
> 301.664.6834 F
> www.phs-net.com
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: Missing Web Service Operation

2002-11-13 Thread Alexander Sherwood
At 04:08 PM 11/13/2002 -0500, you wrote:
>Are all your arguments required?  Remember that web services treat all
>arguments of a component function as required.

I actually had no arguments defined in the function call. I pass all fields 
as an argumentsCollection struct.

Do you see this as being a problem? Would this cause the exception to 
report that a whole method could notbe found?

>Respectfully,
>
>Adam Phillip Churvis
>Advanced Intensive ColdFusion MX Training
>http://www.ColdFusionTraining.com
>E-mail:  [EMAIL PROTECTED]
>Phone:   770-446-8866
>Team Macromedia Volunteer for ColdFusion
>http://www.macromedia.com/support/forums/team_macromedia/

--
Alex Sherwood
PHS Collection Agency
THE COLLECTORS
301.215.4200 T
301.664.6834 F
www.phs-net.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Missing Web Service Operation

2002-11-13 Thread Adam Churvis
Are all your arguments required?  Remember that web services treat all
arguments of a component function as required.

Respectfully,

Adam Phillip Churvis
Advanced Intensive ColdFusion MX Training
http://www.ColdFusionTraining.com
E-mail:  [EMAIL PROTECTED]
Phone:   770-446-8866
Team Macromedia Volunteer for ColdFusion
http://www.macromedia.com/support/forums/team_macromedia/

- Original Message -
From: "Alexander Sherwood" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 10:09 AM
Subject: Missing Web Service Operation


> I am baffled:
>
> A CFC that executes perfectly when invoked as a component from the host
> machine fails to execute when invoked as a web service from another CFMX
> server.
>
> Here is the error message: "Web service operation "retTextBox" with
> parameters..{params listed here}could not be found." Obviously, It
> cant find the method.
>
> I have verified that all syntax, both in the CFC and the webservice call
is
> correct. I've tried invoking the webservice with the CFINVOKE tag passing
> individual argument tags, via CFINVOKE with a single argumentCollection,
> and via createObject() within a CF Script block - all to no avail. None of
> the ways seem to find the method.
>
> I've tried renaming the method, and tried to access other methods in the
> CFC to no avail - cant find any of the methods in the CFC. I removed the
> Web Service from the CF Admin, restarted the CF service, re-added the
> service and nada.
>
> I even copied and pasted all of the functions into a new CFC with a new
> name, added the Web Service and restarted the CF Service - same thing -
can
> find the method.
>
> Anyone with suggestions?!
>
> Thanks!
>
> --
> Alex Sherwood
> PHS Collection Agency
> THE COLLECTORS
> 301.215.4200 T
> 301.664.6834 F
> www.phs-net.com
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Missing Web Service Operation

2002-11-13 Thread Raymond Camden
> 
> I deleted the published web service from the CF Admin, restarted the 
> service, and re-added the web service and still no luck.
> 
> How do I determine what .class file to delete?
> 

Try looking for a .class file with a name like the name of your cfc. I
don't remember the exact rule on how we translate a path to a class
name. However - if you deleted it in the cfadmin there really shouldn't
be a need to even try this.

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
WWW  : www.camdenfamily.com/morpheus
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Missing Web Service Operation

2002-11-13 Thread Alexander Sherwood
At 01:26 PM 11/13/2002 -0500, you wrote:
> > > I've tried renaming the method, and tried to access other
> > methods in
> > > the
> > > CFC to no avail - cant find any of the methods in the CFC.
> > I removed
> > > the
> > > Web Service from the CF Admin, restarted the CF service,
> > re-added the
> > > service and nada.
> >
> > Hmm, I've never used the Web Service stuff in CF Admin - I just have
> > the CFCs web-accessible.
> >
>
>Just in case people are wondering about the CF Admin stuff - when you
>use a CFC as a WS, we cache the the generated java class, so if you
>change the CFC, it will NOT be reflected in the WS. Therefore, you need
>to either delete the class file yourself, or use the admin tool to
>refresh or delete it.
>
>You can also use the admin tool to create aliases...
>
>MyTool=http://www.somereallylongurl.com/letsgetreallystupidandmakeahorri
>blylongpath.cfc?wsdl

I deleted the published web service from the CF Admin, restarted the 
service, and re-added the web service and still no luck.

How do I determine what .class file to delete?

Thanks!


--
Alex Sherwood
PHS Collection Agency
THE COLLECTORS
301.215.4200 T
301.664.6834 F
www.phs-net.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Missing Web Service Operation

2002-11-13 Thread Sean A Corfield
On Wednesday, Nov 13, 2002, at 07:09 US/Pacific, Alexander Sherwood 
wrote:
> A CFC that executes perfectly when invoked as a component from the host
> machine fails to execute when invoked as a web service from another 
> CFMX
> server.

Where does that CFC live? Is it under wwwroot or elsewhere?

> I've tried renaming the method, and tried to access other methods in 
> the
> CFC to no avail - cant find any of the methods in the CFC. I removed 
> the
> Web Service from the CF Admin, restarted the CF service, re-added the
> service and nada.

Hmm, I've never used the Web Service stuff in CF Admin - I just have 
the CFCs web-accessible.

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.corfield.org/blog/

Introducing Macromedia Contribute. Web publishing for everyone.
Learn more at http://www.macromedia.com/contribute

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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