web-services

What is the best way to expose my server's API?

I have a .NET Windows service that needs to expose an API. I am using remoting now during development process. Right now all my methods accept and return XML. I already have a lot of custom serialization and deserialization code for the needed objects. None of these objects are very large. I want to make my API available to many lang...

What are the important differences between using fopen($url) and curl in PHP?

I'm writing some code that will need to speak to a web service over HTTP(s). In the past I've used the curl library. Recently, I noticed that I can simply use fopen() to access a remote URL and it seems far simpler. Curl seems to be much more configurable, having a plethora of options. Beyond that configurability, does it matter whic...

Difference between frontend, backend, and middleware in web development

I was wondering if anyone can compare/contrast the differences between frontend, backend, and middleware ("middle-end"?) succinctly. Are there cases where they overlap? Are there cases where they MUST overlap, and frontend/backend cannot be separated? In terms of bottlenecks, which end is associated with which type of bottlenecks? ...

How can I manually create WCF OperationContract body type?

I'm trying to code a web service client in Silverlight for a RESTful WCF service that I have developed. In Silverlight I am constructing the body of the WebRequest using a DataContractSerializer instance. This approach works great if there is a single argument for the OperationContract. It doesn't work so well if there are multiple ar...

C# axis2 client

i am new to c# language.i saw that you wrote the c# client application to the axis2 web service.i also want to know how i write C# client for the axis2 application ...

Best way to use an InputStream regarding persistance and XML

Hi, I have a REST webservice that listens to POST requests and grabs hold of an XML payload from the client and stores it initially as an InputStream i.e. on the Representation object you can call getStream(). I want to utilise the XML held in the InputStream and I am begining to think it would be wise to persist it, so I can interroga...

How scaleable really is a web-services based architecture?

Whenever someone talks about a services-based architecture, they often mention scalability, often in the same breath. However, it seems that using services adds more overhead, rather than reducing it, since there is now a protocol, like SOAP or REST, involved. So, does a web services based architecture really add performance benefits as ...

Data Lookup Services

Hello, I am looking for a Data Look up Service, that I could send a real estate property address (street, city, state, zip) and get back information about this property (owners, mortgage, sq footage, rooms, etc) Would any one know of an existing service like that, that could be used and an ASP.Net application? Thanks! ...

WCF and Object

I am trying to pass an object into a WCF web service, the object I am passing in is a Server object, I then want to be able to call TestConnection(); The issue I am having is that Server is the base class and there are several derived classes of Server, i.e. SqlServer2005Server, OracleServer and ODBCServer that I want to use I want to ...

Is it possible to perform a web service call inside a reporting services report?

Is it possible to perform a web service call inside a reporting services report? (i.e. use a WS call for a data source) ...

How to find nearest cities in a given radius?

Hi, Do you know some utility or a web site where I can give US city,state and radial distance in miles as input and it would return me all the cities within that radius? Thanks! ...

How to add SoapExtension attribute to generated web service client proxy without modifying the generated class?

I have created a SoapExtension class to capture the soap request and response from specific web service calls. In order to put this SoapExtension into effect, I have to add an attribute to the method in the generated proxy client. For example, I've added the AuditSoapCapture attribute to this method: [System.Web.Services.Protoco...

How can I use .NET web services from non-standard ports?

Our web services are accessed through a router which uses port forwarding to connect to the actual web server. When we are trying to establish a web reference in Visual Studio it seems the .NET framework returns the full URL with a port to Visual Studio for the reference during discovery. Visual Studio then tries to make a connection b...

Web-services calls locks up when network connection lost.

I write GUI application on c# for .NET compact framework 1.0 SP3 platform that uses web-services to retrieve data from our server. When I go far away from access point the connection is lost and next web-service call locks up whole application. Every call surround by try{...}catch{...}, but as far as I can see in logs process never retu...

WCF: Separate service per Business Entity

Hi, If for example, you have customers, orders and products. Do you create a separate service for each of these business entities? It kinda feels logical that you should create a service contract for each of these. However, since you have to explicitly specify the contract that your service will implement… this sort of forces you to c...

Approaches to manage files on remote *NIX sever from Windows client applications

My Windows client application (written in C#) works with the remote MySQL database deployed on *NIX server. I'm going to add the ability to store files on the server. I was never fond of storing files in DB, so the files will be stored in the file system. The application will need to upload, download, and delete files from server. Any ...

Static fields in an ASP.NET Webservice

Is a static variable in a webservice shared between all running invocations of the webservice on a server? In my case I want a server-wide sync-lock, and I beleive I can accomplish that with a single private static Object syncHandle = new Object(); Is that correct? ...

How do I create a logging HttpModule/Decorator for a .net web service?

I created a web service in .net 3.5, and now I would like to log all incoming calls to the service. The log should contain the name of the called method and the parameters passed to it. I have been looking into creating a hhtpmodule for this, but I am not sure how to extract the method name and parameter values from HttpApplication. An...

ServiceProcessInstaller fails with "No mapping between account names and security IDs was done"

I have an installer class using ServiceProcessInstaller. In the installer class in the constructor I add it to installers: serviceProcessInstaller = new ServiceProcessInstaller(); serviceInstaller = new ServiceInstaller(); // Add Both Installers to Project Installers Collection to be Run Installers.AddRange(new Installer[] ...

Does anybody know of a real time sports scores/stats web service?

Does anybody know of a real time sports scores/stats web service? ...