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

1 vote
Accepted answer

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
Community showcase
Posted yesterday in Agile

What is Scrum? A good, bad, and ugly answer.

In a world of dark-scrum, faux-scrum, and scrum-butt, the question still remains: What is scrum and how do you do it “right?” That’s the question we set out to answer. I'm Max, I've been teaching c...

65 views 0 2
Join discussion

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