| Name | Confluence SOAP Library |
|---|---|
| Version | 0.3 |
| Author(s) | Andy Brook |
| Price | Free |
| License | BSD |
| JavaDocs | n/a |
| IssueTracking | n/a |
| Source Code Project | 0.3 |
| Download JAR's | All, 0.3 |
| Download Generated Sources | 0.3 |
Description/Features
This provides provides a Maven 2 project wrapper around the JIRA SOAP library allowing quick access to SOAP without the headaches of compiling WSDL and managing dependencies of the resultant code in order to use such compiled code. It uses Apache AXIS to generate the code.
Maven 2 Configuration
This is a client library, to use, you really need to be in a maven2 environment. To use it you need to edit your pom's dependencies to include:
<dependencies>
<dependency>
<groupId>com.dolby.confluence.net</groupId>
<artifactId>confluence-soap</artifactId>
<version>0.3</version>
</dependency>
</dependencies>
And enable the Atlassian repository:
<repositories>
<repository>
<id>atlassian-m2-contrib</id>
<name>Atlassian Maven 2 Contributor Repository</name>
<url>http://svn.atlassian.com/svn/public/contrib/repository/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
Eclipse users can use the example eclipse project as a starting point.
Building
To build this library use the following maven2 build targets (md5 sums have to be generated manually):
clean, axistools:wsdl2java, source:jar, install
If you happen to build the library by hand, you will see a build warning, but it can be ignored. If you see "[INFO] BUILD SUCCESSFUL" the build worked, examine the target/ folder.
Examples
todo
Version History
| 0.1-SNAPSHOT | Initially added here, need to tie up with repository |
|---|---|
| 0.2 | rebuilt with BSD license |
| 0.3 | installed to maven2 repo, class packages changed for consistency |
Open Issues
Use this page.

