client

Simple server and client request/response in C#

OK. I just want to know if this can be done. I'm using C# asp.net language. I want to send a structure to a webserver from a webpage (much like you you can pass a structure to a function). The server would act on the data found in the structure, and then return back the structure (with its contents modified) to the "client" webpage....

64-bit Oracle Client for v8 database

Okay, here's the deal: I have a C#/.NET app accessing an Oracle 8 database, that works well on our 32-bit machines. It works using a v.8 ODBC client, a 9i client, or a 10g XE client. However, nothing seems to work on a 64-bit windows machine. I did successfully install a 64-bit 11g client, only to find it refuses to talk to a v8 datab...

Need Fully Qualified Path From 'Source' Computer

Hi. I am trying to get the full path from the client for files that are submitted for upload. I want something like: C://this/is/your/file.jpg But, when I try: m_File = Request.Files[i]; m_File.FileName I get "just" the file name. And, when I try: System.IO.Path.GetFileName(m_File.FileName) I get a path that seems to p...

ServiceContractGenerator vs ServiceDescriptionImporter

I'm trying to build a light-weight SOAP client without using Add Service Reference. Ideally, this client should work for as many services as possible. Currently, it uses ServiceDescriptionImporter to generate the service assembly. Unfortunately, this doesn't appear to work for WCF services. Someone recommended that I use ServiceContractG...

Checking files retrieved by Twisted's FTPClient.retrieveFile method for completeness.

I'm writing a custom ftp client to act as a gatekeeper for incoming multimedia content from subcontractors hired by one of our partners. I chose twisted because it allows me to parse the file contents before writing the files to disk locally, and I've been looking for occasion to explore twisted anyway. I'm using 'twisted.protocols.ftp.F...

javax.microedition.xml.rpc.Operation.newInstance returns null - JSR172

I am using the Sun Wireless Toolkit 2.5.2 to generate web services client stubs. When running the generated code, the method Operation.newInstance method always returns null. The generated code is: Operation op = Operation.newInstance(_qname_a, _type_b, _type_c); _prepOperation(op); ... 'op' is null after the call which then caus...

.NET Web Scripting

I'm attempting to right a script to logon (username and password) on to a website and download a file. I've tried using the webClient and webBrowser classes to no avail, they don't seem to work for what I need them to do. Does anyone else have any suggestions? ...

Server AContexts List with Indy10

Hi, I'm using Indy10 under Delphi2009. I have a server/client application, with TidTCPServer and TidTCPClient. I found a problem in my "logical" code. This is : When the server disconnect, and after a time, reconnect, the sent-clients requests are not intercepted by the server, and the server cannot contact client (because-I think- the...

Does anyone know of an example of a RESTful client that follows the HATEOAS principle?

So by now I'm getting the point that we should all be implenting our RESTful services providing representations that enable clients to follow the HATEOAS principle. And whilst it all makes good sense in theory, I have been scouring the web to find a single good example of some client code that follows the idea strictly. The more I read...

WCF Calling a service from a callback method in Client

Hello, I have a scenario where, upon receiving a command on one of the callback methods in client, the client needs to call another service. For example: In OnNewCommand() callback method client receives a message X. Now the client must call Service1() defined in the server. Note, Client has registered to the callback of Service1(). I c...

EMAIL server FSP model

For my assignment I need to develop FSP model for email server and client. I manage to write simple model which describes one user, server and his mailbox, but I am having problems changing this system into one which have two users with two separate mailboxes. The FSP model that I have developed: USER = (read->USER | write->USER). SERV...

Security in PHP

I've written some PHP scripts to do some server-side work on a headless linux server machine on a LAN. For example, I have http://ipadress/php/operations.php?operation=registerUser&uName=X&uAlias=Y. Now, I want to secure my operations script so that; not everyone on LAN can call it and/or run it but; only the ones that ... have a...

RADGrid Client-Side databinding and Grouping

Hi there, I have a radgrid on an MVC view which is client side binding to a JsonResult controller. I need to display the returned json data in a grouped format but cant find anything on the radgrid that does that. Ive checked out the documentation and there seems to be no mention of clientside grouping on radgrid. Can you please advise...

Run EXE FROM CLIENT SIDE

Hi I need run an exe file from client side. The Exe file exist in my C:\ Directory. I need run this exe file from my WEB site. How Can I Do This? ...

MySQL Extended Display

Is there any equivalent to psql's \x to view a record with each column on a new row? ...

Consuming WCF service for development in advance?

Hi I was asked this question - How do you start consuming a WCF service in advance (read before being implemented/deployed)? I couldn't think of a very convincing answer and said probably we can generate a proxy and provide some stubs ..etc... you got the idea. Even I was not convinced with myself. The question do make sense as present...

web-based image drawing application

What technology or technologies would you choose to devolop a simple web-based image drawing application alike MS Paint? ...

C# TCP/IP Client having an IO Exception.

The IO Exception: "Unable to read data from the transport connection: An established connection was aborted by the software in your host machine." The code has been copied from a tutorial and I'm sure that this error has something to do with my own machine. All of my firewalls, ESET and Windows, are off. The clients connect via port 555...

client server in vb.net application

Hello Guys, I need to develop a vb.net payroll application, client and server are geographically dispersed, data is stored in server database. Can you please help me how to create application for client system and server system. ...

Passing coordinates from a java client to a java server

Firstly I know coordinates is probably the wrong terminology? I'd assume i'd simply be passing the x and y variables, but coordinates describe it better I feel. Now I need to have a Server which can be accessed by 2 clients, it is a racing game and it requires each client to be able to maneuver a racecar simultaniously, each using a dif...