web-services

Client notification, should I use an AJAX Push or Poll?

I am working on a simple notification service that will be used to deliver messages to the users surfing a website. The notifications do not have to be sent in real time but it might be a better user experience if they happened more frequently than say every 5 minutes. The data being sent to and from the client is not very large and it i...

Is there a webservice available for checking a person's credit score?

I'm developing an application that should automatically check a person's credit score and present him different payment options based on that score. The closest I could find is Cortera Credit Pulse but it's meant for checking a business' credit score and not an indivdual's. Thanks in advance! ...

Web service example

Can anyone point to live examples of SOAP or REST web services? How do you use or test an existing web service with a client? ...

C# Generics/Design Patterns: Should I use the template method?

Scenario: (If anyone has answered/viewed my questions recently this will be somewhat familar) I have 3 different web services which expose a set of objects that have commonality. I've written wrapper classes and conversion logic using generic methods to change between the intermediary objects and the service object. I have an interfa...

How to expose an EJB as a webservice that will later let me keep client compatibility when ejb changes ?

Lots of frameworks let me expose an ejb as a webservice. But then 2 months after publishing the initial service I need to change the ejb or any part of its interface. I still have clients that need to access the old interface, so I obviously need to have 2 webservices with different signatures. Anyone have any suggestions on how I can...

Which web service framework?

I'm about to get started converting a C# based desktop app to be web based. For a couple of reasons, I would like to cut the GUI from the logic via a web service. Microsoft has asmx files, WCF, and probably something new at PDC next week. Data can be passed via SOAP, REST, JSON, and probably 12 other ways as well. Could anyone sugges...

intelligent database search

The issue is there is a database with around 20k customer records and I want to make a best effort to avoid duplicate entries. The database is Microsoft SQL Server 2005, the application that maintains that database is Microsoft Dynamics/SL. I am creating an ASP.NET webservice that interacts with that database. My service can insert cu...

Want to host WCF Webservice as Windows Service as against to Hosting in IIS

I want to expose few web services but thinking of hosting those as Windows Service as against hosting in IIS. Is it a good practice? If yes? How do I make it secured? I want to authenticate the users who are accessing it (against our custom security database and also want to make sure that the request is originating from our busines...

Best way to receive file through webservice

I have an API consisting of ASP.NET webservices callable through GET/POST/SOAP. A new functionality will require me to accept files through this webservice. Basically I'm allowing users to upload files to a file archive through the API, which they'd otherwise do by logging into our browser based administration system. The API needs to ...

.Net webservice, how to access...?

Note: I am just consuming webservice I have no control over webservice code. So in .net 2.0 I reference the webservice and see a class in the webservice namespace, say foobar. It's defined as: public class foobar : System.Web.Services.Protocols.SoapHttpClientProtocol but in .net 3.5 when i add a reference to the same webservice I no ...

PHP + WSDL + SOAP - how do I display a webservice result on screen

I'm just starting out in PHP and would like some advice as to how to get a webservice result to display in an array. For example I would like to print the currency codes into an array from the following WSDL $wsdl="http://www.webservicex.com/CurrencyConvertor.asmx?WSDL This is what I have so far but nothing really happens: $proxy...

How to get a webserice to serialize/deserialize the same type in .net

I want to use typed parameters in the web methods. But when visual studio 2005 creates the web reference on for the client it automatically creates it's own types. I am using a .net web service and a .net client. For example: < WebMethod > _ Public Function Foo() as ServerNamespace.Bar ... End Function at the client the method beco...

.NET CF mobile device application - best methodology to handle potential offline-ness?

I'm building a mobile application in VB.NET (compact framework), and I'm wondering what the best way to approach the potential offline interactions on the device. Basically, the devices have cellular and 802.11, but may still be offline (where there's poor reception, etc). A driver will scan boxes as they leave his truck, and I want to u...

Can't resolve DNS

Hello; I'm trying to consume a webmethod but it seems that my application can't resolve DNS. The problem surfaces when I configure my application with an url (e.g.: http://mywebservice.com/webservice/methods.asmx), but it does not when I access the same webmethod through the server's IP address. The thing is that I need to access ...

What is a "web service" in plain english?

I've been reading about "web services" here on SO, on Wikipedia, Google, etc and I don't quite understand what they are. What is the plain english definition/description? If I make a simple website using PHP that just, say, prints a random integer to the page... is this a "web service"? If not, why not? Cheers! ...

Best Practices: Persisting data throughout multiple web method calls.

I have a web service that has 8 web methods. These methods are called synchronously, the first call authenticates the user, and the rest of the methods perform a unit of work, these methods are called upon until the work is done. I need to store the state of the work (e.g. what actions to perform next, and what work has been done and is...

How much effort does it take to spoof an Ip Address in a call to a webservice?

I don't want to know how... Just how complicated.... I'm thinking of securing a webservice or 2 based on the incoming client ipaddress of the caller. Is this in any way secure? Surely if the IPaddress was being spoofed then the result would have to be sent back to the address that was being spoofed and therefore not reach the spoofer? ...

C#: Partial Classes & Web Services: Seperating form and functionality

Hi all, I am dabbling in the world of web services and I've been making a simple web service which mimics mathematical operations. Firstly it was simple, passing in two integers and then a binary operator would be applied to these (plus, minus etc) depending on the method called. Then I decided to make things a little more complex and ...

.NET SOAP Extension is throwing NullReferenceException inside MethodInfo?

NOTE: Using .NET 2.0, and VS2005 as IDE Hello all, I'm working on logging webservice calls to our database, and finally got the SoapExtension configured and running using a very stripped-down implementation that was ported over from another project. I've set it up in the configuration file so it will run for all methods. When I call ...

What fields can a nested class access of the class it's nested in?

I have a web service in C# and would like to have a nested inner class, that abstracts away the session collection, something like this: public class Service : System.Web.Services.WebService { [WebMethod] public string Foo(string ticket) { SessionPool.getSession(ticket); } private class SessionPool {...