Hi Chamin, What is the DSS version you are using? It seems the Google credentials in the sample are invalid. The credentials in the Google spreadsheet sample in earlier DSS versions are changed by someone and throwing the above exception. But it was corrected in recent releases
Thanks Chanika On Thu, Sep 25, 2014 at 3:49 PM, Chamin Nalinda <cha...@wso2.com> wrote: > Following error generates when running sample > > <soapenv:Fault xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" > xmlns:axis2ns25="http://ws.wso2.org/dataservice"> > <soapenv:Code> > <soapenv:Value>axis2ns25:UNKNOWN_ERROR</soapenv:Value> > </soapenv:Code> > <soapenv:Reason> > <soapenv:Text xml:lang="en-US">DS Code: UNKNOWN_ERROR > Nested Exception:- > javax.xml.stream.XMLStreamException: DS Fault Message: Error in query > GSpreadQuery.execute > DS Code: UNKNOWN_ERROR > Source Data Service:- > Name: GSpreadSample > Location: /samples/GSpreadSample.dbs > Description: N/A > Default Namespace: > http://ws.wso2.org/dataservice/samples/gspread_sample_service > Current Request Name: _getcustomers > Current Params: {} > Nested Exception:- > com.google.gdata.client.GoogleService$InvalidCredentialsException: Invalid > credentials > > </soapenv:Text> > </soapenv:Reason> > <soapenv:Detail> > <axis2ns24:DataServiceFault xmlns:axis2ns24=" > http://ws.wso2.org/dataservice"> > <axis2ns24:current_params>{}</axis2ns24:current_params> > > > <axis2ns24:current_request_name>_getcustomers</axis2ns24:current_request_name> > > > <axis2ns24:nested_exception>com.google.gdata.client.GoogleService$InvalidCredentialsException: > Invalid credentials</axis2ns24:nested_exception> > <axis2ns24:source_data_service> > > <axis2ns24:location>/samples/GSpreadSample.dbs</axis2ns24:location> > <axis2ns24:default_namespace> > http://ws.wso2.org/dataservice/samples/gspread_sample_service > </axis2ns24:default_namespace> > <axis2ns24:description>N/A</axis2ns24:description> > > <axis2ns24:data_service_name>GSpreadSample</axis2ns24:data_service_name> > </axis2ns24:source_data_service> > <axis2ns24:ds_code>UNKNOWN_ERROR</axis2ns24:ds_code> > </axis2ns24:DataServiceFault> > </soapenv:Detail> > </soapenv:Fault> > > > Following error message is shown in the DSS bin window. > > DS Code: UNKNOWN_ERROR > Source Data Service:- > Name: GSpreadSample > Location: /samples/GSpreadSample.dbs > Description: N/A > Default Namespace: > http://ws.wso2.org/dataservice/samples/gspread_sample_service > Current Request Name: _getcustomers > Current Params: {} > Nested Exception:- > com.google.gdata.client.GoogleService$InvalidCredentialsException: Invalid > credentials > > > -- > *Chamin Nalinda* > > Intern - Engineering > WSO2 Inc. http://www.wso2.com > lean.enterprise.middleware > > Mobile: (+94) 77 241 66 04 > Linkedin: https://www.linkedin.com/in/chaminnalinda > Web: http://www.ckreativity.com > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Best Regards.. Chanika Geeganage Software Engineer WSO2, Inc.; http://wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev