1 Reply Latest reply on Dec 8, 2008 7:09 PM by ntsiii

    HTTPService tag error

    shishir4u
      Hi ,

      I am trying to run a report at a given URL and collect the XML
      generated in flex.When i use the request tag to pass parameters to the
      destination,it is giving me the following error:

      Syntax error : expecting colon before dot. I assume the error is
      because the tag names like ui.action have dot in the tag which is not
      permitted.Can anyone suggest how to solve this problem?

      Here is that part of the code where i am sending the parameters to the
      destination:

      <mx:HTTPService id="http_srv" url=" http://server1:80/cognos8/cgi-bin/
      cognosisapi.dll" result="dpHandler(event)">
      <mx:request>
      <b_Action>cognosViewer</b_Action>
      <ui.action>run</ui.action>
      <ui.object>%2fcontent%2fpackage%5b%40name%3d%27TestPNL%27%5d%2freport
      %5b%40name%3d%27XMLFlexTest%27%5d</ui.object>
      <ui.name>XMLFlexTest</ui.name>
      <run.outputFormat>XML</run.outputFormat>
      <run.prompt>true</run.prompt>
      </mx:request>

      Any help would be highly appreciated.

      Thanks,
      Shishir.