web-services

Performing application reliability using iis 6/7

I have web-services applications, running on Windows Server 2003. These hosts (each of them on separate appPool) contains multiple operations (consulting services). Does exist an approach to perform reliability on these hosts, in terms of appPools (like customizing the pools): If an worker process fails, another will be started in its pl...

Client Side Development - In Process/Completed Indicator Preferences?

Hello, I have been doing more client-side development, managing the UI on the client and submitting data to the server via web service calls. I'm not looking for implementation details, but was curious on developer preferences for displaying an operation in process and what to display when completed or even failed. As a for instance, ...

ASP.NET - consume web service - https only - how?

I have web services built with ASP.NET and ASP.NET clients consuming them. When consuming the webservices, how would I to force the clients to use https? I don't want to force the whole site to use https by turning on require SSL in IIS. Can I use the IIS7 URL rewrite module to re-route http requests to https? ...

How do I return pure XML from asmx web service?

I want an asmx webservice with a method GetPeople() that returns the following XML (NOT a SOAP response): <People> <Person> <FirstName>Sara</FirstName> <LastName>Smith</LastName> </Person> <Person> <FirstName>Bill</FirstName> <LastName>Wilson</LastName> </Person> </People> How can I d...

Can a .Net 1.1 client call a .Net 2.0 web service? If so, how?

We have finally upgraded our web services from .Net 1.1 to .Net 2.0/3.5. One of the clients that calls these web services is run as a windows service. It is probable that the windows service will not be upgraded until some time after upgrading the server at customer sites. Is it possible to massage my .Net 2.0 web services so they will...

ASP.Net JSON Web Service Post Form Data

I have a ASP.NET web service decorated with System.Web.Script.Services.ScriptService() so it can return json formatted data. This much is working for me, but ASP.Net has a requirement that parameters to the web service must be in json in order to get json out. I'm using jquery to run my ajax calls and there doesn't seem to be an easy wa...

Lost parameter calling WS from PHP

Hi, I'm trying to call this WS from PHP: namespace WsInteropTest { /// <summary> /// Summary description for Service1 /// </summary> [WebService(Namespace = "http://advantage-security.com/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] // To allow ...

Exposing some live data on a website - New to ASP.NET, need guidelines

I have a large .NET based system running within the company intranet, which allows winforms users to see some live calculated numbers and a custom winforms control drawn live (but not real-time). The Forms users can also affect the operation of the system. I would like to just show the live numbers on a website, along with the custom co...

What's an elegant solution to get the property values from two classes (that have the same property names) that do not use inheritance?

Essentially I have to use a poorly implemented web service maintained by other programmers. They have two classes that don't derive from a parent class, but have the same properties (Ughh...). So it looks like this in my web service proxy class file: public partial class Product1 { public int Quantity; public int Price; } publi...

How come AXIS generates multiple classes with similar names?

How come when eclipse generates a web service client from a wsdl using AXIS, it creates for each method two classes one that is named DoSomething and one with an E appended to it like DoSomethingE. ...

Autocompletion of Amazon results in Silverlight

I am working on a Silverlight application that is supposed to work with dtaa provided by the Amazon Services. I'd like to make a search field that provides Google-like autocompletion. I have the basic idea behind that, but I need to know whether the Amazon API could return a list of books based on a few characters entered in the search f...

EJB 3 | Entities with webservices

I want to access a inventory system which is accessible through webservice, What is the best way to integrate, I thought of directly expose the entity facade as a web service using @WebSerive it's possible but don't know whether it's a good approach or not, need some advice. Thanks. ...

Django WebServices returning '\u' codes

Hey there, I have a Django database & backend and my WebService is returning \u codes in place of what should be UTF-8 characters. For example, the bullet mark character is '•' returned as '\u00ae'. My front end (an iPhone App) doesn't understand this as a bullet mark (•), and prints the UTF-8 code. I understand I need to somehow deco...

How to show a video stored on server on iphone

Hi, I have a query regarding showing a video (which is stored on server) on iPhone. I want show a video in an iPhone Application. This is not live streaming. So how the video can be shown? I have read the Apple's documentation for HTTP streaming of video. Do I need to call a Web Service? Is there any tutorial for this? I have seen t...

Javascript - Get callback info back to original calling function.

Let's say you have a Javascript function that calls a web service method. So that webservice completes and calls a callback function, which has the result. How do I get that result back into the original function that called the web service method? Essentially, I'm trying to "synchronize" an asynchronous call. Update: This is what I...

unexpected behaviour of object stored in web service Session

Hi. I'm using Session variables inside a web service to maintain state between successive method calls by an external application called QBWC. I set this up by decorating my web service methods with this attribute: [WebMethod(EnableSession = true)] I'm using the Session variable to store an instance of a custom object called QueueMana...

Injecting logger, weld

Hi. I am trying to replace standard logger initialization by some injection 1-st. I was trying to use weld weld logging in stateless bean/webservices @Stateless @WebService public class EchoSSL { @Inject private Logger log; public EchoSSL() { } public String echo(String msg) { log.debug("Log test"); ...

ASMX Test page displays HTTP POST as option when viewed from local machine but not remotely?

The auto-generated test page displays HTTP POST as option when viewed from local machine but not remotely. Why? How do I get it to display HTTP POST as an option? ...

Secure Webservice?

I'm trying to create a secure webservice (that provides simple database data) with PHP that can be connected to through my Silverlight application. I don't know enough about PHP to be able to see another way to do this. The webservice should only be accessible through the client, and only with the proper username/password. The only two...

Web Service Exception Handling

I have a Winforms app that consumes a C# Webservice. If the WebService throws an Exception my Client app always get's a SoapException instead of the "real" Exception. Here's a demo: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] pu...