Invoking WCF in InfoPath Code Behind - InfoPath Dev
in

InfoPath Dev

Invoking WCF in InfoPath Code Behind

Last post 07-24-2011 01:56 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-19-2011 01:37 PM

    Invoking WCF in InfoPath Code Behind

    Hi All,

    I have an IP 2010 form that contains some dropdown fields. Each dropdown field needs to be auto populated utilizing WCF that will fetch data from the DB.

    I have a method in the code behind file that connects to the DB, runs a query and returns a Dataset. In the form loading event I need to call WCFthat will return the dataset. I noticed in VTSA I cannot do "Add Service Reference". The only options I see are "Add Reference" and "Add Web Reference". How do I add the "Add Service Reference" to actually call the WCF within my form behind code? Is this possible?

  • 07-24-2011 01:56 PM In reply to

    Re: Invoking WCF in InfoPath Code Behind

    Why do you need to call via code? Why not just use the data connection wizard and add a Receive connection to the WCF Web service and specify populate on load?

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