web-services

Does Spring 3.0 provides a service definition file?

I'm wondering about Spring 3.0 whether it provides an automatically generated service definition page after I defined services. With SOAP we have a WSDL file which contains WHAT, HOW and WHERE we can call a service. Is that possible with Spring 3.0 or not? ...

Is there an alternative to HTTPS for securing a web site?

At work we are always having numerous problems with our x.509 certificates that we use for https and I was wondering is there a useful alternative for securing the communication between a server and the browser. Edit Could also be that we are using IIS x.509 and WCF ...

How to get localpath in iis under c#

I want to get localpath of webservice in iis 6.0. Web service is located under virtual directory. I tried to use code examples from this site : http://forums.iis.net/t/1150535.aspx , however for some configurations I get empty path, what is more I get empty path for all parent nodes of my web service in this cretainl cases. There are c...

Error while accessing list with SharePoint WebService

Hi All, I am trying to access the SharePoint List with web service and I need to update the same via web service accordingly. Following is the sample code that I am using Lists Testlist = new Lists(); Testlist.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; Testlist.PreAuthenticate = true...

Large File download in WCF and Windows Service

I have been creating a new service to download large file to client. I want to host the service in a Windows Service. In service I am writing : public class FileTransferService : IFileTransferService { private string ConfigPath { get { return ConfigurationSettings.AppSettings...

Problem with a conversion of a complexType FROM object TO XML

For those that like to resolve problems, here's a big one :P Well, I am developing a system using web services, where I send and receive XML as parameter (not normal parameters as Int, String, bool, etc). After I receive a XML, I validate the XML with the XSD and also I convert that to an object.. after the process I also convert that ...

CoreData on a distant server syncronizing between different clients (apps)

Hi @ All, I'd know if it exists a kind of CoreData server ? The point is to get an "automatic API server" providing data to clients. It can be useful to implement very quickly standalone Forum app, Games or anything on the cloud... ...

How can I get a random number from atmospheric noise?

I had a discussion recently about looking for a mehtod to generate truly random numbers. The discussion ended up talking about using atmospheric noise. Has anyone done this? What is involved in the process? Has anyone created a web service that returns random numbers obtained from noise? ...

Web service WSDL and discovery is not working correctly.

Background: We have a remote web server that has our web site and web service on it. We have access to this service and the site, but not the server directly as it is managed by another company. The Problem: Our web services are operational and work fine, but we cannot connect to the web service because the WSDL specifies the soap addre...

Catching Thrown Exception from Web Service in Silverlight App

I'm trying to throw and exception from my asmx web service and have the silverlight front end catch the exception within the completed event for the web service. Is this possible? ...

How to asynchronously call a web service from an ASP.NET application?

I need to asychronously call a web service from an ASP.NET application. The aspx does not need the answer from the web service. It's just a simple notification. I'm using the ...Async() method from web service stub and <%@Page Async="True" %>. ws.HelloWorldAsync(); My problem: the web page request is waiting for the web service resp...

Securing a Web Service for use in Mobile Devices

I have a web service that I would like to use from a few different mobile applications. The data is not at the user level, but I don't want just anyone to be able to access the data. I want to limit the data access to just the mobile applications, but I don't know what I can do to prevent someone else from possibly writing an applicati...

Limiting number of calls to an ASMX Web Service

We have an asmx web service hosted in IIS6. Is there a good way to limit the number of calls to the service in a period of time for a single IP? We don't want to put a hard limit (X number of times an hour), but we want to be able to prevent a spike from a single user. We're currently investigating to see if our firewall is capable o...

Limiting number of calls to an WCF Web Service

We are planning to develop a web service using WCF. Is there a good way to limit the number of calls to the service in a period of time for a single IP? We don't want to put a hard limit (X number of times an hour), but we want to be able to prevent a spike from a single user. Rather than trying to come up with our own custom solution a...

How to better transfer objects between Jersey restful enabled classes to JSP pages

I have this : public class Base { @GET @Path("/news/{page_number}") public Viewable news(@PathParam("page_number") int pageNumber) { NewsParams news_params = new NewsParams(); news_params.setPageNumber(pageNumber); return new Viewable("/news.jsp", news_params); } } and the news.jsp is : ...

Spring, Jackson and Customization (e.g. CustomDeserializer)

Being still a little unfamiliar with Spring, I have encountered a problem that makes it necessary implementing my a custom deserialzer for Jackson. The procedure is described in a small tutorial, however, I am stuck with Spring. I do not understand, where ObjectMapper mapper = new ObjectMapper(); in Spring MVC is carried out when js...

Restful web service authentication

I have a Restful web service API, that is being used by different 3rd parties. Part of that API is restricted (you need username/password to access it). I was wondering what would be the best way of implementing authentication? I'm using https, so communication is encrypted. I have two ideas: Before user starts using (restricted) serv...

Returning more than one image from a .NET web service

Hello people, I'm able to return an image as byte array from my .NET web service.. My question is this, what if i want to return more than a single image in one request. For example, my web method currently looks something like this: public byte[] GetImage(string filename) BUT what I'm trying to work out is how i would achieve somet...

How can i set up a windows service to listen to events on a remote machine

I have a asp.net web app and a windows service running on separate machines. How can i enable the windows service subscribe/listen to events raised by the asp.net app on the remote machine? What methods can i use? An example of events that can be raised on the asp.net app is a user uploading a file. Once the upload has completed the ...

Crosswords Puzzle Database or Web Service

Hi, I would like to obtain an existing db dump of a collection of crossword puzzles or a web service through which I can get one. Is any one aware of any web sites that provide you with free dumps? Thanks in advance John ...