RE: Google Web APIs and Cocoon

2002-04-20 Thread Vadim Gritsenko

> From: Alex McLintock [mailto:[EMAIL PROTECTED]]
> 
> At 08:54 19/04/2002, Ugo Cei wrote:
> >Thanks to the SOAP taglib, using the Google Web APIs from Cocoon is
as
> >simple as taking the attached XSP file, filling in your Google key
(after
> >having registered at http://www.google.com/apis) and putting it in
your
> >sitemap with a stylesheet of your liking.
> >
> 
> 
> This looks really cool - except I am a bit confused about one thing.
Does
> Cocoon come with the necessary SOAP functionality by default or do I
need
> to install an optional component.
> 
> I have a fairly recent CVs snapshot of cocoon and it is telling me
> 
> 
> The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
> notifies that org.apache.cocoon.ProcessingException says:
> SAX2 driver class org.apache.xerces.parsers.SAXParser does not
implement
> XMLReader

What's your servlet engine?
If it is Tomcat 4.0.2-4.0.3, try with 4.0.4

Vadim

> More precisely:
> org.apache.cocoon.ProcessingException: SAX2 driver class
> org.apache.xerces.parsers.SAXParser does not implement XMLReader:
> java.lang.ClassCastException:
> org.apache.xerces.parsers.StandardParserConfiguration
> 
> 
> Does this mean it doesn't understand the SOAP tags?
> 
> (Yes - I have gotten my Google API key and entered it into google.xsp
)
> 
> Alex
> 
> 
> 
> Openweb Analysts Ltd, London: Software For Complex Websites
> http://www.OWAL.co.uk/
> Free Consultancy for London Companies thinking of Open Source
Software.
> 


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Google Web APIs and Cocoon

2002-04-20 Thread Alex McLintock

At 08:54 19/04/2002, Ugo Cei wrote:
>Thanks to the SOAP taglib, using the Google Web APIs from Cocoon is as 
>simple as taking the attached XSP file, filling in your Google key (after 
>having registered at http://www.google.com/apis) and putting it in your 
>sitemap with a stylesheet of your liking.
>


This looks really cool - except I am a bit confused about one thing. Does 
Cocoon come with the necessary SOAP functionality by default or do I need 
to install an optional component.

I have a fairly recent CVs snapshot of cocoon and it is telling me


The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode 
notifies that org.apache.cocoon.ProcessingException says:
SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement 
XMLReader
More precisely:
org.apache.cocoon.ProcessingException: SAX2 driver class 
org.apache.xerces.parsers.SAXParser does not implement XMLReader: 
java.lang.ClassCastException: 
org.apache.xerces.parsers.StandardParserConfiguration


Does this mean it doesn't understand the SOAP tags?

(Yes - I have gotten my Google API key and entered it into google.xsp )

Alex



Openweb Analysts Ltd, London: Software For Complex Websites 
http://www.OWAL.co.uk/
Free Consultancy for London Companies thinking of Open Source Software.


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Google Web APIs and Cocoon

2002-04-19 Thread Ugo Cei

Ugo Cei wrote:
> Thanks to the SOAP taglib, using the Google Web APIs from Cocoon is as 
> simple as taking the attached XSP file, filling in your Google key 

Oops! As usual, I forgot to attach the file. Here it goes.

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]



http://apache.org/xsp";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
  xmlns:soap="http://apache.org/xsp/soap/3.0";
  >
  
  
http://api.google.com:80/search/beta2";
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
   
GETYOURSELFAKEY

0
10
true

false

latin1
latin1
  

  




-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>