Could anyone give me a small and simple example of how to do this? Or some good pointers on how to get started.
I would like to create a C# client that can send a file or some text or xml or whatever, to a web service or something similar written in PHP, where the PHP Web Service stores it in a file or a database or something like that....
In our C# code, we have a class called Project. Our base BusinessObject class (that all business objects inherit from) defines a property:
public Project Project { get; set; }
This is normally not a problem as long as we stay within the C# codebase. However, these business object classes are exposed in web services over the wire. Some...
Hi guys,
I'm planning the development of a web service that has to be very scalable, in order to process many concurrent connections, probably thousands. The service wil act as an API. It has to be highly responsive, a delay of 3 seconds between request and reply is considered too much.
Maybe the service could be distributed among many...
I consider there to be a distinct difference between "Web Services" and "web services" and find myself referring to the latter as "lower case web services".
I'd loosely list the differences as:
"Web Services"
most conforming to the W3C definition
based around the WS-* stack
enterprise-level
mature and dependable
strong focus on indu...
Here is the spec:
Multiple clients using a WPF winforms application on their local machines
Clients initiate requests to the server to execute a simulation. This initiation should probably be via a web service but other suggestions are welcome
Requests are queued on the server
Server sends out sequential requests to the simulation mo...
I have a RESTful service that I am developing in WCF. I am exposing a contract that does not have serializable types so I am using a DataContractSurrogate (implementation of IDataContractSurrogate) to create surrogates that can be serialized with the DataContractSerializer.
My question is, how can I access request/response headers in m...
Hi all
I have a web service running in IIS 6.0 on Windows 2003. It's authentication mode is Integrated Windows security (anonymous disabled), and authorization is done with Authorization Manager and an XML authorization store. My test user is a domain user (admin, actually) with membership in an authorized role.
I am testing this (for ...
I created a WebService using the .NET 2.0 framework, a class based on an interface that has the WebServiceAttribute and hosting it using IIS and a ASMX file. The WebService currently loads its configuration from one XML file.
I'd like to create multiple instance of this service where each loads it own configuration.
By coping the ASMX ...
We have the follwing situation:
The clients are sending events / messages to the server over a webservice. The server can identify the clients according to the "Sender URI". The server must distribute now the message to the "interested listeners".
Now it can be that a client says he is e.g. http://127.0.0.1:8000/ on the server this cli...
I'm currently working on a project which exposes some functions through webservices. Trouble is, some calls should return an array of "Attribute", which is a container class for a database cell.
These attributes are, obviously, of different types (int, string, date, timestamp and so on). Nothing really hard, just basic types. By now, th...
My web method kept faulting and investigations eventually revealed the following:
The formatter threw an exception while
trying to deserialize the message:
Error in deserializing body of request
message for operation 'SendFirmware'.
The maximum array length quota (16384)
has been exceeded while reading XML
data. This quot...
Which language is used to buid this site stackoverflow and on what platform???
...
Part of our system provides a web service through apache tomcat, the service is referenced in the server-config.wsdd file. Unfortunately nobody can remember how it got in there.
The apache set up has changed, and I need to update the system for the new configuration. What magic keywords can I google for to help me work out how and why it...
How can I authorise a client (in this case a client is an application) to use a web service within .NET,
For example:
I want a 3rd pary application to call a method but not allow other applications within the network to call this method.
I want to avoid transport layer authorisation and use message based authorisation.
...
Currently I'm looking at a problem with web references in vs2005 .net
I have multiple web applications with multiple dynamic web references, now in the web.config I see the following code:
<applicationSettings>
<MainWeb.Properties.Settings>
<setting name="MainWeb_localhost_WebService" serializeAs="String">
<valu...
If i have an applicataion requesting a service, is it possible for the web service to determine the name of the application or does this have to be sent within the request?
...
We encounter a strange problem when making web service calls via SoapHttpClientProtocol in .Net. We have UseDefaultAuthentication set to true. In Internet Explorer an account with less permissions has saved passwords (and in fact created a pass-through). When the web service calls are made under an account with more permissions, the call...
Hi,
I have 'extended' the System.DateTime struct by adding some essential fields to it. Ideally I'd like to be able to deliver this object via a webservice to a winforms client.
I've marked the stuct type as [Serializable] and it also implments ISerializable, however if I inspect the XML being delivered by the webservice it simply con...
I'm looking into releasing a public REST API, which I'd like to keep protected via API keys. Services like Mashery offer API management services; per their spec sheet, they offer:
API registration, access and self-service provisioning
Key issuance and credential management
Usage throttling and limiting tied to key, user, method or grou...
I'm in the process of selecting an AMI for my website on the Amazon EC2 network. It seems like the Ubuntu instances come in either 32 or 64 bit flavors. Presumably the 64 bit systems give you more memory address space, which is good. However, I'm wondering if it is a problem finding pre-compiled binaries. Am I better off sticking wit...