Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
redWebLackey #1
Consuming .net web service with enum input
Hi, I'm trying to consume a web service that uses a custom data type for the
input params.
The service is here: [url]http://www.webservicex.net/CurrencyConvertor.asmx?wsdl[/url]
Here is the code that I'm using to invoke it:
<cfscript>
ws = createObject("webservice",
"http://www.webservicex.net/CurrencyConvertor.asmx?wsdl");
ReturnVals = ws.ConversionRate("USD","GBP");
</cfscript>
The error that I get is: Could not perform web service invocation
"ConversionRate" because java.lang.IllegalArgumentException: argument type
mismatch
I've also tried using cfinvoke with and without cfinvokearguement tags. Of
course the service works fine when I consume it with a .net app but my company
is primarily cf so I would much rather use that if at all possible.
Any help would be greatly appreciated.
Thanks.
redWebLackey Guest
-
Consuming .NET Web Service
Is anyone consuming a .NET web service that returns multiple records? If so do you know how they are sending the data? thanks. -
Using Enum as a parameter in web service
I am having trouble using an enum as a parametter in a webmethod. I have followed the 'resolution' per... -
consuming web service
hi there, I'm new on web services... I've already created a webservice and created the proxy class using wsdl. How can I create a .asp page... -
Consuming a web service from VB 6
Hi, I have written a web service use ASP.NET I can access i from VB 6 via XMLHTTP and everything works fine until I try to pass parameters to... -
Enum causes error in web service
Hi, If I pass the enum (defined below) into, or out of, a web method, the client throws an exception - "There is an error in XML document (1,... -
Stressed_Simon #2
Re: Consuming .net web service with enum input
I just tried that exact same code on my machine and it worked fine?????
Must be something else!
Stressed_Simon Guest
-
redWebLackey #3
Re: Consuming .net web service with enum input
Thanks Simon. I'll keep looking.
redWebLackey Guest
-
Tom Jordahl #4
Re: Consuming .net web service with enum input
Make sure you are using CFMX7 or CFMX6.1 updater 1.
I made a fix in this area post 6.1. I *think* it is in the updater...
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest



Reply With Quote

