Hi,

Yes, it seems the sample user credentials are again changed. You can try
with the following url

http://localhost:9763/services/samples/GSpreadSample.HTTPEndpoint/customers

as this sample is deployed under 'samples'. The doc should be changed.
@Nilmini, please note.

Thanks

On Fri, Sep 26, 2014 at 9:45 AM, Chamin Nalinda <[email protected]> wrote:

> Hi Chanika,
>
> I'm using the latest one (3.2.1)
>
> I did manually typed the following in the request area and tried to send.
> (according to sample documentation)
>
> [link] https://docs.wso2.com/display/DSS321/Google+Spreadsheet+Samplea
>
> and when try to access the link
> http://localhost:9763/services/GSpreadSample.HTTPEndpoint/customers fault
> string says " The service cannot be found for the endpoint reference
> (EPR) /services/GSpreadSample.HTTPEndpoint/customers"
>
> *XML typed*
>
> <Customers xmlns="
> http://ws.wso2.org/dataservice/samples/gspreadd_sample_service";></
> <Customer customerName="Atelier graphique" city="Nantes">
> <customerNumber>103</customerNumber>
> </Customer>
>
> <Customer customerName="Signal Gift Stores" city="Las Vegas"
> ><customerNumber>112</customerNumber> </Customer>
>
> <Customer customerName="Signal Gift Sto" city="Las Vegas"
> ><customerNumber>114</customerNumber> </Customer>
>
>
> <Customer customerName="Signaft Stores" city="Las Vegas"
> ><customerNumber>119</customerNumber> </Customer>
> </Customers>
>
> *output error message*
>
> The service cannot be found for the endpoint reference (EPR)
> /services/GSpreadSample.HTTPEndpoint/customers
>
> On Fri, Sep 26, 2014 at 6:18 AM, Chanika Geeganage <[email protected]>
> wrote:
>
>> 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 <[email protected]> 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
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> *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
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to