Webservice client in JIRA Plugin

I try to call remote webservice form my JIRA plugin (jira version 6.2). I failed with jax-ws client, couldn't resolve dependency problems.

Which tool should I use: Axis2, CXF or something else? Do you have any positive experiences?

1 answer

1 accepted

It works with Axis2, with these dependecies:

<!-- AXIS -->
		<dependency>
		  <groupId>org.apache.axis2</groupId>
		  <artifactId>org.apache.axis2.osgi</artifactId>
		  <version>1.6.2</version>
		</dependency>
	<dependency>
		<groupId>javax.servlet</groupId>
		<artifactId>servlet-api</artifactId>
		<version>2.4</version>
		<scope>provided</scope>
	</dependency>
	<dependency>
		<groupId>xml-apis</groupId>
		<artifactId>xml-apis</artifactId>
		<version>1.0.b2</version>
		<scope>provided</scope>
	</dependency>
[...]
<jira.version>6.2</jira.version>

I also had to configure osgi dependencies manualy in my atlassian-plugin.xml because import of org.w3c.dom was not generated autamitacally.

How did you configure the org.w3c.dom dependencies in the atlassian-plugin.xml file? Can you show an example.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

440 views 6 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you