Hi, I'm really, really new to OData and the company I'm working on is Migrating their Quickbooks environment to NAV and I need to fetch data on the web using OData.
I'm my testing environment I'm using Win 7 IIS7 Web Server and PHP, I already installed the OData SDK into the environment and is running fine but I get this:
[_headers:protected] => Array
[_innerException:protected] => Error occured during request for http://[SERVER]:[PORT]/[COMPANY]/Odata/Customers?$filter=CustomerID+eq+'C0001': Received HTTP code 400 from proxy after CONNECT
[_statusCode:protected] => 404
[_query:protected] => http://[SERVER]:[PORT]/[COMPANY]/Odata/Customers?$filter=CustomerID+eq+'C0001'
[ObjectIDToNextLinkUrl] => Array
When I link directly to the page requested I see the data of Customer C0001 but for any reason when I have it run through the SDK return that error.
I'm assuming is the proxy, but I just follow the same procedure from the Netflix sample, set up a app.config.ini file and put the proxy info in there. I echo the $proxy->HttpProxy and all the value are correct but still have this error.
Is there's something I'm missing?
Is there's a configuration file I need to create first?
Any advice will be greatly appreciate. Thanks