Model Web Service client is a simple and small Java component located in
model/model-client subdirectory of midPoint source code. This component is a web service client written in Java using JAX-WS and JAX-B standards. It is designed to be independent on midPoint main code and midPoint libraries. Its purpose it to be used as a simple library component in applications that access midPoint web service.
The Model Web Service Client is a simple Java library. All the code generated by JAX-B and JAX-WS is already generated when the model client is being built as part of midPoint build process. Therefore there are no special requirements on the build system when using the Model Web Service Client. Embedding the client into the application is a simple matter of taking the
model-client-*.jar and placing it on application classpath. The model client JAR file can be obtained as a result of midPoint source code build process (
The semantics of model web service client library corresponds to the definition of IDM Model Web Service Interface. There is also a sample code that demonstrates the usage of the model client library.