Skip navigation
Currently Being Moderated

Programatically set wsdlConnection soapAddress

Feb 28, 2012 8:02 AM

Tags: #livecycle_es2 #adobe_livecycle #adobe_livecycle_form #livecycle_designer

I want to dynamically change the server that my web service connections point to in my LiveCycle forms but when I do xfa.connectionSet.MyConnection.soapAddress.value = myUrl it is ignored. How can I set the soapAddress dynamically at runtime?

  • Currently Being Moderated
    Feb 28, 2012 1:58 PM   in reply to vozeldr

    You need to clone your connection to set the value at runtime..

    In the below example, replace SearchData with your Data Connection name.


    var oCS = xfa.connectionSet.SearchData.clone(1);

    oCS.soapAddress.value = "http://YourWebServiceURL?wsdl";





    Mark as:
  • Currently Being Moderated
    Sep 17, 2013 12:21 PM   in reply to Srini Dhulipalla



    I'm trying to use your suggestion but I don't see the CLONE after my data connection. Can you please suggest where I might be going wrong.




    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points