Hello I am hitting a web service with cfinvoke.
cfinvoke
webservice=http://localhost/CumulusWS/services/Cumulus?wsdl;
method=getServerCatalogs
returnvariable=aServerCatalogList
cfinvokeargument name=connection value=#aConnection#/
/cfinvoke
cfdump var=#aServerCatalogList#
When
, 2007 9:15 AM
To: CF-Talk
Subject: webservice newbie question
Hello I am hitting a web service with cfinvoke.
cfinvoke
webservice=http://localhost/CumulusWS/services/Cumulus?wsdl;
method=getServerCatalogs
returnvariable=aServerCatalogList
cfinvokeargument name=connection value
, that might help you determine what, if any,
arguments the getServerCatalog function takes.
HTH,
Phil
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2007 9:27 AM
To: CF-Talk
Subject: RE: webservice newbie question
Oh, I did not paste the complete dump. I
Thanks Phil, I did the dump and it returned an array.
cfdump var=#aServerCatalogList.getServerCatalog()#
I do have the API so I will read some more.
array
1 object of com.canto.www._2005.cumulus.ws.types.ServerCatalog
Methods hashCode (returns int)
equals (returns boolean)
getName (returns
Gray [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2007 9:46 AM
To: CF-Talk
Subject: RE: webservice newbie question
Thanks Phil, I did the dump and it returned an array.
cfdump var=#aServerCatalogList.getServerCatalog()#
I do have the API so I will read some more.
array
1 object
AM
To: CF-Talk
Subject: RE: webservice newbie question
Thanks Phil, I did the dump and it returned an array.
cfdump var=#aServerCatalogList.getServerCatalog()#
I do have the API so I will read some more.
array
1 object of com.canto.www._2005.cumulus.ws.types.ServerCatalog
Methods hashCode
).getName())#br /
#javacast(string, aServerCatalogList.getServerCatalog(4).getName())#br /
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2007 9:56 AM
To: CF-Talk
Subject: RE: webservice newbie question
Ah.. now I am starting to see where this goes.
I
]
Sent: Friday, March 16, 2007 10:20 AM
To: CF-Talk
Subject: RE: webservice newbie question
H thought I would get fancy and loop over it and output 4 catalog
names and I get this error:
The selected method getServerCatalog was not found.
Either there are no methods with the specified method
Hey that worked! Thanks Phil!
I was not thinking in that direction.
Chad
-Original Message-
From: Phillip Duba [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2007 1:30 PM
To: CF-Talk
Subject: RE: webservice newbie question
Chad what if your loop looked like:
cfloop index=i
I need to send and receive data from a web service.
Can someone help me with how to send and receive data? What tags should I use?
I see one called CFInvoke.
Here is a section of the wsdl that I would like to try first. It is to make a
basic connection to the service.
- xsd:complexType
On 3/9/07, Chad Gray [EMAIL PROTECTED] wrote:
Can someone help me with how to send and receive data? What tags should I
use? I see one called CFInvoke.
did you look up cfinvoke in the docs?
http://livedocs.adobe.com/coldfusion/7/htmldocs/0281.htm
Example 4 even has a link Using Web
11 matches
Mail list logo