External WCF with LoadonDemand

5 posts, 0 answers
  1. Ryan Lege
    Ryan  Lege avatar
    14 posts
    Member since:
    Jul 2009

    Posted 22 Sep 2010 Link to this post

    I have a WCF service internal to my Solution and is a Service Reference to the Client, so my Question is how do I set the Path on the Websettings and the Method for my Combobox?
  2. Ryan Lege
    Ryan  Lege avatar
    14 posts
    Member since:
    Jul 2009

    Posted 22 Sep 2010 Link to this post

    CLARIFICATION: The WCF service is its own Project and therefore not apart of the project needing it's services.
  3. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 23 Sep 2010 Link to this post

    Hi Ryan Lege,

    You only need to set the Path to the service and the name of the method. You can do this either declaratively or imperatively in the code-behind:
    RadComboBox1.WebServiceSettings.Path = "path to service";
    RadComboBox1.WebServiceSettings.Method = "method name";

    Please let me know if I am missing something.

    Greetings,
    Simon
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. Ryan Lege
    Ryan  Lege avatar
    14 posts
    Member since:
    Jul 2009

    Posted 23 Sep 2010 Link to this post

    Thats the problem I'm running into, it does not recognize it seems any other WCF either than one residing in the same project. Can the Path be set relative or does it need to be absolute with external WCF services?
  5. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 24 Sep 2010 Link to this post

    Hello Ryan Lege,

    When the WCF is external then its URL has to be absolute.

    I hope this helps.

    Sincerely yours,
    Simon
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top