Skip to end of metadata
Go to start of metadata
Icon

JIRA's SOAP and XML-RPC remote APIs were deprecated in JIRA 6.0.

Read the announcement for more information.

The RPC endpoint plugin modules enable you to publish new SOAP and XML-RPC endpoints within JIRA.

These endpoints allow you to expose your own remote web services to the outside world.

Here are two example RPC endpoint descriptors:

The first defines a SOAP service, the second an XML-RPC service. These objects (class="x") will be published via Glue or Apache XML-RPC respectively. The service-path element defines where in the URL namespace the services will be published. The published-interface element for the SOAP module defines which interface will be published (XML-RPC publishes all methods of the object).

Please take note that you also have to create a Component Plugin Module to avoid the client getting NullPointerException, e.g.

You can learn more about RPC plugins from looking at JIRA's system RPC plugin. The source to this plugin is also freely available, and serves as an excellent learning resource.

Icon

You may also wish to see the Creating an XML-RPC Client and Creating a JIRA SOAP Client if you're interested in creating a JIRA remote client.

  • No labels

2 Comments

  1. The RPC endpoint descriptor above is not enough to make it work. You must include at least one component in the atlassian-plugin.xml as the following:

    It seems to be redundant but working. Without the component the axis will return a soapfault with NPE.

  2. How to make RPC Endpoint Plugin from type one to type two?