10 messages in com.googlegroups.google-enterprise-developerRe: Onebox Servlet Starter Kit
FromSent OnAttachments
Benson18 Jan 2007 14:51 
Jeff Ragusa19 Jan 2007 22:25 
Benson22 Jan 2007 20:16 
Benson22 Jan 2007 20:49 
Jeff Ragusa22 Jan 2007 23:36 
Jeff Ragusa23 Jan 2007 00:15 
Benson23 Jan 2007 09:23 
Benson23 Jan 2007 12:18 
Jeff Ragusa23 Jan 2007 13:29 
Benson23 Jan 2007 13:55 
Subject:Re: Onebox Servlet Starter Kit
From:Benson (bens@gmail.com)
Date:01/22/2007 08:49:06 PM
List:com.googlegroups.google-enterprise-developer

Hi Jeff,

I just try the starter kit by typing the following command with simulator

python onebox_simulator onbox.xml

And it got the following result :

query : directory Brown calling: http://localhost:8081/onebox/SampleNoAuthOneBoxProvider?lang=en&ipAddr= 192.168.0.1&apiMaj=1&dateTime=2006-01-18%3A17%3A42%3A43&apiMin=0&oneboxname=dire ctory_onebox&query=directory_Brown got back: <?xml version="1.0" encoding="UTF-8"?><OneBoxResults xmlns:xsi="http:/ /www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="oneboxresult s.xsd"><resultCode>securityFailure</resultCode><Diagnostics>User authentication type not recognized: null</Diagnostics></OneBoxResults>

As the onebox.xml has specified that there is no authentication "<security userAuth="none"/>", therefore, the securityFailure error message should not appear.

Please help

Hi Jeff,

Thanks for your explanation. It means that the starter kit is just a portal for entering queries and send queries to GSA or simulator, right? BTW, when the querie string is sent to the GSA or simulator through HTTP GET, how does the kit be configured to the GSA's URL?

Probably, I will go for SDK approach first becasue I am still doing research on GSA solution now.

It is good that you have added an issue to describe the use of onebox.xml when the GSA is not available. Just want to ask when this readme is available.

Hi Benson -

The onebox.xml file is the file that defines configuration parameters for your OneBox module as well as defining the user interface. So technically it isn't "installed" into the starter kit. It should be installed into either a Google Search Appliance or (for development purposes) a OneBox simulator such as that available through the SDK found here: http://code.google.com/enterprise/download/downloadsdk.html Which of these paths would you be going down?

I have added an issue regarding making the readme more clear about the use of onebox.xml when a Google Search Appliance is not available.

Google Enterprise Developer Community http://code.google.com/enterprise/