What kind of RPC Server we need to start?

Hello Fellows,
I’m trying to call a java service from Natural and I started an Java RPC Server so I’ve got a big doubt in regards of what kind of RPC Server I must start, a Java RPC Server or a XML RPC Server. What’s the difference between them?

Thanks in advanced

If you are calling for a Java service - that is, the operations/functions you want to call from Natural are written in Java and there is a Java class accessible to the RPC server, then you need the Java RPC Server.

The XML RPC Server is used to consume web services. It is used, for example, for Natural programs on the mainframe to be able to call web services anywhere via a CALLNAT statement.