<div dir="ltr">Hi Radovan / Pertti,<div><br></div><div>Many thanks for you answers, I'll take a look on that!</div><div><br></div><div>Regards,</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="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"> Identicum S.A.<br></font><font face="verdana, sans-serif" style="font-size:small"><i><font color="#666666">Jorge Newbery 3226, Argentina<br>Tel: +54 (11) </font></i></font><font color="#666666" face="verdana, sans-serif" style="font-size:small"><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">sbenavidez@identicum.com</a></font></i><br>
<a href="http://www.identicum.com/" target="_blank"><font color="#000000">www.identicum.com</font></a></font></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Oct 5, 2017 at 4:50 AM, Radovan Semancik <span dir="ltr"><<a href="mailto:radovan.semancik@evolveum.com" target="_blank">radovan.semancik@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-7085646240103330603moz-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="m_-7085646240103330603moz-txt-link-freetext" href="https://github.com/Evolveum/midpoint-custom-service" target="_blank">https://github.com/Evolveum/<wbr>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="m_-7085646240103330603css-truncate m_-7085646240103330603css-truncate-target"><span class="m_-7085646240103330603js-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="m_-7085646240103330603css-truncate m_-7085646240103330603css-truncate-target"><span class="m_-7085646240103330603css-truncate m_-7085646240103330603css-truncate-target"><span class="m_-7085646240103330603js-navigation-open">midpoint-custom-service-<wbr>overlay</span></span>
component). The use of overlay projects is documented here:<br>
<br>
<a class="m_-7085646240103330603moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Customization+With+Overlay+Project" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/<wbr>Customization+With+Overlay+<wbr>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="m_-7085646240103330603moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/REST+API" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/REST+API</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></span><span class="HOEnZb"><font color="#888888"><br>
<pre class="m_-7085646240103330603moz-signature" cols="72">--
Radovan Semancik
Software Architect
<a href="http://evolveum.com" target="_blank">evolveum.com</a></pre></font></span><div><div class="h5">
<span class="m_-7085646240103330603css-truncate m_-7085646240103330603css-truncate-target"></span><br>
<br>
On 10/04/2017 10:35 PM, Santiago Benavidez wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<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="m_-7085646240103330603gmail_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"> 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">sbenavidez@identicum.com</a></font></i><br>
<a href="http://www.identicum.com/" target="_blank"><font color="#000000">www.identicum.com</font></a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-7085646240103330603mimeAttachmentHeader"></fieldset>
<br>
</div></div><span class=""><pre>______________________________<wbr>_________________
midPoint mailing list
<a class="m_-7085646240103330603moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a class="m_-7085646240103330603moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a>
</pre>
</span></blockquote>
<br>
<br>
<pre class="m_-7085646240103330603moz-signature" cols="72"></pre>
</div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div></div>