This is a migrated thread and some comments may be shown as answers.

External WCF with LoadonDemand

4 Answers 41 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ryan Lege
Top achievements
Rank 1
Ryan Lege asked on 22 Sep 2010, 03:31 PM
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?

4 Answers, 1 is accepted

Sort by
0
Ryan Lege
Top achievements
Rank 1
answered on 22 Sep 2010, 06:55 PM
CLARIFICATION: The WCF service is its own Project and therefore not apart of the project needing it's services.
0
Simon
Telerik team
answered on 23 Sep 2010, 03:46 PM
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
0
Ryan Lege
Top achievements
Rank 1
answered on 23 Sep 2010, 07:02 PM
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?
0
Simon
Telerik team
answered on 24 Sep 2010, 09:36 AM
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
Tags
ComboBox
Asked by
Ryan Lege
Top achievements
Rank 1
Answers by
Ryan Lege
Top achievements
Rank 1
Simon
Telerik team
Share this question
or