Skip navigation
vozeldr
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?

 
Replies
  • 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";

    oCS.execute(0);

     

    Thanks

    Srini

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

    HI,

     

    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.

     

    Regards,

    Tushar.

     
    |
    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