Comments (13)
Nov 26, 2007
Bob Swift says:
Andy, can you point me at the source to help with debug? Also, could you consid...Andy, can you point me at the source to help with debug? Also, could you consider changing the license to BSD? I can't use a GPL library for a BSD licensed deliverable. Thanks.
Nov 26, 2007
Andy Brook says:
Hi Bob, ok, gotcha re:debug, though Im experiencing major problems attaching tgz...Hi Bob, ok, gotcha re:debug, though Im experiencing major problems attaching tgz / tar.gz files to the developer confluence - they keep getting mangled. I have a CSP open in any case, having to fall back to zip files, gah!
See top of page, let me know if it works for you.
BTW, if you have admin can you wipe out the .tgz attachments, they are broken and I dont have the rights.
ta
andy
Nov 26, 2007
Andy Brook says:
Meant to say, re: license, I guess my main concern is over anything developed b...Meant to say, re: license, I guess my main concern is over anything developed being used against my company. I havent read the BSD license yet, if there are sufficient 'disclaim/dont sue me or my company if it kills your machine' clauses Im happy to do that. I'll have a read tonight.
Dec 14, 2007
Andy Brook says:
Hi bob, both jira and confluence soap libraries are now BSD.Hi bob, both jira and confluence soap libraries are now BSD.
Feb 27, 2008
Jérôme Zago says:
"mvn clean install" unfortunately doesn't work for me (version 0.2)... $ mvn -..."mvn clean install" unfortunately doesn't work for me (version 0.2)...
$ mvn -version Maven version: 2.0.8 Java version: 1.5.0_14 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" $ md5sum confluence-soap-project-0.2.zip; unzip confluence-soap-project-0.2.zip 01493d9441a41360cf23076654ef055f *confluence-soap-project-0.2.zip $ cd confluence-soap/; mvn clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Atlassian CONFLUENCE Soap Model [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] Downloading: http://repo1.maven.org/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom Downloading: http://repo1.maven.org/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom Downloading: http://repo1.maven.org/maven2/axis/axis-saaj/1.4/axis-saaj-1.4.pom Downloading: http://repo1.maven.org/maven2/axis/axis-saaj/1.4/axis-saaj-1.4.pom Downloading: http://repo1.maven.org/maven2/com/dolby/common/dd-common/0.2.16-SNAPSHOT/dd-common-0.2.16-SNAPSHOT.pom Downloading: http://snapshots.repository.codehaus.org//com/dolby/common/dd-common/0.2.16-SNAPSHOT/dd-common-0.2.16-SNAPSHOT.pom Downloading: http://repo1.maven.org/maven2/com/dolby/common/dd-common/0.2.16-SNAPSHOT/dd-common-0.2.16-SNAPSHOT.jar Downloading: http://snapshots.repository.codehaus.org//com/dolby/common/dd-common/0.2.16-SNAPSHOT/dd-common-0.2.16-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) com.dolby.common:dd-common:jar:0.2.16-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.dolby.common -DartifactId=dd-common -Dversion=0.2.16-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.dolby.common -DartifactId=dd-common - Dversion=0.2.16-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo sitoryId=[id] Path to dependency: 1) com.dolby.atlassian.confluence:soap-model:jar:0.2 2) com.dolby.common:dd-common:jar:0.2.16-SNAPSHOT ---------- 1 required artifact is missing. for artifact: com.dolby.atlassian.confluence:soap-model:jar:0.2 from the specified remote repositories: ukdev-repo (scp://ukdev.dolby.net/usr/local/maven-repo2), central (http://repo1.maven.org/maven2), central-m2-repository (http://repo1.maven.org/maven2), Codehaus Snapshots (http://snapshots.repository.codehaus.org/) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Wed Feb 27 15:12:09 CET 2008 [INFO] Final Memory: 5M/9M [INFO] ------------------------------------------------------------------------Feb 27, 2008
Andy Brook says:
Ah, I know about this, must fix. Just remove the offending dependency (and java...Ah, I know about this, must fix. Just remove the offending dependency (and java-mail) and it will build fine.
Sorry about that I must get to fixing this!
Feb 29, 2008
Jérôme Zago says:
Removing the offending dependency (artifactId: dd-common) worked. Thanks for you...Removing the offending dependency (artifactId: dd-common) worked. Thanks for your quick reply!
Something else, the dependency block should be:
<dependency> <groupId>com.dolby.atlassian.confluence</groupId> <artifactId>soap-model</artifactId> <version>0.2</version> </dependency>...instead of:
<dependency> <groupId>com.dolby.atlassian.confluence</groupId> <artifactId>confluence-soap-model</artifactId> <version>0.2</version> </dependency>Mar 27, 2008
Bob Swift says:
Andy, Confluence Command Line Interface 1.0.0 now uses your library. I know it ...Andy, Confluence Command Line Interface 1.0.0 now uses your library. I know it is long overdue
. This makes it considerably easier, so thanks for providing this. I am using the JIRA version as well. Any plans for doing similar ones for the other Atlassian products? If not, I can probably just follow your model
.
Mar 28, 2008
Andy Brook says:
heh, glad its of use well, I was thinking about CROWD, to see If can bypass so...heh, glad its of use
well, I was thinking about CROWD, to see If can bypass some of the problems we're having, but like most people, don't have much free time! If you have the time, feel free to continue, otherwise I'll other project as I go! If you could get them all in the Atlassian developer repo, that would certainly help out external developers also! I believe there was work done to help developers deploy artifacts to the developer repo, but I have not had the time to go there. Feel free to take over the Jira/Confluence plugins and keep them up to date API wise (and fix silly naming problems), given your other usage, this may well end up being the easiest way to keep it up to date....
ttfn
May 30, 2008
Andy Brook says:
Hi bob, I had some thoughts on this today, one project, multiple WSDL's, single ...Hi bob, I had some thoughts on this today, one project, multiple WSDL's, single point of reference for soap.... Its easy to do, just add the necessary wsdls into the /wsdl folder and set the packagesSpace to be something sensible. The only downside is confusion, consider code auto-complete on 'Remote' for instance, multiply matches by number of wsdl's.
How many projects/products have wsdl, is this worth doing? And if it gets setup, I'm happy for you guys to manage it
May 30, 2008
David Peterson [CustomWare] says:
Hi there, The M2 repository should probably be 'https://maven.atlassian.com/con...Hi there,
The M2 repository should probably be 'https://maven.atlassian.com/contrib' now, rather than the SVN address. Just FYI...
David
Jul 02
Gaurav Bansal says:
Hello, Running the ExampleClient.java (File from the example eclipse project) r...Hello,
Running the ExampleClient.java (File from the example eclipse project) results in the following error.
AxisFault
faultCode:
faultSubcode:
faultString: (404)Not Found
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html>
<head>
<base href="http://localhost:8090" />
<link rel="stylesheet" type="text/css" href="/styles/main-action.css" />
<link rel="stylesheet" type="text/css" href="/includes/css/master.css" />
<link rel="stylesheet" type="text/css" href="/includes/css/default-theme.css" />
<title>Page Not Found</title>
</head>
...........................
(404)Not Found
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.dolby.confluence.net.soap.confluence.ConfluenceserviceV1SoapBindingStub.login(ConfluenceserviceV1SoapBindingStub.java:3743)
at ExampleClient.<init>(ExampleClient.java:21)
at ExampleClient.main(ExampleClient.java:45)
I am wondering if any one knows about this issue or if there is any other example to use this Confluence SOAP Library.
Aug 15
Andy Brook says:
check the source code: String serverURL="http://"+server+"/kb"; it will ...check the source code:
it will need to be fixed for your deployment url, possibly just removing "/kb" would be enough. Its a tiny program, why not run it in debug mode with Eclipse!