How would I submit a form to a Web API service? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How would I submit a form to a Web API service?

Last post 11-06-2016 02:18 PM by PW123. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-03-2013 05:38 AM

    How would I submit a form to a Web API service?

    I am using a web api rest service for my form's secondary data sources. I'd like to submit the entire form to my FormsController's Post method, but can't figure out how to do that. Can I only submit to an asmx soap service?

    Thanks for any help.

  • 09-04-2013 06:56 AM In reply to

    Re: How would I submit a form to a Web API service?

    I can't even get it working with a WCF service - can't get the bindings etc. in web.config to work with Windows integrated connection to SQL Server. Resorted to asmx and it all works fine.  Aren't we supposed to be moving away from asmx & soap for simple data access & update?
  • 09-08-2013 03:29 PM In reply to

    Re: How would I submit a form to a Web API service?

    Correct, you can only submit to a SOAP Web service.

    Patrick Halstead
    Project Manager at Qdabra
  • 11-06-2016 02:18 PM In reply to

    • PW123
    • Not Ranked
    • Joined on 10-04-2016
    • Posts 3

    Re: How would I submit a form to a Web API service?

    Graeme, I get this post if really old, but I looking to do the same thing, submit/retrieve/update to a SQL DB via an infopath form published in Sharepoint. If you can remember, is there any chance you might outline the tasks involved. I already have the .cs and I have also produced the .asmx file, I think I know have to create a new web method, but I am not sure how to proceed from here. I am using Visual Studio Community and Infopath 2010. Thank you in advance for any help and advice. Regards, Paul.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.