unable to recive data through Webservice - InfoPath Dev
in

InfoPath Dev

unable to recive data through Webservice

Last post 04-29-2010 04:31 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-22-2010 05:34 AM

    • cguruc
    • Not Ranked
    • Joined on 03-01-2010
    • Posts 7

    unable to recive data through Webservice

    I have been trying to get this issue resolved. I researched alot and was unsuccessful.

    So, I have designed an IP 2003 form with Access DB (Main data connetion - recieve an submit). I am now trying to add a web service as a second data source (to receive data) which has Customer id (query field) and Customer name, address (data fields) - this will basically enter customer name and customer address depending on which customer id was inserted by a user. When i try to add this web service in the form as a second data source, the fields (customer name and address) does not get populated. However, when i have web service as the main data source, it works like a charm.

    Can anyone tell me why web service is unbale to recive data when you have it as a second data source and works with no issue if you have it as the ONLY and Main data source?

     

  • 04-22-2010 10:16 AM In reply to

    Re: unable to recive data through Webservice

    Should be no difference. Probably has to do with the sample data you gave it when you set up the receive data connection. InfoPath builds return schema based on what the web service query returns and if it doesn't return anything, well, InfoPath doesn't dispay anything. Try to create a new data connection and specify values for the parameters in the sample data dialog that will return data. If it still doesn't work, try with different data until it does.  
    Patrick Halstead
    Project Manager at Qdabra
  • 04-29-2010 12:19 PM In reply to

    • cguruc
    • Not Ranked
    • Joined on 03-01-2010
    • Posts 7

    Re: unable to recive data through Webservice

    Could you please explain what you mean by "sample data you gave it when you set up the receive data connection"?

  • 04-29-2010 04:31 PM In reply to

    Re: unable to recive data through Webservice

    The data connection dialog for receive Web Service adaptors has a screen to set sample values for input parameters ... make sure the sample data in this is something that will return more than one row of data.

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.