You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by David Wilkinson <dr...@iquo.co.uk> on 2007/11/07 14:32:39 UTC
[Axis2]Maven2 plugins for WSDL2Code Generation
Hi
I am starting a new project and have started to put a POM file together for
an axis web service, and I'm looking for a plugin to generate my code. I
have spotted the one under the tools section of the web site but when I
tryed to down load the plugin from the site all the links are broken and
there are no maven 2 repositories that have version 1.3. The only version I
have found so far is version 1.1 which also seams to suffer from dependency
issues.
Has anyone got this working or is there any other maven 2 plugin about that
I can use. Any help would be grateful
Regards
DRAW
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: [Axis2]Maven2 plugins for WSDL2Code Generation
Posted by David Wilkinson <dr...@iquo.co.uk>.
Hi Suran
Thanks one of my other questions was going to be where do I find the source
code for the plugins which you have answered.
Thanks again
David
-----Original Message-----
From: Suran Jayathilaka [mailto:suran@wso2.com]
Sent: 08 November 2007 02:50
To: axis-user@ws.apache.org
Subject: Re: [Axis2]Maven2 plugins for WSDL2Code Generation
David Wilkinson wrote:
> Hi
>
> I am starting a new project and have started to put a POM file together
for
> an axis web service, and I'm looking for a plugin to generate my code. I
> have spotted the one under the tools section of the web site but when I
> tryed to down load the plugin from the site all the links are broken and
> there are no maven 2 repositories that have version 1.3. The only version
I
> have found so far is version 1.1 which also seams to suffer from
dependency
> issues.
>
> Has anyone got this working or is there any other maven 2 plugin about
that
> I can use. Any help would be grateful
>
> Regards
>
> DRAW
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
Greetings!
You can get the maven2 wsdl2java plugin in this way, until the download
links are fixed.
Checkout the axis2 source from the links at
http://ws.apache.org/axis2/svn.html
Go to the <axis2>/modules/tool/axis2-wsdl2code-maven-plugin folder.
And build the plugin using "mvn clean install".
Cheers!
Suran
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
__________ NOD32 2644 (20071107) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Spring inside AAR - autoproxied transaction manager
Posted by robert lazarski <ro...@gmail.com>.
This seems to be a common problem outside of axis2. Some quick
googling turned up lots of hits, including:
http://forum.springframework.org/archive/index.php/t-11648.html
Looks like you'll need to setup the class loader a bit - since you say
you already have spring working inside the aar, I presume you already
have a reference to it. Let us know if you need more help, we'll see
what we can do.
HTH,
Robert
On Nov 7, 2007 10:29 PM, Anthony Bull <an...@bcsoft.co.nz> wrote:
> Hi, having done a couple of services successfully with Spring inside the
> .aar, I was surprised today when I tried to get my web-service to deploy
> that features a Spring loaded web-service that has an auto-proxied
> transaction manager around one of its beans.
>
> I could not get this to run without having the spring.jar library under
> axis-2/WEB-INF/lib - it gives the following error, if the spring related
> classes (spring.jar, axis2-spring.jar) are only in my AAR files lib folder.
>
> interface org.springframework.aop.framework.Advised is not visible from
> class loader
>
> I've set my Spring based service up as per the docs on the Axis2 site,
> and have several other services running with Spring inside the AAR fine.
> I've also tried the exploded web service trick to no avail.
>
> Hash anyone else successfully setup a Spring based service that features
> an auto-proxied bean in it, without having to throw all the jars into
> the axis2/WEB-INF/lib folder?
>
> My other option is to get Spring to load the auto-proxied bean in the
> init() method of my service skeleton.
>
> cheers,
> Ants.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Spring inside AAR - autoproxied transaction manager
Posted by Anthony Bull <an...@bcsoft.co.nz>.
Hi, having done a couple of services successfully with Spring inside the
.aar, I was surprised today when I tried to get my web-service to deploy
that features a Spring loaded web-service that has an auto-proxied
transaction manager around one of its beans.
I could not get this to run without having the spring.jar library under
axis-2/WEB-INF/lib - it gives the following error, if the spring related
classes (spring.jar, axis2-spring.jar) are only in my AAR files lib folder.
interface org.springframework.aop.framework.Advised is not visible from
class loader
I've set my Spring based service up as per the docs on the Axis2 site,
and have several other services running with Spring inside the AAR fine.
I've also tried the exploded web service trick to no avail.
Hash anyone else successfully setup a Spring based service that features
an auto-proxied bean in it, without having to throw all the jars into
the axis2/WEB-INF/lib folder?
My other option is to get Spring to load the auto-proxied bean in the
init() method of my service skeleton.
cheers,
Ants.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2]Maven2 plugins for WSDL2Code Generation
Posted by Suran Jayathilaka <su...@wso2.com>.
David Wilkinson wrote:
> Hi
>
> I am starting a new project and have started to put a POM file together for
> an axis web service, and I'm looking for a plugin to generate my code. I
> have spotted the one under the tools section of the web site but when I
> tryed to down load the plugin from the site all the links are broken and
> there are no maven 2 repositories that have version 1.3. The only version I
> have found so far is version 1.1 which also seams to suffer from dependency
> issues.
>
> Has anyone got this working or is there any other maven 2 plugin about that
> I can use. Any help would be grateful
>
> Regards
>
> DRAW
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
Greetings!
You can get the maven2 wsdl2java plugin in this way, until the download
links are fixed.
Checkout the axis2 source from the links at
http://ws.apache.org/axis2/svn.html
Go to the <axis2>/modules/tool/axis2-wsdl2code-maven-plugin folder.
And build the plugin using "mvn clean install".
Cheers!
Suran
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: [Axis2]Maven2 plugins for WSDL2Code Generation
Posted by David Wilkinson <dr...@iquo.co.uk>.
Hi Upul
Thanks for that IO will give it a go and see where i get
Regards
David
-----Original Message-----
From: Upul Godage [mailto:upulg.dev@gmail.com]
Sent: 08 November 2007 03:16
To: axis-user@ws.apache.org
Subject: Re: [Axis2]Maven2 plugins for WSDL2Code Generation
This pom.xml worked for me.
mvn console printed,
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/
1.3/axis2-wsdl2code-maven-plugin-1.3.pom
3K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/
1.3/axis2-wsdl2code-maven-plugin-1.3.jar
11K downloaded
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.test</groupId>
<artifactId>hello</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>hello</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<packageName>com.test.service</packageName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Upul
On Nov 7, 2007 7:02 PM, David Wilkinson <dr...@iquo.co.uk> wrote:
> Hi
>
> I am starting a new project and have started to put a POM file together
for
> an axis web service, and I'm looking for a plugin to generate my code. I
> have spotted the one under the tools section of the web site but when I
> tryed to down load the plugin from the site all the links are broken and
> there are no maven 2 repositories that have version 1.3. The only version
I
> have found so far is version 1.1 which also seams to suffer from
dependency
> issues.
>
> Has anyone got this working or is there any other maven 2 plugin about
that
> I can use. Any help would be grateful
>
> Regards
>
> DRAW
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
__________ NOD32 2644 (20071107) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2]Maven2 plugins for WSDL2Code Generation
Posted by Upul Godage <up...@gmail.com>.
This pom.xml worked for me.
mvn console printed,
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/1.3/axis2-wsdl2code-maven-plugin-1.3.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/1.3/axis2-wsdl2code-maven-plugin-1.3.jar
11K downloaded
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.test</groupId>
<artifactId>hello</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>hello</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<packageName>com.test.service</packageName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Upul
On Nov 7, 2007 7:02 PM, David Wilkinson <dr...@iquo.co.uk> wrote:
> Hi
>
> I am starting a new project and have started to put a POM file together for
> an axis web service, and I'm looking for a plugin to generate my code. I
> have spotted the one under the tools section of the web site but when I
> tryed to down load the plugin from the site all the links are broken and
> there are no maven 2 repositories that have version 1.3. The only version I
> have found so far is version 1.1 which also seams to suffer from dependency
> issues.
>
> Has anyone got this working or is there any other maven 2 plugin about that
> I can use. Any help would be grateful
>
> Regards
>
> DRAW
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org