cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AWR <art632...@yahoo.ca>
Subject Re: webserviceproxy working in snapshots?
Date Fri, 07 Feb 2003 16:12:25 GMT
OK, I got this working (thanks Art!). Since then, I
have been trying to figure out a way to use it with
any URL. This has come up before on the list:

"If you need to retrieve arbitrary html content it
would be safer to use HTMLGenerator, which can
retrieve remote sources via http, and runs the input
through Tidy before sending the sax events through the
pipeline, guaranteeing [?] that you get wellformed
xml." from
<http://www.mail-archive.com/cocoon-users@xml.apache.org/msg22307.html>.

Can a generator, like webserviceproxy, receive content
from another generator, in this case, HTMLGenerator? 

AWR

 --- AWR <art632000@yahoo.ca> wrote: > I have tried
several, including the latest, but
> there
> seems to be a problem passing the remote site
> information, and the examples always result in
> "Error
> invoking remote service:
> java.lang.IllegalArgumentException: host parameter
> is
> null". The stack trace is below.
> 
> Does anyone have webserviceproxy working in a recent
> dev snapshot?
> 
> AWR
> ----
> Original exception :
> java.lang.IllegalArgumentException: host parameter
> is
> null 
> at
>
org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:175)
> 
=== message truncated === 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message