Hey guys,
I've been programming in Cold fusion way too long now, lol... I need to invoke a web service from WiTango and then update the database. In CF the code is something like this: <cfinvoke webservice="http://webservices.eventinventory.com/ticketsearch?WSDL" method="ListEvents_Active" returnvariable="XMLResult"> <cfinvokeargument name="APPCLIENT_ID" value="1475"/> </cfinvoke> <CFSET myXMLDoc = XMLParse(XMLResult._any[1])> <CFSET toloop = ArrayLen(myXMLDoc.XMLRoot.XMLChildren[2].XMLChildren)> <CFLOOP from="1" to="#toloop#" index="Loop"> <cfquery name="Events" datasource="SportsWorld"> INSERT INTO ActiveEvents (EventID,EventName,EventType) VALUES ('<cfoutput>#myXMLDoc.XMLRoot.XMLChildren[2].XMLChildren[Loop].XMLAttributes .EID#</cfoutput>','<cfoutput>#myXMLDoc.XMLRoot.XMLChildren[2].XMLChildren[Lo op].XMLAttributes.E_Name#</cfoutput>','<cfoutput>#myXMLDoc.XMLRoot.XMLChildr en[2].XMLChildren[Loop].XMLAttributes.E_Type#</cfoutput>') </cfquery> </CFLOOP> How would I invoke a Web Service in WiTango, and parse it to an array using the above example? Thanks! LogoSig Rick Sanders Webenergy Canada: 902-431-7279 USA: 919-799-9076 Canada: www.webenergy.ca USA: www.webenergyusa.com ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
<<image002.jpg>>
