Calling Different webservices On Submit - InfoPath Dev
in

InfoPath Dev

Calling Different webservices On Submit

Last post 03-14-2006 05:48 AM by Abhishek. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-09-2006 05:05 AM

    Calling Different webservices On Submit

    Dear Friends,

    Is it possible to call different webservices on submit the form.

    Means,Can we pass the different value from the form to different webservices(more than one) on submit.

    Regards,
    Vasanth.
  • 03-09-2006 05:24 AM In reply to

    Re: Calling Different webservices On Submit

    Yes, you should be able to do this, but it will require code.

    Put code behind a custom Submit button that does something like this:

    XDocument.DataObjects("WebService1").QueryAdapter.Submit();
    XDocument.DataObjects("WebService3").QueryAdapter.Submit();

    Hope this helps!
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 03-09-2006 05:48 AM In reply to

    Re: Calling Different webservices On Submit

    Thank you Matt Faus
    But where I suppose to refer the Different Web Services. At one point we have to mention the services right?...

    for example webservice1,webservice2....

    Regards,
    Vasanth.
  • 03-14-2006 05:48 AM In reply to

    Re: Calling Different webservices On Submit

    Hi VasanthaPrabu,

    I am not sure as to what ur doubt is,but hope I am right.

    You need to create a submit data connection say WebService1,WebService2 or whatever and then refer to the same in the code given by MFaus.
    So go to Tools--->DataConnection in your InfoPath and create a submit dataconnection to a webservice.

    Regards,
    Abhishek
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.