Hi Jitendra,
Thanks for the reply. I may be wrong but the article did not answer the question regarding the client jars. It dealt with the compilation but not the deployment of JAX-WS 2.1.
I will repeat my build using 2.1 and see if the endorsed fix failed like it did before.
So my remaing question is regarding client deployment in a JDK 1.6 environment since JDK 1.6 uses JAX-WS 2.0. Do we need the 2.1 jars for the client side.
Regards,
-Tony Anecito
CEO MyUniPortal.
Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM> wrote:
Tony Anecito wrote:
> Hi All,
>
> I went back and downloaded 2.0.1 from the web site and the problem
> went away. Guess you can not use 2.1 with JDK 1.6 when creating a web
> service at this point in time for me at least. Would like to know the
> answer to:
>
> 1. Using 2.1 in an build environment where JDK 1.6 is present is it
> possible?
> 2. Do you need JAXWS on the client if you use 2.1 to build the web
> service client jars?
The following blog talks about JDK1.6+JAXWS 2.1
http://weblogs.java.net/blog/vivekp/archive/2006/12/webservices_in.html
Jitu
>
> Regards,
> -Tony
>
> */Tony Anecito /* wrote:
>
> Hi All.
>
> I ran into an itneresting issue with using the latest jaxws from
> nightly builds. When I go to compile to create a jar for my client
> app I get the error about having 2.0 instead of 2.1 in the class
> loaded and to use endorsed director to override 1.6 JDK libraries.
> Now I tried that and got error messages about not having apt and
> then ant class files. I tried working around thos issues and go
> exception about ExceptionInIntializationError.
> Never had these problems with JAXWS 2.0.
> Since this showed up because I compiled my war for 2.1 which
> always compiled okay but been awhile since I needed to compile my
> client jar and I got message about the client jar needing JAXWS
> 2.1 since the war was created using it and thier now some
> dependancies because of it.
>
> Question is if I finally get the client jar to compile will I need
> to distribute the 2.1 jars to the client? I am using the released
> JDK 1.6 and am trying to avoid using JAXWS 2.1 on the client side.
>
> Since I am on a deadline and do not want to run into compatability
> issues I think I will go back to JAXWS 2.0.
>
> Regards,
> -Tony
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
---------------------------------------------------------------------
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!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com