In the onchange event for the combobox
set "Do no validate or update data", this results in immediate="true",
then use getComponent("comboBox1").getSubmittedValue() to get the value of comboBox1
this gives you code for the eventhandler of the onchange event for the combobox like
<xp:eventHandler event="onchange" submit="true"
refreshMode="partial" immediate="true" refreshId="xxx"
id="eventHandler1">
<xp:this.action>
<![CDATA[#{javascript:viewScope.rksoort = getComponent("comboBox1").getSubmittedValue();
sessionScope.soort=viewScope.rksoort;}]]>
</xp:this.action>
</xp:eventHandler>