Hi Hilary,
thanks a lot. First of all, let me tell you that you are my hero, because reading through this forum you did help me in many issues I had while developing the form... :-) My experience in coding is very limited. I'm more a final user...
Basically, all the code has already been created and it works fine. The issues I faced were given by providing the credentials to access to SharePoint. The company implementation requires a two steps sign-on. UserID and Password first and then a token received by SMS. So all experiments to get the file by using WebServices within the code failed as I would need to pass this double sign-on mechanism. Some better programming skills are required that what I have. On the contrary, WebDAV relies on the fact that InfoPath shares the credentials with Internet Explorer, so I do not need to login again.
However, it requires the form to be full trust, maybe because the sharepoint folder is seen as Local System. On the contrary ,I saw that using the SavetoSharepoint feature does not require full trust. So I was wondering if I could use something similar but going in the opposite direction or, alternatively, get some good hints on how to proceed from you gurus.
Thx
Elio
Edit: Related to your advice, I'm already using the in-memory approach, so expect it not to be the cause of the Full Trust requirement