Using a Web Service to populate Drop-down list


i trying extent internal weekly timesheet designer template using response web service request fill activities drop-down list.  since returned data list dynamic in length, have web service returning xml node want use populate list.<br /><br />from can figure out need call $connectionset.employees.execute(0) initialize script on activites control.<br />what cannot figure out how map data list or parse data , add items list.<br /><br />the web service request example is:<br />post /timesheet/timesheet_xmlservice.asmx http/1.1<br />host: localhost<br />content-type: text/xml; charset=utf-8<br />content-length: length<br />soapaction: "http://bigdog/timesheet/timesheet_xmlservice.asmx/getactivities"<br /><br /><?xml version="1.0" encoding="utf-8"?><br /><soap:envelope xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><br />  <soap:body><br />    <getactivities xmlns="http://bigdog/timesheet/timesheet_xmlservice.asmx" /><br />  </soap:body><br /></soap:envelope><br />http/1.1 200 ok<br />content-type: text/xml; charset=utf-8<br />content-length: length<br /><br />the web service response example is:<br /><?xml version="1.0" encoding="utf-8"?><br /><soap:envelope xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><br />  <soap:body><br />    <getactivitiesresponse xmlns="http://bigdog/timesheet/timesheet_xmlservice.asmx"><br />      <getactivitiesresult>xml</getactivitiesresult><br />    </getactivitiesresponse><br />  </soap:body><br /></soap:envelope><br /><br />what doing seems rather basic , seem me there should documentation $connectionset object, cannot find examples or reference documentation.<br /><br />can please help?

i must clarify xml between <getactivitiesresult>xml</getactivities> this:<br /><field name="activities"><br />  <items><br />    <text>vacation</text><br />  </items><br /></field>


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments