transport

How to Consume JSON Web Services from a Windows Client

Is it possible to consume a JSON enabled WCF Web Service from a standard Proxy Client ie not Javascript? Basically I want to minimize the payload size between 2 web services. ...

Anonymous clients connecting to WCF

This article from Microsoft details how to implement transport security with an anonymous client. http://msdn.microsoft.com/en-us/library/ms729789.aspx I'd like to know if it is possible to achieve the same goal, using netTcpBinding instead of WsHttpBinding and hosting the service as a Windows Service. ...

Can Prototype or JQuery return an HTTP status code on an AJAX request

url = "http://example.com" new Ajax.Request(url, { onComplete: function(transport) { alert(transport.status); } }); I'd like that to return a status of 200 if the site is working, or 500 if it is not working, etc.. But that code is returning 0 all the time. Ultimately, I want to have a setinterval function that regularly pings...

TryReceiveRequest gets called infinite times

Hello, I have built a custom binding for being able to receive HTTP messages from an additional source. However, it is not bug-free yet. I've observed that my service pushes CPU usage up to 100 % as soon as the first request was processed and the service getting slower and slower the more requests came in. The reason for this behavior ...

Benefit cost analysis libraries

I was wondering if there are any opensource libraries that are geared towards transportation ben/cost analysis. I currently use microBENCOST and would like to build my own solution. I'm most comfortable with C/c++ and Python. cheers ...

How to speed up serialization and transport for large object graphs; WCF 3.5 & SL3

I have a 3.5 SP1 project, WCF service which is limited to consumption by Silverlight 3 clients. Due to the business requirements we have to work with large object graphs that are hydrated via SQL Server on the WCF side and then sent to the Silverlight client. They are deep, you might have a class that has two collection properties and ea...

Hooking into the Transport layer of WCF

I want to prepend the following text to the response body of a WCF operation: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="transform.xslt" type="text/xsl" ?> Problem is that the Message class uses XML Readers and Writers to specify the contents of the message. Inserting this text as the first line after the tag makes...

New transport and reader type in Twisted

I'm trying to add a new transport to Twisted, which will read data from a stream - either a file in a tail -f way, or from a pipe, but I have some problems with Twisted architecture. I've got the transport itself (implements ITransport) ready - it handles all file opening. I've got streaming functions/deferreds ready. How do I put it to...

Network or Transport Layer Fuzzing

Hi, How do I go about executing a fuzzing strategy to stress a network stack, specifically at the third and fourth layers (network and transport)? I've looked at frameworks to generate fuzzers, like SPIKE, but it seems to me that they are mostly focused on the application layer and above? Is there any well known techniques out there to ...

Control VST Host Transport from a VST Plug-In

Hi, I would like to control the transport (play/stop) of a VST host from within a VST plug-in. It is clear that the sendVstEventsToHost method provides a mean to send commands to the host, but these ones are MIDI, and are said to be attached to the track. Is it possible? Any idea? Thanks. ...

Does anyone know how to prevent Exchange 2010 unloading transport agents?

In Exchange 2007 transport agents (e.g. RoutingAgents) were loaded and remained loaded until the transport service shutdown. In Exchange 2010 this behaviour seems to have changed so that agents are unloaded. I'm not sure what the criteria for unloading the agent are, but it seems to happen very rapidly and frequently even when there is ...

nearby transits info by lat/lon

i have latitude and longitude of a location and i want to find nearby transit info of that location, just like how google does it on there google maps detail page. ...

C# / .Net stock tick data transportation libraries / API ?

I am currently trying to find a simple, easy way to publish/broadcast stock tick data (real time) between C# applications. I am currently using nServiceBus for some other publish/send message communication processes, however I believe the overhead of MSMQ/serialization/etc. will be too much for transporting time-critical data such as st...

Python: How can I use Twisted as the transport for SUDS?

I have a project that is based on Twisted used to communicate with network devices and I am adding support for a new vendor (Citrix NetScaler) whose API is SOAP. Unfortunately the support for SOAP in Twisted still relies on SOAPpy, which is badly out of date. In fact as of this question (I just checked), twisted.web.soap itself hasn't e...

sending data between server and client in twisted

I'm trying to transport data between server and client implemented with twisted. As far as I know, using self.transport.write([data]) will work only if data is a string. Is there any other way I can send an object of other type? Thank you! ...

Why does named pipe WCF service reject Windows service clients?

On Windows 7 and .NET 4 I'm getting some very weird effects from the WCF named pipe transport when my WCF client is a Windows service. My WCF service is hosted in a user mode app and exposed over the named pipe binding. My WCF client is a Windows service, running as Network Service (I get the same result if it runs as Local System). I...

Mule: What's the difference between a multicasting-router and a static-recipient-list-router?

I can't really see a difference between a multicasting-router and a static-recipient-list-router. Why would I use one over the other? According to Mule-2.x user guide Recipient List the Recipient list router can be used to send the same event to multiple endpoints over the same endpoint or to implement routing-slip beha...

Bus public transport algorithm

I am working on a offline C# application that can find bus routes. I can extract the timetable/bus/route data. I am searching for the most simple solution that will work with basic data. What algorithm can be used to find a route from bus stop "A" to bus stop "B"? Is there a open-source solution ready for C#/Java? Is the google GTFS ...

WCF using Transport always attempts to use HTTPS when I don't want it to.

I keep getting the following error "Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http]." This started because I went to Basic Transport Authentication by adding: <webHttpBinding> <binding name="secureBasic"> <security mode="Transpo...

File/Data transfer between two arbitrary sources

I'm looking for a simple way to implement this scenario: Say I have two machines I'd like to share data between. The location/addresses of these machines can change at any time. I'd like both machines to check in to a central server to announce their availability. One of the two systems wants to pull a file from the other. I know th...