web-services

Low overhead Java Web Services container?

I want to provide a Java-based Web Service, but I don't require the features of a full-blown J2EE Application Server. I would like it to start as quickly as possible, though that's not a hard requirement. The Web Service will handle multiple connections and require access to an Oracle database so it will at least require a thread pool ...

WCF Service instead of ASMX Web Service?

I'm writing a SOAP Server that will act as an endpoint for an external client. The external client expects SOAP 1.1. I'll be taking embedded business objects in the SOAP messages and passing them to an internal application, getting responses back and responding with SOAP messages to the eternal client. I did the traditional ASMX based w...

retrieving information from web service calls

Hi all, I am trying to retrieve information from a web service call. The following is what I have so far. In my text view, it is showing Map {item=anyType{key=TestKey; value=2;}; item=anyType{key=TestField; value=adsfasd; };} When I ran that in the debugger, I can see the information above in the variable, tempvar. But the question i...

how to code client-side call to webservice that calls automatically every few seconds

I have a webservice that I want to call from the browser every few seconds to see if there are any notification messages in the database that should be displayed on the screen. We have the JSON code working to display the messages in a JavaScript function after an Async Postback, but this only executes after a page turn. I want it to exe...

Strategies for Synchronizing Data Between a Rails App and iPhone App

I've written many iPhone Applications that have pulled data from web services and I've worked on synchronizing data between an iPhone App and a Web Application, but I've always felt that there is probably a better way to handle the synchronization. I'd like to know what strategies you have used to synchronize data between your iPhone(re...

ASP.NET webservice API security.

Hi, I have an iPhone app accessing an ASP.NET Webservice for data. Since I'm building both the ASP.NET end and the iPhone part of the app, and we'll shortly be publishing it in the Appstore, I'd like to know what security checks I need to make. The basic flow of the program (without divulging too much info about it) is as follows - ....

Passing parameters to web service method in c#

Hello I'm developing an android application .. which will send location data to a web service to store in the server database. In Java: I've used this protocol so the URI is: HTTP request instead of REST HttpPost request = new HttpPost("http://trafficmapsa.com/GService.asmx/GPSdata? lon="+Lon+"&Lat="+Lat+"&speed="+speed); In A...

webservice method is not accessible from jquery ajax

Hello everyone.. i am using jqery ajax to calling a web service method but is is not doing and genrating error.. the code is here for jquery ajax in asp page var indexNo = 13; //pass the value $(document).ready(function() { $("#a1").click(function() { $.ajax({ type: "POST", url: "m...

Java: Framework for Yahoo Webservices?

Is there a framework / a library that provides simple access to Yahoo's Webservices? Thanks in advance! ...

What web services are available for for currency conversions?

Yahoo's service doesn't seem to provide an API I can use. What web services are there for currency conversions? ...

Does uploading size from a silverlight module depend upon the RAM size ?

I have a Silverlight module that is uploading few images on the server. I am able to upload an image of size upto 4 Mb from a machine which is having >2GB RAM. But if the same solution is run on a 1 GB machine the image does not get uploaded. I have added the following node in the web.config <httpRuntime executionTimeout="900" maxReques...

Why would I want to use anything other than WCF?

After completing several small projects with WCF, I'm quite happy with what it can do. However, having spent a brief amount of time looking into the alternatives, I'm struggling to find exactly what benefits/drawbacks I would experience from using Java based web services such as AXIS2 or Metro? Obviously open-source is perhaps one of t...

Parse SOAP webservice dynamically

Hi, I'd like to create an application where you can specify a webservice's url and automatically get the input parameters a output format. (similar to svcutil in Visual Studio I think), in the way the user could add webservices dynamically to the app and select which data is gonna send and what is he gonna do with the return data. So i...

WPF windows locked when calling webservice. Even when run asynchronously

Hi there. I'm having a big problem when calling a web service from my WPF application. The application/window locks until the process has completed. I've attempted to run this asynchronously but the problem still persists. Currently, the web service call I'm making can last 45-60 seconds. It runs a process on the server to fetch a big ...

What's the best way to do XMLObject Validation.

Hi All, I'm doing Sprimg WS at my workplace. We run into some strange validation problems, where if a user passes "Dog" for a boolean value. It still accepts it and blows up. I would like to know what's the best way to handle this kind of problem. Requirement: Based on the SOAP request, If there are any validation errors, return the se...

WPF MVVM - Correct way to consume a web service asynchronously

I have implemented MVVM in my WPF application. I was wondering what is the correct way to consume a Web Service from WPF MVVM app. So far, I have created a DataAccess interface and a class that implements this interface. This would serve as a facade / proxy to the web service. The ViewModel gets a reference to this class as the constru...

Can I create a custom roleprovider through a WCF service?

I have a web application that accesses a database through a wcf service. The idea is to abstract the data from the web application using the wcf service. All that works fine but I am also using the built in roleprovider using the SqlRoleManager which does access the aspnetdb database directly. I would like to abstract the roleprovider...

where to store web service exceptions?

Hello all, I am working on building a web service (using c#) and this web service will use MS Sql server database. Now, I am trying to build an (exceptions log system) for this web service. Simply, I want to save every exception on the web service for future use (bug tracing), so, where is the best place to save these exceptions? Is it ...

SOAP Header: Communication secured between Flex and C#

Hello, I am working with Flex, Webservices and C# and I would like to secure the access on my web services through SOAP. I spent 2 days on this problem: My asmx file where i describe my webmethod: public ServiceAuthHeader CustomSoapHeader = new ServiceAuthHeader(); [SoapHeader("CustomSoapHeader")] [WebMethod(Descriptio...

[ScriptMethod(ResponseFormat = ResponseFormat.Json)]

In ASP.net web service if the above isn't specified , what is the response format by default? Also, if my web service below: [WebMethod()] public List<Sample> GenerateSamples(string[][] data) { ResultsFactory f = new ResultsFactory(data); List<Sample> samples = f.GenerateSamples(); re...