How to submit the main and secodary XML data to web service - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to submit the main and secodary XML data to web service

Last post 08-21-2007 12:36 PM by Clay Fox. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 08-18-2007 06:43 PM

    How to submit the main and secodary XML data to web service

    Hi,

        The infopath form  is developed based on XML data source. It has a secondary  XML data source  and the secondary XML data  is also updated  when the infopath form is used.  I want to know on how to submit both  main  and secondary XML data to web service.  Any help is appreciated.

    a
  • 08-21-2007 06:46 AM In reply to

    Re: How to submit the main and secodary XML data to web service

    I would recomend you look at the tutorials for the Database Accelerator since they describe submitting your data to a web service.Configure Form to Submit to DBXL Webservice

    Filed under:
  • 08-21-2007 10:59 AM In reply to

    Re: How to submit the main and secodary XML data to web service

    Hi,

    If it is a submit connection you need to have two connections to the same web service method and for one connection you bind to main data source and for other one you can bind it to secondary data source.

     If it a receive connection you can set the webservice parameter value in the code. Basically when you want to submit the main data source you will set main data source XML to the webservice parameter (through code) and you will do it same for Secondary data connection

  • 08-21-2007 12:29 PM In reply to

    Re: How to submit the main and secodary XML data to web service

    Thanks for your reply. It is very helpful.  but, I do not see any option to bind the connection to secondary data source. Do we have to write code to perform this. Can we do it using rules/config. Thxs

    a
  • 08-21-2007 12:36 PM In reply to

    Re: How to submit the main and secodary XML data to web service

    Is this your own web service or a packaged one?

    If it is a submit type then in the setup of the data connection you should be able to map data fields from your secondary source to the web service submit. You should be able to do this in the form setup. You also could use fields in your main dom and then move data from the secondary to populate the required fields in your Main within your form via rules before you submit.

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