Wednesday May 23, 2007
![]() |
Web Services Interoperability Technology (WSIT, aka Project Tango), integrated in GlassFish V2 builds, provides a implementation of key enterprise Web services specifications and enables first-class interoperability with .NET 3.0 framework. However if you download stand-alone WSIT builds, then you can also install similar bits on Tomcat 5.5.17. In this entry, I provide a script that allows you to install the same bits on Jetty 6.1.0. |
java -jar wsit-1_0-fcs-bin-b14-09_apr_2007.jarjax-ws-latest-wsit' directory and
name it as 'wsit-on-jetty.xml':<?xml version="1.0"?>
<project name="WSIT 1.0 Beta On Jetty" default="help" basedir=".">
<property environment="env"/>
<property name="jetty.home" value="${env.JETTY_HOME}"/>
<property name="jetty.lib.home" value="${jetty.home}/lib"/>
<property name="java.home" value="${env.JAVA_HOME}"/>
<patternset id="wsit-jars">
<include name="webservices-rt.jar"/>
<include name="webservices-tools.jar"/>
<include name="webservices-extra.jar"/>
<include name="webservices-extra-api.jar"/>
<include name="webservices-api.jar"/>
</patternset>
<target name="install" description="Install latest WSIT jars on Jetty
6.1.x">
<echo message="Installing WSIT 1.0 Beta on ${jetty.home}
..."/>
<copy toDir="${jetty.lib.home}" overwrite="true">
<fileset dir="lib">
<patternset refid="wsit-jars"/>
</fileset>
</copy>
<echo message="... installation complete."/>
</target>
<target name="uninstall" description="Install latest WSIT jars on Jetty
6.1.x">
<delete>
<fileset dir="${jetty.lib.home}">
<patternset refid="wsit-jars"/>
</fileset>
</delete>
</target>
<target name="help">
<echo message="install :"/>
<echo message=" Installs WSIT 1.0 Beta on Jetty 6.1.x"/>
<echo/>
<echo message="uninstall: "/>
<echo message=" Uninstalls WSIT 1.0 Beta from Jetty 6.1.x"/>
<echo/>
<echo message="$JETTY_HOME must be set to the installation
directory of Jetty 6.1.x."/>
<echo/>
<echo message="Usage:"/>
<echo message=" ant -f wsit-on-jetty.xml {install,uninstall}"/>
</target>
</project>ant -f wsit-on-jetty.xml installJ2EE 1.4' as the 'Java
EE version' and make sure 'Set Source Level to 1.4' is
unchecked.dist' directory of your
application such '\Users\Arun
Gupta\WebApplication1\dist\WebApplication1.war' to 'JETTY_HOME/webapps'.java -jar start.jar etc/jetty.xmlbin' directory contains only 'jetty.sh'
(no .bat script) and the only way
documented to
run is using this command.http://localhost:8080/<context-root>/<service-name>?WSDL',
for example 'http://localhost:8080/WebApplication1/HelloService?WSDL'.
Note, Jetty does not seem to support hot deployment. So if you drop a WAR
file in 'webapps' directory then you need to re-start your
Jetty instance.

This is one trivial sample. If you try other interesting combinations and they don't work, please file an issue.
Technorati: wsit glassfish webservices jetty
Posted by Arun Gupta in webservices | Comments[5]
|
|
|
|
|
Today's Page Hits: 3502
Total # blog entries: 994
| « November 2009 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
1 | 2 | 4 | 6 | 7 | ||
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | |||||
| Today | ||||||
Posted by Fabian Ritzmann on May 24, 2007 at 12:52 AM PDT #
Posted by Arun on May 29, 2007 at 09:42 AM PDT #
Posted by Arun Gupta's Blog on June 19, 2007 at 11:37 AM PDT #
Posted by Arun Gupta's Blog on November 20, 2007 at 03:13 AM PST #
Create a Reliable WSIT endpoint by choosing 'J2EE 1.4' as the 'Java EE version' and make sure 'Set Source Level to 1.4' is unchecked.
Posted by LAPTOP BATTERY on November 27, 2008 at 05:05 PM PST #