Infopath - Permission Denied
Hi All,
Let me introduce my self first. I'm Wian, Software Developer.
I need help on Infopath.
Currently I'm trying to create Lookup Control to be used in Infopath. That control will validate employee id or employee name to web services through XmlHttp.If there is only one employee match with entry given by user web services will return xml in format <root><row employee_id="0001" employee_name="wian"/></root> . Otherwise web service will return the following xml format : <root><row employee_id="0002" employee_name="johanes"/><row employee_id="0021" employee_name="john"/></root>.
I use XDocument.UI.ShowModalDialog to open page to display list of employee returned by web service. But I got a message "Permission Denied". I read on internet that the infopath form should be full trust form. I modify the configuration and the problem solved. But it raises another problem. When I didn't give full trust setting to the infopath form, Xmlhttp can be done through scripting. But when I set the form to be Full Trust form, I can display the modal dialog, but I got message "permission denied" when perform xmlhttp request to web service.
Any body ever have the same problem with me? Any answer for this?
thx a lot for your answer
Wian Santosa
Software Developer
|