How do I use multiple webservices in Infopath?

D

DavidStallard

I have 5 webservices, each of which corresponds to a different Sql Server
2000 stored procedure, which in turn correspond to 5 different Sql Server
tables. Each webservice has two methods: Get and Update.

I want an Infopath form where, when I click Submit, it will fire all 5 of
these webservices to submit the form data to each.

I already know how to link all the webservices to one Submit button.

I created the first Data Connection as the Main connection, and then I
created a secondary Data Connection to query (Get) and submit (Update)
from/to a 2nd webservice. The query works fine for both webservices.

When I click Submit, the first data connection (the Main one) updates as
expected. I have code in the webservice to dump the incoming XML to a file,
and the XML for the Main connection is correct.

My problem is this: For the secondary connection, nothing is being sent.
When I dump the XML to a file, I see that it is empty (for example, the
entire file consists of "<NewDataSet />").

Why won't Infopath submit data to the secondary connection? I've tried many
variations, such as having it submit the entire form instead of just one
section of the form, but nothing makes a difference -- the outgoing DataSet
(XML) for the secondary connection is always empty when the webservice
receives it.

Help!!!
 
B

bluefox101

I also have the same situation and still have no solution. Please anyone can
give us a solution or explanation.
 

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