Community > Answers
465 views

Can the Live Forms HTTP Post send to a web service using SOAP?

Can we use SOAP to communicate with a web service upon submit?  The scenario is that someone registers, and the registration gets logged in another system for action.

Will Strohl Will Strohl
asked 11/30/2017 20:34

endorsed by
  • Arsenio Guzman
Add Comment
Last Activity 03/22/2021 20:29

1 Answer(s)

  • answered 11/30/2017 23:19
    Mandeep Singh
    Add Comment
    Mandeep Singh
    replied 06/25/2020 18:09

    You may use the following to get the response for each field: 

    LiveFormController.Forms.ReplaceGUIDWithValue(Form, "[Token]", SubmissionInfo, ReplaceDNNStandardTokens);

    Where "[Token]" is the actual token of the field. You may also pass the GUID of the Field instead of Token. 

    You can also get to all the Fields in the form using this:
    foreach (Fields.Field item in Form.Fields)
                {
                            item.GUID; 
                 }


    Reply
    Will Strohl
    replied 06/23/2020 01:01

    This example is lacking an example of how to read the details saved when saving the action to Live Forms, as well as reading from the form after submission.  Do you happen to have an updated version of this example code? 


    Reply
    David Poindexter
    replied 01/09/2019 20:39

    Thank you!  I ran across this answer today and it is exactly what we are looking for.


    Reply
    Will Strohl
    replied 12/02/2017 19:04

    Great stuff.  Thanks, Mandeep!  :)

    Arsenio Guzman
    replied 03/16/2021 20:23

    Hello Will,

    Do you complete this implementation ? I have the same requirement

     

    Will Strohl
    replied 03/22/2021 20:29

    I did, but I ended up using a different method of implementation instead of this integration due to how the page lifecycle and redirects execute.  


    Reply
Add an Answer