You must edit the Identity Manager deployment descriptor, typically found in the WEB-INF/web.xml file, to contain a declaration for the servlet that receives SPML requests.
If you are having difficulty contacting the SPML web service, look in the web.xml file for a servlet declaration. The following example shows a servlet declaration.
<servlet> <servlet-name>rpcrouter2</servlet-name> <display-name>OpenSPML SOAP Router</display-name> <description>no description</description> <servlet-class> org.openspml.server.SOAPRouter </servlet-class> <init-param> <param-name>handlers</param-name> <param-value>com.waveset.rpc.SimpleRpcHandler</param-value> </init-param> <init-param> <param-name>spmlHandler</param-name> <param-value>com.waveset.rpc.SpmlHandler</param-value> </init-param> <init-param> <param-name>rpcHandler</param-name> <param-value>com.waveset.rpc.RemoteSessionHandler</param-value> </init-param> </servlet> |
This declaration allows you to access addRequest, modifyRequest, and searchRequest web services through the URL:
http://<host>:<port>/idm/servlet/rpcrouter2
where
host is the machine on which you are running Identity Manager.
port is the number of the TCP port on which the server is listening.
Although you can, you are not required to define a servlet-mapping. Do not modify the contents of this servlet declaration.