8 Replies Latest reply on Aug 16, 2006 6:28 AM by Salccnpp

    Consuming a webservice and attributes

      I'm trying to noodle my way thru consuming a webservice and it is not making sense when I'm trying to get attributes from a webservice. Can someone point me in the right direction. I've included what the xml output looks like and my cfinvoke and a cfdump of the invoke return variable. I just don't know how to bring back that array of course ids??

      The service returns course ids

      <?xml version="1.0" encoding="utf-8" ?>
      - <Courses>
      <Course CourseID="1167" CourseName="Human Performance Tools - Self Checking" />
      <Course CourseID="1168" CourseName="Human Perfomance Tools - 3 Way Communication" />
      <Course CourseID="1169" CourseName="Human Performance Tools - Phonetic Alphabet" />
      <Course CourseID="1170" CourseName="Human Performance Tools - Pre-Job Briefing" />
      <Course CourseID="1171" CourseName="Initial Plant Access Training" PadsCode="PAT034" />
      <Course CourseID="1172" CourseName="Initial Radiation Worker Training" PadsCode="RWT" />
      <Course CourseID="1224" CourseName="Plant Access Requal Training" PadsCode="PAT034" />
      <Course CourseID="1225" CourseName="RWT Requal Training" PadsCode="RWQ" />
      <Course CourseID="1226" CourseName="Proctoring Responsibilities" />
      <Course CourseID="1235" CourseName="Generic Confined Space" />
      <Course CourseID="1236" CourseName="Generic Fall Protection" />

      object of org.tempuri.LMSWebSvc.LMS_Interface.GetCoursesResponseGetCoursesResult

      Methods hashCode (returns int)
      equals (returns boolean)
      getSerializer (returns interface org.apache.axis.encoding.Serializer)
      getDeserializer (returns interface org.apache.axis.encoding.Deserializer)
      getTypeDesc (returns org.apache.axis.description.TypeDesc)
      get_any (returns [Lorg.apache.axis.message.MessageElement;)
      set_any (returns void)
      getClass (returns java.lang.Class)
      wait (returns void)
      wait (returns void)
      wait (returns void)
      notify (returns void)
      notifyAll (returns void)
      toString (returns java.lang.String)