users@jax-ws.java.net

Re: for questions of fromwsdl example of JAX-WS 2.0

From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
Date: Mon, 15 May 2006 10:34:11 -0700

yuyin Song wrote:

>Hi Jitu,
>
>Thanks.
>I used JDK1.6, Tomcat 5.5.x and JAX-WS2.0.
>The jar files related to JAX-WS are in the follwoing
>folder:
>C:\SensorWebServices\Tomcat 5.5\shared\lib
>What is the problems?
>Thanks a lot
>Regards,
>
>Yuyin
>
>
Try with JDK 1.5. If you use JDK 1.6 use the latest version(b83). Since
JDK 1.6 contains all the JAXWS code(except servlet side), you may
require to use endorsed mechanism to override the JAXWS implementation
in JDK 1.6.

Jitu

>--- Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
>wrote:
>
>
>
>>What's your JDK ? Are you using JDK 1.5 or not ?
>>
>>Also do you see the jars in tomcat's shared/lib dir
>>?
>>
>>Jitu
>>
>>yuyin Song wrote:
>>
>>
>>
>>>Dear All,
>>>
>>>I tried to run fromwsdl example of JAX-WS 2.0 on
>>>Tomcat 5.5. I used follwoing commands to do both
>>>client and servver sides.
>>>
>>>Client side:
>>>ant clean client -Dtomcat=true
>>>
>>>The error information of server side is as follows:
>>>build-server-wsdl:
>>>
>>>
>>C:\SensorWebServices\jaxws-ri\samples\fromwsdl\build.xml:139:
>>
>>
>>>the following error ocuured while executing this
>>>
>>>
>>line:
>>
>>java.lang.NoSuchMethodError:com.sun.xml.stream.XMLEntityStorage.<init>
>>
>>
>>><Lcom/sun/xml/stream/XMLEntityManager:>V
>>>
>>>server side:
>>>
>>>For service side:
>>>ant clean server -Dtomcat=true
>>>
>>>The error information of server side is as follows:
>>>build-server-wsdl:
>>>
>>>
>>C:\SensorWebServices\jaxws-ri\samples\fromwsdl\build.xml:139:
>>
>>
>>>the following error ocuured while executing this
>>>
>>>
>>line:
>>
>>java.lang.NoSuchMethodError:com.sun.xml.stream.XMLEntityStorage.<init>
>>
>>
>>><Lcom/sun/xml/stream/XMLEntityManager:>V
>>>
>>>
>>>The error information of client and server side are
>>>the same. it looks like XML library problem. How
>>>
>>>
>>to
>>
>>
>>>fix it ? Thank you so much.
>>>
>>>Best Regards,
>>>
>>>Yuyin Song
>>>
>>>
>>>
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Tired of spam? Yahoo! Mail has the best spam
>>>
>>>
>>protection around
>>
>>
>>>http://mail.yahoo.com
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>
>>
>>>To unsubscribe, e-mail:
>>>
>>>
>>users-unsubscribe_at_jax-ws.dev.java.net
>>
>>
>>>For additional commands, e-mail:
>>>
>>>
>>users-help_at_jax-ws.dev.java.net
>>
>>
>>>
>>>
>>>
>>>
>>
>>
>---------------------------------------------------------------------
>
>
>>To unsubscribe, e-mail:
>>users-unsubscribe_at_jax-ws.dev.java.net
>>For additional commands, e-mail:
>>users-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
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
>For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>
>