how does the webservice look like?

S

steve

hi,

I'm testing the best work way to use infopath, webservices, sqlserver,
sharepoint.

scenario;
submitting the infopath data to the webservice, the webservice saves the
data to sql
te form get published on the sharepoint server.

I'm currently reading the WebServiceConnection.Execute Method
(XPathNavigator, XPathNavigator, XPathNavigator) from the msdn site.

http://msdn2.microsoft.com/en-us/library/aa943097(VS.80).aspx

I'm new to webservice's does someone now how the webservice looks like with
the method WebServiceConnection.Execute?

------------------------------------------------

Now i'm using the example but it does not give me the flexibility im looking
for
http://blogs.msdn.com/philoj/archive/2005/11/08/490200.aspx
I need to get an result back to the form as I ask in my previous question.

http://www.microsoft.com/communitie...&pt=&catlist=&dglist=&ptlist=&exp=&sloc=en-us
 
B

BobCh

I suggest you try calling web services via the Data Connection path.
I have some quite complex processes that use this approach and it
works well.

I have a webservice with the following string args,

Public Function Contact_IU_from_XML(ByVal aContactXML As String,
ByVal aIndustriesXML As String, ByVal asInterestsXML As String, ByVal
asContactCategoryXML As String) As Integer

and in the Data Connection wizard I have
Field or group: /ns3:myFields
Submit data as a string.

In the service I create an xmlreader from the fragment and the known
schema (pulled from the infopath xsn file).

hth.
 

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