I have several forms with a Web Service data connection. In each enviornment my wsdl url has to change based on the environment. Can someone please give me an easy step by step explanation how to do this? The WSDL is connected to the submit button. The wsdl defintion is located in the folder where the forms reside. The wdls is a one way connection that is connecting fields to data elements on the form and then is published via the webservice to a database in the respective environment. I have to go from dev to QA and then to PRoduction. Need to be able to do this without resetting the wsdl url at each point. I have over 50 forms that this has to be done with.
Thanks for any help you can provide.
The path you seek is here: Re: Dynamically changing an existing dataconnection's server / port
You can use prepareData steps to determine the proper server/port, and pass that data in as part of your XML payload.
Hope this helps.