# Call a java function in the URCap from a custom URScript file

**URL:** <https://forum.universal-robots.com/t/call-a-java-function-in-the-urcap-from-a-custom-urscript-file/16386>\
**Category:** URScript\
**Created:** [September 9, 2021, 3:24pm UTC](https://forum.universal-robots.com/t/call-a-java-function-in-the-urcap-from-a-custom-urscript-file/16386 "2021-09-09T15:24:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fujikit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/fujikit/32/6042_2.png) [@fujikit](https://forum.universal-robots.com/u/fujikit)\
**Post date:** [September 11, 2021, 10:57am UTC](https://forum.universal-robots.com/t/call-a-java-function-in-the-urcap-from-a-custom-urscript-file/16386/2 "2021-09-11T10:57:47Z")

</div>

Hi, it is possible to call java function by xmlrpc server.

Please see my urcap sample.

> [@URCap Sample: URCap with XML-RPC Server by Java (Dialog Script URCap)](https://forum.universal-robots.com/t/urcap-sample-urcap-with-xml-rpc-server-by-java-dialog-script-urcap/8707):
>
> NAME OF URCAP Dialog Script URCap with using XML-RPC (second version) Description of functionality: I uploaded the urcap which shows custom dialog by using socket commucation in the other day. In this time, the feature showing the dialog is implemented by XML-RPC daemon. Why is it used JAVA for XMLRPC daemon? It is possible to implement the keyboardInput feature of installation conribution on XMLRPC. GITHUB LINK Requirements: URCaps SDK v.1.9.0

---

_[View the full topic](https://forum.universal-robots.com/t/call-a-java-function-in-the-urcap-from-a-custom-urscript-file/16386)._
