notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1591 - in development/laboratory/spells/axis: . src src/main src/main/net src/main/net/dpml src/main/net/dpml/magic src/main/net/dpml/magic/axis
- From: mraad23 AT earthlink.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1591 - in development/laboratory/spells/axis: . src src/main src/main/net src/main/net/dpml src/main/net/dpml/magic src/main/net/dpml/magic/axis
- Date: Thu, 27 Jan 2005 12:29:25 +0100
Author: mraad23 AT earthlink.net
Date: Thu Jan 27 12:29:25 2005
New Revision: 1591
Added:
development/laboratory/spells/axis/
development/laboratory/spells/axis/README.TXT
development/laboratory/spells/axis/build.xml
development/laboratory/spells/axis/index.xml
development/laboratory/spells/axis/src/
development/laboratory/spells/axis/src/main/
development/laboratory/spells/axis/src/main/net/
development/laboratory/spells/axis/src/main/net/dpml/
development/laboratory/spells/axis/src/main/net/dpml/magic/
development/laboratory/spells/axis/src/main/net/dpml/magic/axis/
development/laboratory/spells/axis/src/main/net/dpml/magic/axis/antlib.xml
Log:
Apache AXIS magic plugin
---------------------------------
This plugin is for the intergration of java2wsdl and wsdl2java tasks in a
magic build.xml.
Added: development/laboratory/spells/axis/README.TXT
==============================================================================
--- (empty file)
+++ development/laboratory/spells/axis/README.TXT Thu Jan 27 12:29:25
2005
@@ -0,0 +1,69 @@
+Apache AXIS magic plugin
+---------------------------------
+
+This plugin is for the intergration of java2wsdl and wsdl2java tasks in a
+magic build.xml.
+
+Prerequisites:
+ wsdl4j from
http://www-124.ibm.com/developerworks/projects/wsdl4j/
+ commons-logging from http://jakarta.apache.org/commons/logging/
+ commons-discovery from http://jakarta.apache.org/commons/discovery/
+ log4j from http://jakarta.apache.org/log4j
+ activation from
http://java.sun.com/products/javabeans/glasgow/jaf.html
+ mailapi from http://java.sun.com/products/javamail/
+
+The activation and mailapi might have to be placed in your local repository.
+Refer to http://www.dpml.net/products/transit/technical/hosts/index.html
+
+The following is a code snippet of a build.xml file invoking the wsdl2java
task:
+
+ <!-- Invoke wsdl2java before the standard build -->
+ <target name="build" depends="wsdl2java,standard.build">
+ </target>
+
+ <!-- The wsdl2java task -->
+ <target name="wsdl2java">
+
+ <!-- Tell magic where to get the plugin from -->
+ <magic:plugin
uri="artifact:plugin:dpml/lab/spells/axis/axis-plugin#SNAPSHOT"/>
+
+ <!-- DON'T forget to include a xmlns attribute -->
+ <wsdl2java
+ xmlns="plugin:net/dpml/magic/axis"
+ output="src/main"
+ testcase="false"
+ verbose="true"
+ url="https://foobar.company.com/services/service.wsdl">
+ <mapping
+ namespace="http://foobar.company.com"
+ package="com.company.foobar.service"/>
+ </wsdl2java>
+
+ </target>
+
+Please refere to http://ws.apache.org/axis/java/ant/axis-wsdl2java.html for
+additional information.
+
+The following is a code snippet of a build.xml file invoking the java2wsdl
task:
+
+ <target name="build" depends="standard.build,java2wsdl">
+ </target>
+
+ <target name="java2wsdl">
+
+ <magic:plugin
uri="artifact:plugin:dpml/lab/spells/axis/axis-plugin#SNAPSHOT"/>
+
+ <java2wsdl
+ xmlns="plugin:net/dpml/magic/axis"
+ classname="com.company.service.MyService"
+ namespace="http://service.company.com"
+ location="src/main"
+ output="myservice.wsdl"
+ style="RPC">
+ <classpath location="target/classes"/>
+ </java2wsdl>
+
+ </target>
+
+Please refere to http://ws.apache.org/axis/java/ant/axis-java2wsdl.html for
+additional information.
Added: development/laboratory/spells/axis/build.xml
==============================================================================
--- (empty file)
+++ development/laboratory/spells/axis/build.xml Thu Jan 27 12:29:25
2005
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project
+ name="axis-plugin"
+ default="install"
+ basedir="."
+ xmlns:magic="antlib:net.dpml.magic"
+ xmlns:x="plugin:dpml/magic/dpml-magic-core">
+
+ <magic:import uri="artifact:template:dpml/magic/standard"/>
+
+ <target name="init" depends="standard.init">
+ <x:filter feature="plugin" token="PLUGIN-URI"/>
+ </target>
+
+ <target name="package" depends="standard.package">
+ <x:export>
+ <antlib
+ resource="net/dpml/magic/axis/antlib.xml"
+ urn="plugin:net/dpml/magic/axis">
+ </antlib>
+ </x:export>
+ </target>
+
+</project>
\ No newline at end of file
Added: development/laboratory/spells/axis/index.xml
==============================================================================
--- (empty file)
+++ development/laboratory/spells/axis/index.xml Thu Jan 27 12:29:25
2005
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<index>
+
+ <import uri="artifact:module:dpml/magic/dpml-magic#SNAPSHOT"/>
+ <import uri="artifact:module:dpml/metro/dpml-metro#SNAPSHOT"/>
+
+ <resource>
+ <info>
+ <group>ant</group>
+ <name>ant-junit</name>
+ <version>1.6.2</version>
+ <type>jar</type>
+ </info>
+ <dependencies>
+ <include key="junit"/>
+ </dependencies>
+ </resource>
+
+ <resource>
+ <info>
+ <name>axis</name>
+ <group>axis</group>
+ <version>1.2-RC2</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>axis-ant</name>
+ <group>axis</group>
+ <version>1.2-RC2</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>axis-jaxrpc</name>
+ <group>axis</group>
+ <version>1.2-RC2</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>axis-saaj</name>
+ <group>axis</group>
+ <version>1.2-RC2</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>axis-wsdl4j</name>
+ <group>axis</group>
+ <version>1.2-RC2</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-logging</name>
+ <group>commons-logging</group>
+ <version>1.0.4</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-discovery</name>
+ <group>commons-discovery</group>
+ <version>20040218.194635</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>junit</name>
+ <group>junit</group>
+ <version>3.8.1</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>activation</name>
+ <group>jaf</group>
+ <version>1.0.2</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>mail</name>
+ <group>javamail</group>
+ <version>1.3.2</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <project basedir=".">
+ <info>
+ <name>axis-plugin</name>
+ <group>dpml/lab/spells/axis</group>
+ <version>SNAPSHOT</version>
+ </info>
+ <dependencies>
+ <include key="ant"/>
+ <include key="dpml-magic-core"/>
+ <include key="axis"/>
+ <include key="axis-ant"/>
+ <include key="axis-jaxrpc"/>
+ <include key="axis-saaj"/>
+ <include key="axis-wsdl4j"/>
+ <include key="commons-logging"/>
+ <include key="commons-discovery"/>
+ <include key="mail"/>
+ <include key="activation"/>
+ </dependencies>
+ </project>
+
+</index>
Added:
development/laboratory/spells/axis/src/main/net/dpml/magic/axis/antlib.xml
==============================================================================
--- (empty file)
+++
development/laboratory/spells/axis/src/main/net/dpml/magic/axis/antlib.xml
Thu Jan 27 12:29:25 2005
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<antlib>
+ <taskdef name="wsdl2java"
classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"/>
+ <taskdef name="java2wsdl"
classname="org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask"/>
+</antlib>
- svn commit: r1591 - in development/laboratory/spells/axis: . src src/main src/main/net src/main/net/dpml src/main/net/dpml/magic src/main/net/dpml/magic/axis, mraad23, 01/27/2005
Archive powered by MHonArc 2.6.24.