Greetings:

I'm trying to use the Google Web Services API 
(http://www.google.com/apis/index.html) from within Turbine for a 
demonstration of web services. Outside of Turbine, i.e., on the command 
line, it works great, but I'm getting the following error upon doing a 
search within a Turbine action class:

java.lang.reflect.InvocationTargetException: 
com.google.soap.search.GoogleSearchFault: [SOAPException:
  faultCode=SOAP-ENV:Client; msg=Unable to resolve namespace URI for 'ns1'.;
  targetException=java.lang.IllegalArgumentException: Unable to resolve 
namespace URI for 'ns1'.] at
  com.google.soap.search.GoogleSearch.doSearch(GoogleSearch.java:164) at
  gov.nasa.hq.apps.actions.google.Searcher.doSearch(Searcher.java:35) at 
java.lang.reflect.Method.invoke(Native
  Method) at 
org.apache.turbine.util.velocity.VelocityActionEvent.executeEvents(VelocityActionEvent.java:166)
 
at
  
org.apache.turbine.util.velocity.VelocityActionEvent.perform(VelocityActionEvent.java:114)
 
at...etc.

Since I'm connecting fine from command line it is not a proxy problem, but 
I suspect that maybe Turbine is mangling something in the SOAP call. Has 
anyone else tried this API withing Turbine yet?

Thanks,
Bruce


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

Reply via email to