You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by sk...@apache.org on 2013/12/03 13:13:56 UTC
svn commit: r1547361 -
/incubator/olingo/site/trunk/content/doc/tutorials/Olingo_Tutorial_Advanced_Service_Resolution.mdtext
Author: sklevenz
Date: Tue Dec 3 12:13:56 2013
New Revision: 1547361
URL: http://svn.apache.org/r1547361
Log:
CMS commit to olingo by sklevenz
Modified:
incubator/olingo/site/trunk/content/doc/tutorials/Olingo_Tutorial_Advanced_Service_Resolution.mdtext
Modified: incubator/olingo/site/trunk/content/doc/tutorials/Olingo_Tutorial_Advanced_Service_Resolution.mdtext
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/tutorials/Olingo_Tutorial_Advanced_Service_Resolution.mdtext?rev=1547361&r1=1547360&r2=1547361&view=diff
==============================================================================
--- incubator/olingo/site/trunk/content/doc/tutorials/Olingo_Tutorial_Advanced_Service_Resolution.mdtext (original)
+++ incubator/olingo/site/trunk/content/doc/tutorials/Olingo_Tutorial_Advanced_Service_Resolution.mdtext Tue Dec 3 12:13:56 2013
@@ -26,14 +26,14 @@ A uri schema with and without service re
![Picture: Service Resolution](/img/service-resolution-url.png)
-A service inti parameter (`com.sap.core.odata.path.split`) can be set for servlet configuration (see web.xml) and define how many path segments are not interpreted as OData path segments. In the example the split is 2 and the resulting service resolution uses two segments for <namespace> and <service>.
+A service inti parameter (`org.apache.olingo.odata2.path.split`) can be set for servlet configuration (see web.xml) and define how many path segments are not interpreted as OData path segments. In the example the split is 2 and the resulting service resolution uses two segments for <namespace> and <service>.
<?xmlversion="1.0"encoding="UTF-8"?>
<web-appxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID"version="2.5">
- <display-name>org.odata4j.ext.web</display-name>
+ <display-name>MyApp</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
@@ -42,14 +42,14 @@ A service inti parameter (`com.sap.core.
<servlet-class>org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet</servlet-class>
<init-param>
<param-name>javax.ws.rs.Application</param-name>
- <param-value>com.sap.core.odata.core.ODataApplication</param-value>
+ <param-value>org.apache.olingo.odata2.core.ODataApplication</param-value>
</init-param>
<init-param>
- <param-name>com.sap.core.odata.service.factory</param-name>
- <param-value>com.sap.core.odata.ref.processor.ScenarioServiceFactory</param-value>
+ <param-name>org.apache.olingo.odata2.service.factory</param-name>
+ <param-value>org.apache.olingo.odata2.ref.processor.ScenarioServiceFactory</param-value>
</init-param>
<init-param>
- <param-name>com.sap.core.odata.path.split</param-name>
+ <param-name>org.apache.olingo.odata2.path.split</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>1</load-on-startup>