Submitting an array of objects to a web service from a form - help

S

Subir

Hi,
I have a web service that accepts an array of objects of a custom class. I
want to invoke this web service from an InfoPath form.
In my form I have set up the data source such that the form submits to the
web service. However, when my web service is called, I find that
1. The array contains the correct number of objects as was created on the form
2. None of the objects within the array contain the data that I set on the
form.

Does anyone have any clues? Where should I look for troubleshoot?

Thanks,
Subir
 
S

S.Y.M. Wong-A-Ton

I can think of two things that might be going wrong:
1. Your webservice is not working correctly. Did you test it outside of
InfoPath?
2. The data in the form is not being retrieved correctly. Did you add
debugging code to your form to see whether the values of the fields being
passed to the web service are actually being retrieved correctly? That is,
can you see whether they contain data before calling the web service?
 
Top