I've found some web references to consuming XMP-RPC using CF8's built-in 
funcitonality, but no examples.  I took it to mean that it may be possible 
to use <cfinvoke> to consume XML-RPC data, but I'm not really sure if I'm 
on the right track.

<cfinvoke webservice="http://xml.aaaaaaaaa.com";
          method="getReport"
          returnvariable="rpt">
 <cfinvokeargument name="userid"     value="company22">
 <cfinvokeargument name="password"   value="abcdef">
 <cfinvokeargument name="args"       value="17">
</cfinvoke>

When I try this I get the following errors:

Cannot generate stub objects for web service invocation.
Name: http://xml.aaaaaaaay.com. WSDL: http://xml.aaaaaaaaaa.com. 
WSDLException (at /methodResponse): faultCode=INVALID_WSDL: Expected 
element '{http://schemas.xmlsoap.org/wsdl/}definitions'.: It is 
recommended that you use a web browser to retrieve and examine the 
requested WSDL document to ensure it is correct. If the requested WSDL 
document cannot be retrieved or is dynamically generated, it is likely 
that the target web service has programming errors.

So I take it that it's trying to retrieve a WSDL document and one doesn't 
exist?  Am I on the right track to using CF8's facilities for doing this? 
I can successfully make the same XML-RPC call using <cfhttp>. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312727
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to