dev@jax-ws.java.net

Re: Compression

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Tue, 24 Oct 2006 09:48:03 -0700

LeRoy Hall wrote:
> Paul,
>
> I finally got around to downloading the source today. I downloaded
> JAXWS 2.1 EA2 and created a project, however I'm getting the
> error "The type com.sun.mirror.type.TypeMirror cannot be resolved. It
> is indirectly referenced..." from within the class
> MakeSafeTypeVisitor. Is the project missing a jar?
You need to put jdk's tools.jar in the classpath. If you are using IDEA
then you may like to create a global library APT and reference
tools.jar. com.sun.mirror.type.TypeMirror is in tools.jar and can be
found at: $JAVA_HOME/lib/tools.jar.

thanks,

-vivek.

>
>
> */Paul Sandoz <Paul.Sandoz_at_Sun.COM>/* wrote:
>
> LeRoy Hall wrote:
> > Paul,
> >
> > earlier you had said that I could look at the jax-ws source and
> hack
> > compression into it. I would like to take a shot at that. A
> couple of
> > questions:
> >
> > 1) How can I get a copy of the source?
> >
>
> See [1, 2]
>
> You need to use CVS to check out the 'mr-21' branch [3], which is the
> latest source code for JAX-WS 2.1.
>
>
> > 2) Is there a preferred development environment, or can I use
> eclipse?
> >
>
> There are project files for NetBeans and IntelliJ but you can use
> what
> ever IDE you like as building the source does not depend on any IDE,
> just ant.
>
>
> > 3) Will there be instructions on how to setup and build the project?
> >
>
> Yes, see here [2].
>
> If you have ant installed you should just be able to type 'ant dist'
> from the command line.
>
> Paul.
>
> [1] https://jax-ws.dev.java.net/
> [2] https://jax-ws-sources.dev.java.net/
> [3] http://fisheye5.cenqua.com/browse/~br=mr-21/jax-ws-sources
>
> > Thanks in advance.
> >
> >
> >
> > */Paul Sandoz /* wrote:
> >
> > LeRoy Hall wrote:
> > > Thank you all for your quick responses.
> > >
> > > Paul, yes, I would like to log an issue requesting this feature.
> > > However, I would like to request that it not only support
> GZIP, but
> > > other known compression formats as well.
> > >
> >
> > If you could state such compression formats in the Issue that
> would be
> > useful.
> >
> >
> > > Is there anything I need to do to log this issue?
> >
> > You need a java.net account, be logged in and then goto here [1] and
> > enter a feature.
> >
> >
> > > After it is logged, how can I track it?
> > >
> >
> > You should get notified of any changes by email.
> >
> >
> > > Thanks again! Much appreciated.
> > >
> >
> > No problem.
> >
> > Gratuitous plug: if you like, and have the time, you can look at the
> > JAX-WS source code, play around with it, hack compression into
> it, and
> > submit a patch for such a compression feature :-)
> >
> > Paul.
> >
> > [1] https://jax-ws.dev.java.net/servlets/ProjectIssues
> >
> > > LeRoy.
> > >
> > > */Paul Sandoz /* wrote:
> > >
> > > LeRoy Hall wrote:
> > > > Eduardo,
> > > >
> > > > I'm not using any application server that I'm aware of. I'm only
> > > using
> > > > JAX-WS and would like to somehow utilize HTTP compression.
> Do you
> > > know
> > > > of any way to do this?
> > > >
> > >
> > > LeRoy, I should have read your email more carefully, as you say
> > > 'client'
> > > not 'service' in your original email, sorry!
> > >
> > > At the moment JAX-WS 2.x RI clients do not support the
> compression of
> > > outbound messages or the decompression of inbound messages using
> > > GZIP :-(
> > >
> > > Would you like to log an Issue requesting this feature?
> > >
> > > Paul.
> > >
> > > > */Eduardo Pelegri-Llopart /* wrote:
> > > >
> > > > Hi LeRoy. Could you report back on whether HTTP compression (in
> > > GF V2)
> > > > is working for you? If it does not, we would like to know why.
> > > >
> > > > Thanks,
> > > > - eduard/o
> > > >
> > > > LeRoy Hall wrote:
> > > > > The vendor is requesting that we compress all of our traffic
> > > > using the
> > > > > gzip compression format. They apparently have a very high
> > volume of
> > > > > traffic and request that all messages be compressed to
> reduce the
> > > > amount
> > > > > of bandwidth needed on their end.
> > > > >
> > > > > Thanks for the info on FI. I'm not sure if I can use
> > this...really
> > > > > depends on whether or not our vendor supports it.
> > > > >
> > > > > Thanks.
> > > > >
> > > > > */Sameer Tyagi /* wrote:
> > > > >
> > > > > Can you elaborate a bit on what you want to do ?
> > > > >
> > > > > JAX-WS has a built in implementation for the FI standard,
> you can
> > > > > switch it on using
> > > > > a system property. Perhaps that will work for you ?
> > > > >
> > > > > See
> > > > >
> http://java.sun.com/developer/technicalArticles/xml/fastinfoset/
> > > > >
> > > >
> > >
> >
> http://java.sun.com/developer/technicalArticles/WebServices/soa2/fastinfoset-soa.html
> > > > > https://fi.dev.java.net/
> > > > >
> > > >
> > >
> >
> http://blogs.sun.com/roller/page/sandoz?entry=how_to_enable_fast_infoset
> > > > >
> > > > >
> > > > > /s
> > > > >
> > > > >
> > > > >
> > > > > LeRoy Hall wrote:
> > > > >
> > > > >> I'm new to JAX-WS and am working on developing a client to
> > consume
> > > > >> a vendor's WSDL. This vendor is requiring that we
> compress our
> > > > >> messages, however I can't seem to find any information
> about how
> > > > >> to get JAX-WS to compress the message before sending it. Does
> > > > >> anyone have any information about this?
> > > > >>
> > > > >> Thanks much.
> > > > >>
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > > >> All-new Yahoo! Mail
> > > > >> -
> > > > >> Fire up a more powerful email and get things done faster.
> > > > >
> > > > >
> > > > > --
> > > >
> > >
> >
> ------------------------------------------------------------------------------
> > > > Accessline: 1-877-325-9504 Internal: x51601 Timezone : EDT -
> > Eastern
> > > > Standard Time, GMT -5:00 AIM : sameersjc Blog :
> > blogs.sun.com/sameert
> > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> dev-unsubscribe_at_jax-ws.dev.java.net For
> > > > > additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > > > Do you Yahoo!?
> > > > > Get on board. You're invited
> > > > >
> > > > > to try the new Yahoo! Mail.
> > > >
> > > >
> >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> > > > For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
> > > >
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > > All-new Yahoo! Mail
> > > > -
> > > > Fire up a more powerful email and get things done faster.
> > >
> > > --
> > > | ? + ? = To question
> > > ----------------\
> > > Paul Sandoz
> > > x38109
> > > +33-4-76188109
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> > > For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > > Do you Yahoo!?
> > > Everyone is raving about the all-new Yahoo! Mail.
> > >
> > >
> >
> > --
> > | ? + ? = To question
> > ----------------\
> > Paul Sandoz
> > x38109
> > +33-4-76188109
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> > For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
> >
> >
> >
> ------------------------------------------------------------------------
> > Do you Yahoo!?
> > Everyone is raving about the all-new Yahoo! Mail.
> >
> >
>
> --
> | ? + ? = To question
> ----------------\
> Paul Sandoz
> x38109
> +33-4-76188109
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>
>
> ------------------------------------------------------------------------
> Get your own web address for just $1.99/1st yr
> <%20http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains>.
> We'll help. Yahoo! Small Business
> <http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/>.