Web Services

S

Shem

Hi Folks, I hope you can assist me with a few questions I have?
I am trying to write a solution that integrates InfoPath with Sharepoint (in
C#) and was wondering:
1) Instead of creating Dataconnections to a web service. Can I directly call
the webservice from within the form, by vreating a web reference?
2) If the above question is true, can I submit the form via the webservice?
and if so how do I do this?

Thanks folks it is very much appreciated.
 
M

Mattia Saccotelli

Hi,
yes you can. Just use the web service as usual.. you can sumbit the form
accessing the

thisXDocument.DOM.xml

property, which contains the whole xml of the current form (of course
you'll need a ws which receives a string)
 
S

Shem

Hi,

Thanks for letting me know I can do this. How do I submit/ save the
XDocument though. Is there somethin in Sharepoint Services which dictates
where I store document. If I submit through in built function and specify a
data connection it just saves it to appropriate location. But how do i do
this in code???

Mattia Saccotelli" <"m.saccotelli [AT] g said:
Hi,
yes you can. Just use the web service as usual.. you can sumbit the form
accessing the

thisXDocument.DOM.xml

property, which contains the whole xml of the current form (of course
you'll need a ws which receives a string)
Hi Folks, I hope you can assist me with a few questions I have?
I am trying to write a solution that integrates InfoPath with Sharepoint (in
C#) and was wondering:
1) Instead of creating Dataconnections to a web service. Can I directly call
the webservice from within the form, by vreating a web reference?
2) If the above question is true, can I submit the form via the webservice?
and if so how do I do this?

Thanks folks it is very much appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top