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

Accepted Answer
1 vote

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
Published 6 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

48 views 0 1
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