Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Subir - 13 Feb 2006 21:01 GMT
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.Y.M. Wong-A-Ton - 14 Feb 2006 08:04 GMT
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?
---
S.Y.M. Wong-A-Ton

> Hi,
> I have a web service that accepts an array of objects of a custom class. I
[quoted text clipped - 9 lines]
> Thanks,
> Subir
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.