fahadonline (1) [Avatar] Offline
#1
Hi,

I am trying out sample code relating to Zend_Rest_Server using following files as mentioned in book at 12.4.3 Using Zend_Rest_Server Page No. 254

CsmilieampphtdocsplacesapplicationcontrollersRestController.php

CsmilieampphtdocsplacesapplicationmodelsServicePlaces.php

CsmilieampphtdocsplaceslibraryPlacesServicePlaceInterface.php


When I try to access following URL's

http://places/rest/?method=getPlace&id=2

http://places/rest/?method=getReviews&id=3

an error is displayed stating that

"XML Parsing Error: XML or text declaration not at start of entity"

I wonder if any one in the community can help me in this regard.