4 Replies Latest reply on Oct 17, 2006 11:59 AM by pwp69

    How to display complex type result from web service?

    Eymard Level 1
      Hi,

      I am trying to invoke a web service with the following code but I can't display the result. Can someone help me how to display the result?

      <cfset randomID = CreateUUID()>
      <cfset today = Now()>
      <cfset args = StructNew()>
      <cfset args.login = "wanna">
      <cfset args.key = "#DateFormat(today, 'YYYY-MM-DD')# #TimeFormat(today, 'hh:mm:ss')#:#Left(randomID,12)#">
      <cfset args.hash= LCase(Hash("123456" & args.key, "SHA"))>

      <CFINVOKE webservice=" http://sandbox.voxbone.com/ws/services/VoxService?wsdl"
      METHOD="getCountriesList"
      AuthenticationToken="#args#"
      RETURNVARIABLE="Result">

      <cfoutput>#Result#</cfoutput>