This documentation relates to an earlier version of Crowd.
View this page in the current documentation or visit the current documentation home.
Skip to end of metadata
Go to start of metadata

Generating client stubs with Axis can be accomplished by running this command:

java -cp "$AXISCLASSPATH" org.apache.axis.wsdl.WSDL2Java http://localhost:8095/crowd/services/SecurityServer?wsdl

When the necessary objects are created off the Crowd server WSDL, you will end up with a directory structure similar to this:

drwxr-xr-x   6 jstepka  jstepka  204 Apr 19 16:56 SecurityServer_pkg
drwxr-xr-x   3 jstepka  jstepka  102 Apr 19 16:55 com
drwxr-xr-x   4 jstepka  jstepka  136 Apr 19 17:05 java

When you attempt to compile the generated class files, you will end up with a compilation error similar to the following:

java/rmi/RemoteException.java:[10,7] cyclic inheritance involving java.rmi.RemoteException

java/rmi/RemoteException.java:[11,32] modifier private not allowed here

java/rmi/RemoteException.java:[12,29] modifier private not allowed here

java/rmi/RemoteException.java:[64,29] modifier private not allowed here

java/rmi/RemoteException.java:[86,20] modifier private not allowed here

java/rmi/RemoteException.java:[104,56] modifier private static not allowed here

com/atlassian/crowd/integration/exception/InvalidCredentialException.java:[26,30] incompatible types

To resolve these compile errors you will need to delete the generated java package.

The security server can then be used as below: