473,388 Members | 904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

communicating with remote server via http

I've been tasked with writing a small app to that needs to talk to a
remote server via raw http.
Data is to be sent and received using name-value pairs. I have been
given the syntax for various http requests.

My app doesn't know much about the server app (on a customer's
computer). Where do I start? What sort of classes do I need to be
using?

Do I need any other parameters for setting up the Http connection other
than the IP address and port number? The server machine is running
Tomcat Webserver (not that that should make any difference.)

Any tips would be very gratefully received.

Greg.

Nov 30 '05 #1
4 1171
Hi,

Did you try to use WebRequest?

What you mean with name-values pairs?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Greg" <gr*************@yahoo.co.uk> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I've been tasked with writing a small app to that needs to talk to a
remote server via raw http.
Data is to be sent and received using name-value pairs. I have been
given the syntax for various http requests.

My app doesn't know much about the server app (on a customer's
computer). Where do I start? What sort of classes do I need to be
using?

Do I need any other parameters for setting up the Http connection other
than the IP address and port number? The server machine is running
Tomcat Webserver (not that that should make any difference.)

Any tips would be very gratefully received.

Greg.

Nov 30 '05 #2
Thanks Ignacio.
I haven't tried WebRequest yet - I didn't know where to start. Remoting
is a complex topic and my app is only small, so I didn't want to have
to learn things that I don't need just yet.

Example of name-value pairs:
personName="fred", personCity="London"

Is WebRequest simple to use?

Thanks a lot for getting back to me.

Greg.

Nov 30 '05 #3
Hi,

This has nothing to do with remoting.

Yes, It's simple to use.

One question though, what you mean with "raw" ?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Greg" <gr*************@yahoo.co.uk> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Thanks Ignacio.
I haven't tried WebRequest yet - I didn't know where to start. Remoting
is a complex topic and my app is only small, so I didn't want to have
to learn things that I don't need just yet.

Example of name-value pairs:
personName="fred", personCity="London"

Is WebRequest simple to use?

Thanks a lot for getting back to me.

Greg.

Nov 30 '05 #4
Greg wrote:
Thanks Ignacio.
I haven't tried WebRequest yet - I didn't know where to start.
Remoting is a complex topic and my app is only small, so I didn't
want to have to learn things that I don't need just yet.

Example of name-value pairs:
personName="fred", personCity="London"

Is WebRequest simple to use?

Thanks a lot for getting back to me.


For your purpose, try System.Net.WebClient.UploadValues().

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 30 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Erwin Moller | last post by:
Hi group, I am probably going to develop a webapp for some company. They want SQL Server as database, which is fine with me. They have W$ machines for webserver (IIS5 I expect) Their first...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
7
by: WAkthar | last post by:
Hi, I need to understand and implement a simple client application which will connect to a remote computer and call methods on this remote machine. The remote machine has some enterprise java...
7
by: RN1 | last post by:
Is it possible to connect to my local SQL Server 2005 database from a remote web server? If yes, what ConnectionString do I use? Thanks, Ron
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.