quick question were doing some things with web authentication and can i call <httppost> a bunch of times within the xml?

asked 14 Aug '13, 11:02

kevin_jenkins_autodesk's gravatar image

accept rate: 0%

edited 14 Aug '13, 11:52

juanjo's gravatar image

juanjo ♦♦

I'm not sure i understand your issue. Would you provide us with some more details?

(15 Aug '13, 04:55) juanjo ♦♦

Could you provide us with more details on what you want to achieve? It is possible to use actions such as <while> to create a loop. For example: <setInstallerVariable> <name>while_finished</name> <value>0</value> </setInstallerVariable> <while> <actionList> <httpPost> <!-- ... --> </httpPost> <!-- perform some checks - set while_finished to 1 to exit loop --> </actionList> <conditionRuleList> <isFalse> <value>${while_finished}</value> </isFalse> </conditionRuleList> </while>

You can find out more about the action in While Action section of InstallBuilder user guide.

It is also possible to use <break> action to exit a loop. This action is documented in Break section of InstallBuilder user guide.


answered 15 Aug '13, 04:58

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

edited 15 Aug '13, 04:58

yeah i thought about the <while> situation but based on the data being passed to the post a loop wouldnt really work due to the values being used in the <httppost>. Im just trying to make approx 10 consecutive calls to the post with predetermined data. The 1st call responds as intended but the subsequent ones dont. Or do i have to use the loop to achieve this functionality?


answered 15 Aug '13, 10:10

kevin_jenkins_autodesk's gravatar image

accept rate: 0%

You can either add multiple httpPost actions or use them from a loop.

However, in order to provide you with a more detailed answer, we would need to understand your exact requirement better.

Could you describe in more details (here or to support@bitrock.com) what exactly the installer should do and how data for subsequent httpPost requests is made?

(15 Aug '13, 15:58) wojciechka ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 Aug '13, 11:02

Seen: 748 times

Last updated: 15 Aug '13, 15:58

Related questions