Hi ,
The Basic Flow to gateway is simple......
Outside World contact SAP Netweaver Gateway server . Try find out the ur service such as /sap/opu/odata/sap/ZGW_BD_PURCH_SRV/ then check the metadata document in cache If not found it will generate new metadata document kept in the cache again . My advice is to deactivate Cache during development
Ref
-http://help.sap.com/saphelp_gateway20sp03/helpdata/en/3d/45e259b4bd49e197316cbfd3c7fa8e/content.htm
-http://mysapgw.wordpress.com/2012/01/17/metadata-cache-cleanup/
Once it fetch the Metadata document . It does URL as well as body validation based on the metadata Document ...
When Everything is verified then only it will contact Backend .
Now ur issue is that the flow stop in URL validation because it is not able to find the resource mentioned in url "PurchaseOrderCollection" but in the metadata Entity set name is "PurchaseOrders".
The problem i see is in Caching
Solution
1. Deactivate Cache as mentioned in above ref
2. Goto /IWFND/CACHE_CLEANUP
Check "the Cleanup Cache For All models"
then Re-generated the Project in SEGW
if still not work then try to make new service ..
Regards,
Jibin Joy