Qrules webservice connection - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Qrules webservice connection

Last post 07-04-2012 06:24 AM by ErnestoM. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-03-2012 04:25 AM

    Qrules webservice connection

    Hi,

    In data connection, while submit data i am using webservice here i am hardcoding the  url how to make it generic so that it can be used in production environment with different url.

     please guide me.

    Thanks,

    vasavi

  • 07-03-2012 08:21 AM In reply to

    Re: Qrules webservice connection

     Hi Vasavi,

    Which command is this for?

    Usually when you publish via InfoPath 2010, there is an option to update the data connections to point to the new server. Have you tried this?

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 07-03-2012 09:12 PM In reply to

    Re: Qrules webservice connection

    Hi,

    I am using qrules to save items in sharepoint list. To save items in sharepoint list i am follwing below two steps,

    Step1 :generating maping.xml file that is for retrive data.

    Step2 : To submit data into list i am creating  webservice (Ex: Dataconnection -> Submit Data -> To a Webservice -> http://seever/site/_vti_bin/lists.asmx?WSDL)

    While creating the webservice i am hardcoding site url, is there any other solution.

    Now my problem is production environment we are using some other site url.

    Please help me.

    Thank,

    vasavi

  • 07-04-2012 06:24 AM In reply to

    Re: Qrules webservice connection

    Hi Vasavi,

    It seems to me like the submit data connection is not the root of the problem. The mapping.xml will also (slightly) change, even if your list has all the same columns  in the new site. The reason is that the mapping.xml uses the Sharepoint internal GUID for the list, and this GUID will be different in the new site.

    Having said that, you can always load the mapping.xml into the Mapping tool that comes with qRules, and edit it so that it points to the new site and new list. You would also need to modify the form so that the submit data connection points to the correct lists.asmx web service. Unfortunately, I don't know of a workaround for this. Sorry!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


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