For future reference for those who try to do Web service apps within Turbine, I finally got it to work, after much thrashing, by replacing the version of xerces parser that shipped with tdk2.1 (1.3.0) with the most current version (1.4.4).
Bruce At 05:31 AM 4/30/2002 -0400, you wrote: >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]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
