2006-06-19 13:47:03Richard
How to config Axi2 1.0 Release in PTC/Windchill
How to config Axi2 1.0 Release in Windchill 7.0 / 8.0
1 Download war distribution Axis2.war from Apache web site (http://ws.apache.org/axis2/download/1_0/download.cgi)
, and extract Axis2.war to temp directory, say c:temp.
After extraction, you will have the following directories in fig1.
2 Backup your /ptc/Windchill/codebase/WEB-INF, /ptc/Apache/conf
3 Copy directories:
3.1 Copy c:tempaxis2axis2-web* to /ptc/Windchill/axis2-web/.
3.2 Except c:tempaxis2WEB-INFweb.inf, copy c:tempaxis2WEB-INF* to /ptc/Windchill/codebase/WEB-INF/.
4 Append <Location> in /ptc/Apache/conf/app-Windchill-Auth.conf
AuthName "Windchill"
AuthType Basic
AuthLDAPURL ldap://hxcsvr.hxc.com.tw/ou=people,cn=hxcsvr,cn=Application%20Services,o=hxc
require valid-user
1 Download war distribution Axis2.war from Apache web site (http://ws.apache.org/axis2/download/1_0/download.cgi)
, and extract Axis2.war to temp directory, say c:temp.
After extraction, you will have the following directories in fig1.
2 Backup your /ptc/Windchill/codebase/WEB-INF, /ptc/Apache/conf
3 Copy directories:
3.1 Copy c:tempaxis2axis2-web* to /ptc/Windchill/axis2-web/.
3.2 Except c:tempaxis2WEB-INFweb.inf, copy c:tempaxis2WEB-INF* to /ptc/Windchill/codebase/WEB-INF/.
4 Append <Location> in /ptc/Apache/conf/app-Windchill-Auth.conf
AuthName "Windchill"
AuthType Basic
AuthLDAPURL ldap://hxcsvr.hxc.com.tw/ou=people,cn=hxcsvr,cn=Application%20Services,o=hxc
require valid-user
5 Append the following configuration tag in /ptc/Windchill/codebase/WEB-INF/web.xml
AxisServlet
Apache-Axis Servlet
org.apache.axis2.transport.http.AxisServlet
1
AxisRESTServlet
Apache-Axis Servlet (REST)
org.apache.axis2.transport.http.AxisRESTServlet
AxisAdminServlet
Apache-Axis AxisAdmin Servlet (REST)
org.apache.axis2.transport.http.AxisAdminServlet
AxisRESTServlet
/servlet/rest/*
AxisServlet
/servlet/AxisServlet
AxisServlet
*.jws
AxisServlet
/servlet/services/*
AxisAdminServlet
/servlet/axis2-admin/*
6 Modify JSP pages in /ptc/Windchill/servlet/axis2-web:
6.1 replace axis2-admin by servlet/axis2-admin
6.2 replace services/ by servlet/services/
6.3 replace rest/ by servlet/rest/
7 Start up Apache and Tomcat and visit http://hxcsvr.hxc.com.tw/Windchill/axis2-web/index.jsp. You should be able to see the Axis2 welcome page. You can login administration page by username and password in /ptc/Windchill/codebase/WEB-INF/conf/axis2.xml.
6.1 replace axis2-admin by servlet/axis2-admin
6.2 replace services/ by servlet/services/
6.3 replace rest/ by servlet/rest/
7 Start up Apache and Tomcat and visit http://hxcsvr.hxc.com.tw/Windchill/axis2-web/index.jsp. You should be able to see the Axis2 welcome page. You can login administration page by username and password in /ptc/Windchill/codebase/WEB-INF/conf/axis2.xml.