Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - ASP/ASP.NET/Web Services/Other
Forum to discuss building external web applications for SalesLogix. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to ASP/ASP.NET/Web Services/Other | New ThreadView:  Search:  
 Author  Thread: Hosting WCF service in SlxClient portal
Aleksey
Posts: 2
 
Hosting WCF service in SlxClient portalYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Oct 10 6:08 AM
I'm trying to host my WCF Service in SlxClient portal (to be able to use sage services (e.g. IDataService)) and consume it from external application (Winforms). Any suggestion how can i do that?
[Reply][Quote]
Carla Tillman
Posts: 290
 
Re: Hosting WCF service in SlxClient portalYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Oct 10 10:40 AM
Can you give a little more detail and version please?

[Reply][Quote]
Carla Tillman
Posts: 290
 
Re: Hosting WCF service in SlxClient portalYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Oct 10 10:42 AM
Can you give a little more detail on what you are trying to do and version please? I don't fully grasp what you are after?

The good news is most likely this is easy, but there are multiple ways to integrate.
[Reply][Quote]
Aleksey
Posts: 2
 
Re: Hosting WCF service in SlxClient portalYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Oct 10 9:55 PM
Ok, let me try to explain...
I want to be able to use Sage services in my WCF service, for example like this:

...
// Service methode
public string WhoAmI()
{
return Sage.Platform.Application.ApplicationContext.Current.Services.Get<Sage.Platform.Security.IUserService>().UserName
}
...

To get this method work my external application must be somehow authorized in SlxClient portal... am i right? So the questions are:
1. how to host WCF Service right (for consuming by external application)?
2. how to authorizate external application in SlxClient portal (to be able to use .ApplicationContext.Current.Services in WCF Service) and consume service from it?
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 10:48:27 AM