Mapping Publication IDs to friendly URLs
By default, your Content Delivery Web service calls refer to Publications by their IDs, not their Web site URLs. For your convenience, you can map a Publication ID to the URL of the site that the Publication ID represents, or to another property of the Publication.
About this task
Note that this functionality is only supported for the Java Content Delivery Web service, not the .NET Content Delivery Web service.
For example, say that the Publication with ID 12 corresponds to your Japanese Web site, www.example.co.jp. Without friendly URL mapping, your Web service calls would look something like this:
http://devserver:8080/cd_webservice/odata.svc/Publications(12)/Pages
But by mapping the Publication with ID 12 to the URL www.example.co.jp, you can write the more understandable:
http://devserver:8080/cd_webservice/www.example.co.jp/odata.svc/Pages
You can also map to a full URL, including a protocol, port number, and path. Your Web service call URL would then look something like this:
http://devserver:8080/cd_webservice/http://www.example.co.jp:81/a/path/odata.svc/Pages