Refresh a Web Service Connection? - InfoPath Dev
in

InfoPath Dev

Refresh a Web Service Connection?

Last post 03-04-2011 04:04 AM by corybooth. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-03-2011 11:36 AM

    Refresh a Web Service Connection?

    Seems like a silly question, but is there a way to refresh a Web Service Connection so that it updates the available fields in the Data Sources?

    I am building a Browser Enabled forms and I am pretty much complete with the "mock up".... 
    But I imagine I will add a few items here or there as my customer hacks off on the concept.

    I ask this question because I had a problem with my ID column showing in the WebService connection.
    InfoPath would error because the ID column wanted data, but I didn't need data because is was an auto-increment manged by the SQL Server.
    I finally relaized I could switch the ID column from Public to Internal in the WebService and it would be de-serialized - but it left the ID in the Data Connections.

    No matter what I did, I couldn't get InfoPath to realize the ID column was no longer there.

    I wound up rebuilding a whole new form, copying and pasting my fields, and then rebinding every field.

    So again, if I change my webservice to add/drop a field - how can I make InfoPath "refresh" so it recognizes the changes?

  • 03-03-2011 12:38 PM In reply to

    Re: Refresh a Web Service Connection?

    I just Modify the existing and then it requeries and updates the DS.

    In 2007 there was a "Convert Main Data Source" from the Tools menu (I have no idea where this went in 2010 and frankly I don't care since we use XML data sources not generated from DB or WS).

    You shouldn't have to rebuild the form.

    Patrick Halstead
    Project Manager at Qdabra
  • 03-04-2011 04:04 AM In reply to

    Re: Refresh a Web Service Connection?

    XML data sources - guess I gotta get spun up on that.

    I am using a webservice because I am trying to deploy to Form Services - using IP2007....

    I agree, should be able to just change the WS and see the changes reflected next time to modify the service and reconnect.
    But that's not happening over here for some reason.

    I remove a field from the WS, build a whole new connection - not there.
    Open an exisiting form, modify data sources, next, next , next, next - the now missing field is still listed in the form.
    (since the fields I was working with where Required/Primary Key - couldn't bypass them upon submit).

     Anyways....

    Still open to anyone else who has seen this before.

     

    thanks for the info!

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