<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
Yes, there is quite a simple way to create custom SOAP service in
midPoint. Well, it is simple if you are familiar with JAX-WS (and
Apache CXF and Spring in particular). There is even an example
Maven project for that:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/Evolveum/midpoint-custom-service">https://github.com/Evolveum/midpoint-custom-service</a><br>
<br>
The principle is quite simple: you just need to include
JAX-WS-annotated Java class representing your SOAP service in
midPoint WAR. And then you need to set up the service from your
custom Spring context XML file. You will find both in the example
project (see <span class="css-truncate css-truncate-target"><span
class="js-navigation-open">midpoint-custom-service-server</span>
component). And the best way to bundle it into midPoint WAR is
to use Maven overlay (see </span><span class="css-truncate
css-truncate-target"><span class="css-truncate
css-truncate-target"><span class="js-navigation-open">midpoint-custom-service-overlay</span></span>
component). The use of overlay projects is documented here:<br>
<br>
<a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Customization+With+Overlay+Project">https://wiki.evolveum.com/display/midPoint/Customization+With+Overlay+Project</a><br>
<br>
There may be similar method to also publish REST services using
JAX-RS, but we have not tried it yet. Everybody seems to be
happy with out stock REST service:<br>
<br>
<a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/REST+API">https://wiki.evolveum.com/display/midPoint/REST+API</a><br>
</span><br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com</pre>
<span class="css-truncate css-truncate-target"></span><br>
<br>
On 10/04/2017 10:35 PM, Santiago Benavidez wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHA2C1NAW3UZa0pPNL7GVy5XCaB3uj86L7+q1z1G4-G_7wS-VA@mail.gmail.com">
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div>As far as I'm concerned there's a connector "REST Connector
Superclass" to invoke web services, but let's supposed we need
to publish some methods for external applications to retrieve
some Midpoint data, is it possible to create some custom
SOAP/REST web services from any connector? Or is it there any
other way to achieve this?</div>
<div><br>
</div>
<div>I know that the Midpoint API is available but I need to
create some custom web services with custom responses.</div>
<div><br>
</div>
<div>Thanks in advanced,</div>
<br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><b>Ing. Santiago R. Benavídez</b><br>
<font face="verdana, sans-serif"><img
src="http://www.identicum.com/img/favicon.ico"
moz-do-not-send="true"> Identicum S.A.<br>
</font><font style="font-size:small"
face="verdana, sans-serif"><i><font
color="#666666">Jorge Newbery 3226,
Argentina<br>
Tel: +54 (11) </font></i></font><font
style="font-size:small" face="verdana,
sans-serif" color="#666666"><i>4552.3050
(int. 107)</i></font><font
face="verdana, sans-serif"><br>
</font>
<div><font face="verdana, sans-serif"><i><font
size="1"><a
href="mailto:sbenavidez@identicum.com"
target="_blank"
moz-do-not-send="true">sbenavidez@identicum.com</a></font></i><br>
<a href="http://www.identicum.com/"
target="_blank" moz-do-not-send="true"><font
color="#000000">www.identicum.com</font></a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>