web-services

What is the best way to transfer an image via a webservice in C#?

What is the best way to transfer an image in C#? Bitmap object Byte array Image Object? ...

Web server on port 80 on iPhone.

Hello, I've been working on a project for awhile and it's got a built-in HTTP server which runs on port 8080. The users are told to access the device via e.g. http://192.168.1.4:8080/ -- works great. Recently I realized that applications CAN use port 80 to remove the need for ":8080", though if I try to set the port to 80 I get a crash ...

Flex 3 Webservice Request (setting value in the request from text field)

I have basic web service and I’m having problems sending proper request. If I send only text in the elements on the request the call is successful, but if I try to get value from text field and send in the request the value isn’t sent. I’m not sure why this is happening. Here is the code: import mx.rpc.events.ResultEvent; private...

How to change database settings for a deployed war file?

We have a WAR file that is deployed however we want to change the database settings. How do I get about doing that? I opened the WAR file in an IDE and there are like 2-3 places that have the database settings. What is the proper way of changing it? Thank You ...

Why is my WAR file still referencing data from the old database server?

Possible Duplicate: How to change database settings for a deployed war file? OK I will outline the steps: I downloaded a perfectly functioning WAR fIle Uncompressed it Changed the database settings in the Database.properties file Made it a WAR file again Imported it in Eclipse IDE using File -> Import Ran a test client by r...

send image via web service

I want to write one program by visual studio 2008 (C# and ASP) that has web application and windows application. I want to get clients images in web app(upload) and store them in DB (mysql) then send these images to windows app via web service (so i new web service, not web site). But i have 2 problems: I have 2 ways to store image...

Singletons in web- or WCF-services

Hello, for a while I wonder if it is a good idea to store some data in a singleton when writing a web-(or WCF)service. The goal is to reuse this information in different calls of the service. I wonder what's the lifetime of those singletons, because for example when the application pool is recycled, the singleton is gone. Next Question ...

using browsers programatically

I want to build the following back-end service: For each call to the service, spawn a web browser that loads a webpage (including flash) and returns a screenshot of the page to the caller at intervals (ie every 3 seconds) until the caller disconnects. This needs to scale for many callers (thousands perhaps), each of which needs its own ...

sending and receiving data with a server for an iphone app

I would like to allow my users to see other users data. I am thinking in terms of a game. I would like the users game on their phone to connect to an online score list , and store the lowest score on the list. Then if the user scores above, their score gets put into the list and stored. What does this involve exactly? Will this need e...

What web technologies and frameworks are used for kayak.com ?

As a matter of curiosity, what web technologies and frameworks are powering kayak.com ? ...

REST and web services - having trouble understanding them

Well, the title more or less says it all. I sort of understand what REST is - the use of existing HTTP procedures (POST, GET, etc.) to facilitate the creation/use of web services. I'm more confused on what defines what a web service is and how REST is actually used to make/expose a service. For example, Twitter, from what I've read, i...

Recommended framework for java web services

This question was asked about 18 months back. Wanted to see if the community still agrees with CXF as a good choice for the question posted. Looking for a good framework, if we go the schema-first route. Thank you. ...

OAuth recommended for async data transfer in own webapp?

Hi all I am making heavy use of async requests by Javascript to the webserver. Since I am building a multitenant application, I want to restrict access to the json services on the user level. I read a lot about OAuth being recommended for consumer authentification. In my scenario, would the Javascript (client) side be regarded as the c...

Optimal language/database/webserver for serving data to mobile devices?

I'm looking for input on what to use for creating web services that my mobile application will consume. I have been programming in Microsoft shops for the past 15 years but I would really like to expand my horizons a little bit. I'm torn between leveraging my Microsoft experience, and picking up something new that all the kids are doin...

c# webservice class response

Hi I have class: public class LoginResponse { public String SessionID { get; private set; } public DateTime? ActiveTo { get; private set; } public LoginResponse() { } public LoginResponse(String sessionID, DateTime? activeTo) { this.SessionID = sessionID; ...

Error hosting a WCF REST Service on Apache Webserver

hey guys, I have a problem hosting a WCF REST Service on a Apache Webserver. When I call the Service locally on the Server where the apache runs I have no problems but when I try to call the Service from a remote Computer I get the following error: No protocol binding matches the given address... . Protocol bindings are configured at t...

Using a webservice with vbscript - "An operations error occurred."

I've been fiddling a bit with c# webservices and vbscript. Things work fine if I trigger the services manually through IE directly on the webserver, but when I try to run the same service from a vbscript it throws a "An operations error occurred." exception. The service is pretty simple, all it does is create a computer object in Active...

Controlling access with web.config

Hello, I am trying to control access to my website with windows integrated. <?xml version="1.0"?> <configuration> <system.web> <authentication mode="Windows"/> <authorization> <deny users="?"/> <allow roles="DOMAIN\The_group_that_can_access_it"/> </authorization> ... </system.web> </configuration> Except that, ...

Should I use Pylon's Paste to host my Pylons website? Or can I use Apache?

I'm looking into Pylons and was wondering, should I use Paste as the webserver or can I use Apache? Are there advantages to using Paste? Would you recommend against using Apache? How should I host the sites? ...

Webservices performance best practices

All, I am working on creating a toolbar that looks at certain links on a page and injects some links of my own by getting them from a webservice, which I am writing too. There can be 100s of links on a page and there can be 100,000s of such toolbars installed. The question is, what are the best practices I should follow to make sure t...