Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 52536 invoked from network); 20 Apr 2002 09:59:02 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Apr 2002 09:59:02 -0000 Received: (qmail 3592 invoked by uid 97); 20 Apr 2002 09:59:14 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 3546 invoked by uid 97); 20 Apr 2002 09:59:13 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 3532 invoked from network); 20 Apr 2002 09:59:13 -0000 From: "Gerhard Froehlich" To: "Jakarta Commons Developers List" Subject: [HTTPCLIENT] possible bug? Date: Sat, 20 Apr 2002 11:59:31 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, we have following bug -relating the httpclient- in Cocoon: I have written a simple web-application consisting of an XSP file ( zipcode-info.xsp ) and an XSL stylesheet ( zipcode-info.xsl ) that accesses two SOAP services at http://alethea.net:80/webservices/LocalTime.asmx and http://www.vbws.com:80/services/weatherretriever.asmx ( I found these at http://www.xmethods.org from .asmx, I guess they are .Net web services and the HTTP server is IIS ) using the SOAP logicsheet. This application worked fine from my office machine ( behind a firewall, so I had to specify http proxy host and port ), but failed to work ( first, it threw an exception "-1 port out of range" and then when I explicitly specified port 80, it just hung waiting for a response from the service ) from my home computer ( no firewall ). I should add that access to web services deployed under TomCat works fine ( as long as you explicitly specify port 80 for http ). I looked into the code and figured out that the use of httpclient code ( from org.apache.commons.httpclient.* ) in file SOAPHelper.java is the culprit. Replaced this file with another ( included in the mail ) that uses the JDK classes for HTTP transport and everything worked fine. TIA for your responses! ~Gerhard ----------------------------------- Boren's Law: When in doubt, mumble. ----------------------------------- -- To unsubscribe, e-mail: For additional commands, e-mail: