473,799 Members | 3,132 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ElementSOAP tutorial / HTTPClient

Operating system: Windows XP Home
Version of Python: 2.4

While looking through the tutorial on ElementSOAP at the following
link:

http://effbot.org/zone/element-soap.htm

I observed sample code that included:

from HTTPClient import HTTPClient

When I get into Pythonwin and attempt the import statement above:
>>from HTTPClient import HTTPClient
Traceback (most recent call last):
File "<interacti ve input>", line 1, in ?
ImportError: No module named HTTPClient

In addition:
1) a case-insensitive search for any files with 'HTTPClient' where the
search begins in the c:\python24\ and includes all sub-folders results
in a: "Search is complete. There are not results to dsiplay." message
2) a search of this Google group for HTTPClient didn't result in any
links that appeared to point me to where I could find a package that
includes HTTPClient
3) a search in the python.org home page for HTTPClient didn't result in
any links that appeared to point me to where I could find a package
that includes HTTPClient

I noticed that there is a file httplib.py in which the docstring begins
"HTTP/1.1 client library", but I couldn't figure out whether what was
in httplib.py replaced HTTPClient.py, and if so, how.

So, my questions are:
1) is there a package available which, when installed, will allow the

from HTTPClient import HTTPClient

statement to execute without ImportError?

2) how should I have constructed my searches when attempting to resolve
this issue such that I wouldn't have had to post this question?

Thank you.

Oct 22 '06 #1
1 3253
mi************@ yahoo.com wrote:
2) how should I have constructed my searches when attempting to resolve
this issue such that I wouldn't have had to post this question?
maybe reading the highlighted "Note" at the top of each page in that
article series could have helped?

"Note: A distribution kit containing the source code for this
article is available from the effbot.org downloads site (look
for elementsoap)."

</F>

Oct 22 '06 #2

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

Similar topics

0
14721
by: Maverick | last post by:
Hello all, I read some good reviews about jakarta HTTPClient about its session and cookies management system and fancied giving it a try as a learning exercise but somehow I don't seem to be able to get it to work properly. I'm basically trying to connect to this site http://s1.starkingdoms.com/scripts/main.php I am able to get past the authentication login page onto the next screen but I then can't proceed any further because of...
0
3793
by: ShaSha | last post by:
Hi, I am trying to upload XML files via HTTP to an HTTP server from java client instead of browser. On the HTTP server side, there is a Perl script that will be receiving the incoming file and files it into the designated folders in the server.When I run the Java client, I get the response Status = 200 and also uploaded replies from the Perl script but when I checked in the folder, the XML file is 0 KB. I am not sure what went wrong. Spending a...
1
2164
by: Steven Bethard | last post by:
I was trying to get elementsoap_ working with just xml.etree from Python 2.5 (and no standalone elementtree installation). I think I got everything working by changing the imports and copying in the FancyTreeBuilder class (since only TreeBuilder and XMLTreeBuilder are in the xml.etree.ElementTree module). I've attached the diff. Does this seem like the right approach? I'd rather not have to install elementtree alongside the one in the...
3
2528
by: mirandacascade | last post by:
1) Is it correct that none of the examples in the ElementSOAP tutorial: http://effbot.org/zone/elementsoap-1.htm include an example in which the SOAP message that contains the request includes a <soap:Headerblock? 2) If one wanted to make use of ElementSOAP, and one wanted it to produce a SOAP message that includes a <soap:Headerwould the general outline be:
0
1948
by: Roland | last post by:
Hello! Firstly, sorry for my poor English... :/ Next, I want to show you my library dll - HttpClient. This library can: - get page - submit form - download and upload file (you can monitor for example how much bytes just downloaded / uploaded, how much bytes remain to end, speed (in KB/ s), progress, time left (time remain) (in seconds) Documentation is in rar file (HttpClient.dll + Documentation.html). Unfortunately the documentation...
0
1583
by: osa | last post by:
I have a problem with commons-httpclient-3.1. When i try to get some page, cookies do not come to me. There is no error or exception message. Just null text. What could you advise me? Code: import java.net.*; import java.io.*; import java.util.*; import org.apache.commons.httpclient.Cookie;
0
3747
by: gsuns82 | last post by:
Hi all, I am not able to login a site using the following code, can anyone suggest me the right way? There is no any https connection. HttpClient client=new HttpClient(); client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); String userAgent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
1
3397
by: Carmen Sei | last post by:
Is there any HTTP Client library in C++ similar to what the HTTPClient Java does? http://www.innovation.ch/java/HTTPClient/
1
2383
by: thiago freitas | last post by:
Guys, first, which is way is, I already saw source code that works with Java and C # with the class of httpclient apache, now how do I get in php captcha bring the image on the screen and then send the form with the captcha image that the person typed? Let's think of a solution together, because the usefulness of this is extreme.
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10470
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10214
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10023
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9067
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7561
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5583
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4135
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2935
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.