hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom Hehl <t...@nowhereatall.com>
Subject Re: Port problem V2.0
Date Sun, 11 Sep 2005 19:11:40 GMT
No change.

Oleg Kalnichevski wrote:

>On Sun, 2005-09-11 at 08:25 -0400, Thom Hehl wrote:
>  
>
>>OK, Roland's suggestion made sense. Therefore, I switched my Get call to 
>>relative, which i should have had anyway, but I was having some problems 
>>with it, probably because I coded wrong.
>>
>>Anyway, here's what I'm basically doing...
>>
>>        
>>Client.getHostConfiguration().setHost("http://orgmeta.xmlsweb.com", 
>>3245, "http");
>>
>>    
>>
>
>Thom,
>
>HostConfiguration#setHost method expects a host name, not a URL. Try
>this instead:
>setHost("orgmeta.xmlsweb.com", 3245, "http");
>
>Hope this helps
>
>Oleg
>
>  
>
>>and then calling GetMethod with a path("orgs.xml");
>>
>>The debug statements then tell me...
>>
>>...
>>2005/09/11 08:18:03:812 EDT [DEBUG] HttpConnection - Open connection to 
>>orgmeta.xmlsweb.com:80
>>...
>>
>>This to me is a broken and requires a code change. I'm happy to help 
>>make it if someone would point me in the direction of how to contribute.
>>
>>Thanks!
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
>  
>


-- 
"In every revolution, there is one man with a vision."--Jerome Bixby

Thom Hehl
<A href="www.heavyweightsoftware.com"> www.heavyweightsoftware.com</A>


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message