Hi Irum, You need to install Metro on your glassfish first. Here is the instruction on it: https://metro.dev.java.net/2.0-ea/docs/install.html.
Moreover, you need to use the Metro nightly build version rather than the 2.0-ea. On Thu, Oct 29, 2009 at 1:14 PM, Pablo Cibraro <[email protected]>wrote: > Hi Irum, > > I am not a java guy :), but what I did to overcome that issue is the > following: > > The folder where you install metro contains an ant script > metroonglassfish.xml. If you run that script, it automatically deploys the > jar files in the necessary folders, so you will run into that issue anymore. > > Regards, > Pablo. > > -----Original Message----- > From: Irum Rauf IT [mailto:[email protected]] > Sent: Thursday, October 29, 2009 10:00 AM > To: [email protected] > Subject: Installation problems > > I am trying to install *Metro StockTrader* example. I am facing the > following problem. > > C:\Projects\Stocktrader>\ant\bin\ant deploy > BUILD FAILED > c:\Projects\Stocktrader\build.xml:48: You are running on JDK6 which > comes with JAX-WS 2.1 API, but this tool requires JAX-WS 2.2 API. > Use the endorsed standards override mechanism > (http://java.sun.com/javase/6/docs/technotes/guides/standards/) or set > xendorsed="true" on <wsimport>. > > Tried putting the JAX-WS 2.2 jars in <java-home>\lib\endorsed - didn't > help. > > > Irum > > > Regards, -- Ming Jin Consultant Thoughtworks, Inc Twitter: https://twitter.com/mingjin
