services

Storing Passwords for External APIs - Best Practice

If I built an application that accessed some of the data from say Gmail, Twitter and Facebook, and I want the user to be able to only have to enter their authentication info once, and it's reset after some days or weeks, what is the best way to do this, dynamically, in Ruby? I see a lot of people just having a config file of their clien...

XML-RPC object mapping

Recently I was working on web services proxy. I got 2 web services proxy. UI will call Proxy A to let say create a record. then what Proxy A will do is to call Proxy B to do the actual task which create the record (For some reason must go through Proxy A) now the problem is When UI call Proxy A, Proxy A will pass the objectA to Proxy B c...

Passing Business Validation Error from Service layer to presentation layer

Hello All, We are using MVP pattern in our Presentation Layer(PL) and a WCF based service layer(SL). PL calls operation contracts on the SL and internally it does some business validations. If the validation passes, we return an obect (exposed as a data contract) to the PL. But if the validation fails, what is the best practice we not...

C# get date/time a windows service started

Is there a way to get the date/time that a service last started in C#. I'm using this code now to check the status of services: ServiceController sc = new ServiceController(serviceName); // check sc.status for "Running" etc... with a Switch statement... Can I do it with this object? Or need WMI? (Reason: I'm writing a little BizT...

Display default selection in silverlight comboxbox

I have a silverlight combobox inside of a dataform as follows: <dataControls:DataForm x:Name="newScheduleMasterForm" Height="350" Width="450" MinWidth="400" VerticalAlignment="Top" CommandButtonsVisibility...

RIA Services Filter descriptor

I have a Filterdescriptor as shown below. The propertypath is of type 'char?' I get following InvalidOperationException when I filter by entering a value Y InnerException {System.InvalidOperationException: A FilterDescriptor with its PropertyPath equal to 'Valid' cannot be evaluated. ---> System.ArgumentException: Operator 'St...

Current WCF technology alternatives for .NET-to-.NET services?

I'm splitting up an N-tier stack to allow independent scaling of the tiers, better deployment independence, and I'd like to know what people are currently choosing for service-boundary communication technologies. The service itself and all of the "clients" to the service will have access to one another over an internal network and are c...

Does anyone know of a third-party service that manages user comments for websites?

I'm making a simple HTML website on which I would like users to post comments. Does anyone know of a third-party service that allows me to embed code snippets in my site which become comment boxes for users to post comments on my site at those positions, and the service takes care of all captcha / spam, etc. and I can log into an accoun...

How to create WSDL file given SOAP WSDL operations

I haven't had any experience with web service related development. So, any ideas will be greatly appreciated. Suppose, I have a file listing draft specification of WSDL operations. Following is one example. How would I go about creating the WSDL file. Is notepad sufficient or do I need to have WSDL editor? getHostSystemInfo Return...

How to make a stubless Web Service Client in Java?

We are using Axis2 in our enterprise currently. Our project involves making call to multiple webservices for fault diagnostics. The problem is that very frequently we have changes in WSDLs (which are non-life threatening as in new data-types and services just get added, very rarely is something dropped) due to which we have to upgrade ou...

Java EE: Where could I read about dao, services and why they're used?

Ok I'm new at my job, and now I'm assigned to a project which uses Spring, Hibernate and Wicket. And I see a lot of DAO and Services packages and I want to understand why they're used and what is advantajes of this. I understand that DAO it's need for working with the databases, but I want more information. I need an overall, a BIG PIC...

Service call backs to activity in android

HI, I have a back ground service running.I have a client which interacts with service. When the client requests for some operation, the service performs it and it should send the result back to the activity(client). I know how to invoke the service methods in activity and using call backs we can achive wat I wan to do. But I am not ab...

Definition of Multimedia Authoring Services

Hi. I d like to know what exactly is behind term "Multimedia Authoring Services". Any related examples about it? Does this service exists nowadays? Does creating a dvd or media player related software belong to such services? Thank you in advance! ...

How can security in software be made really simple ?

Often, I am told that Security functions are not available at a level of abstraction that a developer with little security knowledge can use them. What changes will the developers want in their developement environment say for Java that will make securing their software much easier than today. I am looking at new ways like providing c...

Using a WCF Service with Complex Data Types

Hi guys, I'm trying to pass a DTO with one navidation property IEnumerable<> inside of it, when I pass an object without child lists it works well, but, when I'm passing objects with childs and grandchilds the WCF services does not respond and gives me no error. I have to make something to work with this type of object specificly? Here'...

WCF Service ajax method call returns 404

Hi all, I have deployed a WCF service to SharePoint and on my own machine everything works fine. Navigating to the .svc works and, as expected, navigating to service.svc/Operation generates a "method not allowed message". Posting to the service using jQuery also works perfectly on my own machine. However, when my colleague gets the lat...

Gettin this error "Custom tool error: Unable to create DiscoveryClientProtocol from reference map file"

I am trying to open my project (that is in ASP.Net 2.0 ) in VSTS 2008. Earlier i used VS 2005. When i try to build the project it gives me the error "Unable to create DiscoveryClientProtocol from reference map file"? I tried to figure out this error and found that there is some problem with web reference to the web service i am calling. ...

How to share settings in SOA systems?

I have thinked of 3 alternatives: The settings are handed from one service to the next in each transaction. Each service can provide the settings to the next upon request. The settings are stored in a central service where that all services must access from time to time. What is your favorite approach and why? ...

Grails Service Transactions

I'm trying to get transactions working within a Grails service, but I'm not getting the results I'm expecting. Can someone tell me if I'm doing something wrong, if my assumptions are off? My domain class: class Account { static constraints = { balance(min: 0.00) } String companyName BigDecimal balance = 0.00 Boolean...

Unable to create AxisService from ServiceEndpointAddress

Hi All, I do some testing on WS. I create a wsdl with multiple method. But I only can execute the 1st method, others failed and give me error below:- javax.xml.ws.ProtocolException: CWWSS7200E: Unable to create AxisService from ServiceEndpointAddress atorg.apache.axis2.jaxws.ExceptionFactory.createProtocolException(ExceptionFactory.jav...