[ http://issues.apache.org/jira/browse/TUSCANY-331?page=all ]
Venkatakrishnan updated TUSCANY-331:
------------------------------------
Attachment: Java2WSDL - Tuscany Patch 11-May.txt
SCA-Tools-Maven-Plugins.zip
java2wsdl-mojo-pom-fragment.xml
1) The patch file is to apply a fix into the Tuscany Java2wsdl tooling.
2) The contents of the zipfile must be extracted into
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/
- This zipfile contains the maven plugins for wsdl2java and java2wsdl tooling.
The project name is 'plugins' and hence the existing project named 'plugin' can
continue to exist.
- Within this 'plugins' project there are two modules 'plugin.java2wsdl' and
'plugin.wsdl2java'. Basically I have followed the naming conventions as it
exists in the case of the other modules i.e. 'bindings' and 'containers' within
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca
- The artifact ids for the wsdl2java and java2wsdl plugins also follow the same
pattern as the modules withing 'containers' and 'bindings'.
I could not figure out a way of putting all of this i.e. all of what is there
in the zip file in another patch file. From within eclipse, where I create all
the patches I could not find an option to create a patch to add these two
project. Hence I have resorted to attach the zip file. Please let me know how
this can be otherwise done.
3) Here is a sample fragment that could go into a pom.xml in order to invoke
the java2wsdl plugin. I have attached a file that contains this fragment.
<plugin>
<groupId>org.apache.tuscany.sca.plugins</groupId>
<artifactId>tuscany-plugin-java2wsdl</artifactId>
<executions>
<execution>
<configuration>
<sourceClassName>org.soapinterop.DocTestPortType</sourceClassName>
<classpaths>
<String>${basedir}/target/classes</String>
<String>${settings.localRepository}/org/apache/tuscany/tuscany-sdo-impl/SNAPSHOT/tuscany-sdo-impl-SNAPSHOT.jar</String>
<String>${settings.localRepository}/commonj/sdo-api/SNAPSHOT/sdo-api-SNAPSHOT.jar</String>
<String>${settings.localRepository}/org/eclipse/emf/ecore/2.2.0-SNAPSHOT/ecore-2.2.0-SNAPSHOT.jar</String>
<String>${settings.localRepository}/org/eclipse/emf/common/2.2.0-SNAPSHOT/common-2.2.0-SNAPSHOT.jar</String>
<String>${settings.localRepository}/org/eclipse/emf/ecore-change/2.2.0-SNAPSHOT/ecore-change-2.2.0-SNAPSHOT.jar</String>
</classpaths>
</configuration>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
4) I have been able to successfully build the following in offline mode since
there has been no additional dependencies from the baseline that I picked up
from the SVN: -
- http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/tools
(to ensure the fixes to java2wsdl tool are ok)
-http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/plugins
(to ensure that the plugins project builds ok)
5) To test the wsdl2java plugin from this new 'plugins' project, I made some
changes to the webservices interop test case project i.e.
http://svn.apache.org/repos/asf/incubator/tuscany/java/testing/interop/clients/webserviceInteropDoc/pom.xml
to use the new artifact id for the wsdl2java plug in. I was able to build
this project successuffly (with all tests running successfully).
> No maven plugin for Java2WSDL
> -----------------------------
>
> Key: TUSCANY-331
> URL: http://issues.apache.org/jira/browse/TUSCANY-331
> Project: Tuscany
> Type: New Feature
> Components: Java SCA Tools
> Versions: Java-M1-tentative
> Reporter: Rick Rineholt
> Assignee: Jean-Sebastien Delfino
> Fix For: Java-M1-tentative
> Attachments: Java2WSDL - Tuscany Patch 11-May.txt,
> SCA-Tools-Maven-Plugins.zip, java2wsdl-mojo-pom-fragment.xml
>
> There is no maven plugin for Java2WSDL as there is for SDO gen. and SCA gen.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira