<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-12168038.post8501704068155547961..comments</id><updated>2010-05-12T18:11:07.691+05:30</updated><title type='text'>Comments on Vinod Singh: JAX-WS web service and JBoss</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.vinodsingh.com/feeds/8501704068155547961/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default?start-index=26&amp;max-results=25'/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12168038.post-6352460720595661137</id><published>2010-05-12T18:11:07.685+05:30</published><updated>2010-05-12T18:11:07.685+05:30</updated><title type='text'>For classloading issues try using ClassLoadingMeta...</title><content type='html'>For classloading issues try using ClassLoadingMetaData:&lt;br /&gt;http://java.dzone.com/articles/jboss-microcontainer-classloading?mz=3006-jboss</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/6352460720595661137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/6352460720595661137'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1273668067685#c6352460720595661137' title=''/><author><name>Tuno</name><uri>http://www.blogger.com/profile/04764699140990066735</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-46849133913447782</id><published>2010-05-05T11:15:57.605+05:30</published><updated>2010-05-05T11:15:57.605+05:30</updated><title type='text'>Thanks for the post. Got my WS client working on J...</title><content type='html'>Thanks for the post. Got my WS client working on JBAS 4.2.3 with this!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/46849133913447782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/46849133913447782'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1273038357605#c46849133913447782' title=''/><author><name>Samuli</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-3192385148561669413</id><published>2010-03-23T00:33:27.949+05:30</published><updated>2010-03-23T00:33:27.949+05:30</updated><title type='text'>Thanks Vinod. That helped. I am able to package se...</title><content type='html'>Thanks Vinod. That helped. I am able to package services in jar and reference them in my web archive.&lt;br /&gt;&lt;br /&gt;Thanks..</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/3192385148561669413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/3192385148561669413'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1269284607949#c3192385148561669413' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-379785910376686766</id><published>2010-03-19T17:34:18.112+05:30</published><updated>2010-03-19T17:34:18.112+05:30</updated><title type='text'>Thanks very much. I've been looking for the soluti...</title><content type='html'>Thanks very much. I&amp;#39;ve been looking for the solution for a while and it finally worked!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/379785910376686766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/379785910376686766'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1269000258112#c379785910376686766' title=''/><author><name>Laura</name><uri>http://www.blogger.com/profile/08771961212135723188</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2150237303398717550</id><published>2010-03-17T09:12:26.758+05:30</published><updated>2010-03-17T09:12:26.758+05:30</updated><title type='text'>Service classes can be packaged in a jar under WEB...</title><content type='html'>Service classes can be packaged in a jar under WEB-INF/lib or put them inside WEB-INF/classes directory. sun-jaxws.xml should go under WEB-INF and WSDL will be generated at runtime. For accessing web service from other applications you need to generate web service client using &amp;#39;wsimport&amp;#39; goal of &amp;#39;jaxws-maven-plugin&amp;#39; plugin.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2150237303398717550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2150237303398717550'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1268797346758#c2150237303398717550' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-587669693903412395</id><published>2010-03-17T01:42:11.713+05:30</published><updated>2010-03-17T01:42:11.713+05:30</updated><title type='text'>Thanks Vinod. Sweet. That really helped.

If I wer...</title><content type='html'>Thanks Vinod. Sweet. That really helped.&lt;br /&gt;&lt;br /&gt;If I were to package these service classes and resources under jar file....&lt;br /&gt;Where should the resources like wsdl files and sun-jaxws should be placed. Should they go under META-INF folder?&lt;br /&gt;And, Since jar file does not have a context, how will I be able to reference the wsdl from my clients or web apps.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/587669693903412395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/587669693903412395'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1268770331713#c587669693903412395' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-3035262837228293058</id><published>2010-03-16T21:26:07.492+05:30</published><updated>2010-03-16T21:26:07.492+05:30</updated><title type='text'>This seems to be class collision issue. Some jars ...</title><content type='html'>This seems to be class collision issue. Some jars available in your application&amp;#39;s WEB-INF/lib diretory may be present in JBoss&amp;#39; classpath as well, which is not the case with Tomcat. Try to findout such jars and remove them from your application.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/3035262837228293058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/3035262837228293058'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1268754967492#c3035262837228293058' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-4948189980586055599</id><published>2010-03-16T05:37:23.472+05:30</published><updated>2010-03-16T05:37:23.472+05:30</updated><title type='text'>Hi Vinod,

Your blog is a good start for me. Howev...</title><content type='html'>Hi Vinod,&lt;br /&gt;&lt;br /&gt;Your blog is a good start for me. However, I get some kind of &lt;br /&gt;I tired to run the sample application on Jboss 5.1.0.GA, JDK 6.&lt;br /&gt;&lt;br /&gt;Here is the log when it deploys in the server.&lt;br /&gt;&lt;br /&gt;16:43:28,352 INFO  [http] WSSERVLET12: JAX-WS context listener initializing&lt;br /&gt;16:43:28,633 SEVERE [http] WSSERVLET11: failed to parse runtime descriptor: java.lang.LinkageError: loader constraint violation: when resolving field &amp;quot;DATETIME&amp;quot; the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of ) for the field&amp;#39;s resolved type, javax/xml/namespace/QName, have different Class objects for that type&lt;br /&gt;java.lang.LinkageError: loader constraint violation: when resolving field &amp;quot;DATETIME&amp;quot; the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of ) for the field&amp;#39;s resolved type, javax/xml/namespace/QName, have different Class objects for that type&lt;br /&gt; at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:224)&lt;br /&gt; at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:61)&lt;br /&gt;&lt;br /&gt;Here is my pom.xml&lt;br /&gt;      &amp;lt;plugins&amp;gt;&lt;br /&gt; &lt;br /&gt;      &amp;lt;plugin&amp;gt;&lt;br /&gt;        &amp;lt;artifactId&amp;gt;maven-compiler-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;        &amp;lt;configuration&amp;gt;&lt;br /&gt;          &amp;lt;source&amp;gt;1.6&amp;lt;/source&amp;gt;&lt;br /&gt;          &amp;lt;target&amp;gt;1.6&amp;lt;/target&amp;gt;&lt;br /&gt;        &amp;lt;/configuration&amp;gt;&lt;br /&gt;      &amp;lt;/plugin&amp;gt;&lt;br /&gt;  &amp;lt;plugin&amp;gt;&lt;br /&gt;   &amp;lt;groupId&amp;gt;org.codehaus.mojo&amp;lt;/groupId&amp;gt;&lt;br /&gt;   &amp;lt;artifactId&amp;gt;jaxws-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;   &amp;lt;executions&amp;gt;&lt;br /&gt;    &amp;lt;execution&amp;gt;&lt;br /&gt;     &amp;lt;goals&amp;gt;&lt;br /&gt;      &amp;lt;goal&amp;gt;wsgen&amp;lt;/goal&amp;gt;&lt;br /&gt;     &amp;lt;/goals&amp;gt;&lt;br /&gt;    &amp;lt;/execution&amp;gt;&lt;br /&gt;   &amp;lt;/executions&amp;gt;     &lt;br /&gt;   &amp;lt;configuration&amp;gt;&lt;br /&gt;    &amp;lt;sei&amp;gt;pkg.MyServiceImpl&amp;lt;/sei&amp;gt;&lt;br /&gt;    &amp;lt;resourceDestDir&amp;gt;${basedir}/WebRoot/WEB-INF&amp;lt;/resourceDestDir&amp;gt;&lt;br /&gt;    &amp;lt;genWsdl&amp;gt;true&amp;lt;/genWsdl&amp;gt;&lt;br /&gt;    &amp;lt;keep&amp;gt;true&amp;lt;/keep&amp;gt;&lt;br /&gt;    &amp;lt;verbose&amp;gt;true&amp;lt;/verbose&amp;gt; &lt;br /&gt;   &amp;lt;/configuration&amp;gt;&lt;br /&gt;          &amp;lt;dependencies&amp;gt;  &lt;br /&gt;              &amp;lt;dependency&amp;gt;  &lt;br /&gt;               &amp;lt;groupId&amp;gt;com.sun.xml.ws&amp;lt;/groupId&amp;gt;  &lt;br /&gt;                &amp;lt;artifactId&amp;gt;jaxws-rt&amp;lt;/artifactId&amp;gt;  &lt;br /&gt;                &amp;lt;version&amp;gt;2.2&amp;lt;/version&amp;gt;  &lt;br /&gt;                &amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;  &lt;br /&gt;              &amp;lt;/dependency&amp;gt;  &lt;br /&gt;          &amp;lt;/dependencies&amp;gt;     &lt;br /&gt;  &amp;lt;/plugin&amp;gt;  &lt;br /&gt;    &amp;lt;/plugins&amp;gt;&lt;br /&gt;  &amp;lt;/build&amp;gt;&lt;br /&gt;  &lt;br /&gt;  &amp;lt;dependencies&amp;gt;&lt;br /&gt;    &amp;lt;dependency&amp;gt; &lt;br /&gt;      &amp;lt;groupId&amp;gt;org.apache.openejb&amp;lt;/groupId&amp;gt;&lt;br /&gt;      &amp;lt;artifactId&amp;gt;javaee-api&amp;lt;/artifactId&amp;gt;&lt;br /&gt;      &amp;lt;version&amp;gt;5.0-1&amp;lt;/version&amp;gt;&lt;br /&gt;      &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;br /&gt;    &amp;lt;/dependency&amp;gt;&lt;br /&gt;    &amp;lt;dependency&amp;gt;&lt;br /&gt;      &amp;lt;groupId&amp;gt;javax.servlet&amp;lt;/groupId&amp;gt;&lt;br /&gt;      &amp;lt;artifactId&amp;gt;jstl&amp;lt;/artifactId&amp;gt;&lt;br /&gt;      &amp;lt;version&amp;gt;1.2&amp;lt;/version&amp;gt;&lt;br /&gt;      &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;br /&gt;    &amp;lt;/dependency&amp;gt;&lt;br /&gt;    &amp;lt;dependency&amp;gt;&lt;br /&gt;      &amp;lt;groupId&amp;gt;javax.servlet.jsp&amp;lt;/groupId&amp;gt;&lt;br /&gt;      &amp;lt;artifactId&amp;gt;jsp-api&amp;lt;/artifactId&amp;gt;&lt;br /&gt;      &amp;lt;version&amp;gt;2.1&amp;lt;/version&amp;gt;&lt;br /&gt;      &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;br /&gt;    &amp;lt;/dependency&amp;gt;&lt;br /&gt;    &amp;lt;dependency&amp;gt;&lt;br /&gt;     &amp;lt;groupId&amp;gt;com.sun.xml.ws&amp;lt;/groupId&amp;gt;&lt;br /&gt;     &amp;lt;artifactId&amp;gt;jaxws-rt&amp;lt;/artifactId&amp;gt;&lt;br /&gt;     &amp;lt;version&amp;gt;2.1.4&amp;lt;/version&amp;gt;&lt;br /&gt;    &amp;lt;/dependency&amp;gt;&lt;br /&gt;    &amp;lt;dependency&amp;gt;&lt;br /&gt;     &amp;lt;groupId&amp;gt;javax.xml.ws&amp;lt;/groupId&amp;gt;&lt;br /&gt;     &amp;lt;artifactId&amp;gt;jaxws-api&amp;lt;/artifactId&amp;gt;&lt;br /&gt;     &amp;lt;version&amp;gt;2.1-1&amp;lt;/version&amp;gt;&lt;br /&gt;    &amp;lt;/dependency&amp;gt;&lt;br /&gt;&lt;br /&gt;Am I missing something here on JBoss? I am able to deploy it under tomcat 6.0.18.&lt;br /&gt;&lt;br /&gt;Thanks....</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/4948189980586055599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/4948189980586055599'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1268698043472#c4948189980586055599' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2493817852614918078</id><published>2010-03-03T12:34:29.393+05:30</published><updated>2010-03-03T12:34:29.393+05:30</updated><title type='text'>thanks for quick reply. I found it.
One object con...</title><content type='html'>thanks for quick reply. I found it.&lt;br /&gt;One object contains list of itself.&lt;br /&gt;I tried to put their own annotation  (XmlElement) and its work.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2493817852614918078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2493817852614918078'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1267599869393#c2493817852614918078' title=''/><author><name>kara.cuma</name><uri>http://www.blogger.com/profile/08244541850903401289</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15040524108659600469'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-4460569823261970620</id><published>2010-03-03T10:27:50.187+05:30</published><updated>2010-03-03T10:27:50.187+05:30</updated><title type='text'>@kara.cuma

The error message org.xml.sax.SAXParse...</title><content type='html'>@kara.cuma&lt;br /&gt;&lt;br /&gt;The error message &lt;b&gt;org.xml.sax.SAXParseException: Anonymous types form an infinite cycle&lt;/b&gt; gives an impression that the WSDL has some incorrect relationship among various objects leading to cyclic dependency. A deeper look at the WSDL may reveal the exact cause of this error.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/4460569823261970620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/4460569823261970620'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1267592270187#c4460569823261970620' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2311969320557929786</id><published>2010-03-02T19:58:04.842+05:30</published><updated>2010-03-02T19:58:04.842+05:30</updated><title type='text'>hi,

I'm using jboss 5.1.0.GA and metro 2.0.
when ...</title><content type='html'>hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using jboss 5.1.0.GA and metro 2.0.&lt;br /&gt;when i was deploying my application(ear) which includes web service implementations,  i get error  &amp;quot;org.xml.sax.SAXParseException: Anonymous types form an infinite cycle&amp;quot;.&lt;br /&gt;&lt;br /&gt;when i was creating web service artifacts, &lt;br /&gt; (wsimport -XadditionalHeaders  -B-XautoNameResolution -keep -d . -p biz.x.x  myservice.wsdl -b _v4.xsd).&lt;br /&gt;&lt;br /&gt;what can i do?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Caused by: java.io.IOException: Failed to generate schema.&lt;br /&gt; at com.sun.xml.bind.v2.runtime.JAXBContextImpl.generateSchema(JAXBContextImpl.java:840)&lt;br /&gt; at org.jboss.ws.tools.wsdl.JAXBWSDLGenerator.processTypes(JAXBWSDLGenerator.java:74)&lt;br /&gt; ... 42 more&lt;br /&gt;Caused by: org.xml.sax.SAXParseException: Anonymous types form an infinite cycle: ClassInfo(class biz.xx.A) -&amp;gt; ClassInfo(class biz.xx.A)&lt;br /&gt; at com.sun.xml.bind.v2.schemagen.XmlSchemaGenerator$Namespace.writeTypeRef(XmlSchemaGenerator.java:769)&lt;br /&gt; at com.sun.xml.bind.v2.schemagen.XmlSchemaGenerator$Namespace.writeTypeRef(XmlSchemaGenerator.java:748)&lt;br /&gt; at com.sun.xml.bind.v2.schemagen.XmlSchemaGenerator$Namespace.access$1700(XmlSchemaGenerator.java:493)&lt;br /&gt; at com.sun.xml.bind.v2.schemagen.XmlSchemaGenerator$Namespace$2.write(XmlSchemaGenerator.java:1029)&lt;br /&gt; at com.sun.xml.bind.v2.schemagen.Tree$Optional.write(Tree.java:181)&lt;br /&gt; at com.sun.xml.bind.v2.schemagen.Tree$Repeated.write(Tree.java:207)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2311969320557929786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2311969320557929786'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1267540084842#c2311969320557929786' title=''/><author><name>kara.cuma</name><uri>http://www.blogger.com/profile/08244541850903401289</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15040524108659600469'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-3392506705404453895</id><published>2010-02-09T14:04:53.878+05:30</published><updated>2010-02-09T14:04:53.878+05:30</updated><title type='text'>java.lang.NoClassDefFoundError: javax/xml/ws/spi/S...</title><content type='html'>java.lang.NoClassDefFoundError: javax/xml/ws/spi/ServiceDelegate21&lt;br /&gt;&lt;br /&gt;I am getting above exception in Jboss application server. Calling JAX-WS client in servlet.&lt;br /&gt;&lt;br /&gt;can you help me</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/3392506705404453895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/3392506705404453895'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1265704493878#c3392506705404453895' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2252490772099616726</id><published>2010-02-08T21:07:21.442+05:30</published><updated>2010-02-08T21:07:21.442+05:30</updated><title type='text'>This seems to be a class path issue. See if you ca...</title><content type='html'>This seems to be a class path issue. See if you can provide some information about versions of Java, JBoss etc. and full stack trace.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2252490772099616726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2252490772099616726'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1265643441442#c2252490772099616726' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-304711671137462511</id><published>2010-02-08T17:30:20.161+05:30</published><updated>2010-02-08T17:30:20.161+05:30</updated><title type='text'>The above what were you said was good, after doing...</title><content type='html'>The above what were you said was good, after doing all the configuration, I facing the problem &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;java.lang.NoClassDefFoundError: org/jboss/logging/Logger&lt;br /&gt;&lt;br /&gt;plz do needfull.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/304711671137462511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/304711671137462511'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1265630420161#c304711671137462511' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-199724976232487004</id><published>2009-11-07T18:52:39.813+05:30</published><updated>2009-11-07T18:52:39.813+05:30</updated><title type='text'>Hello, I'm adding to my previous post.
First of al...</title><content type='html'>Hello, I&amp;#39;m adding to my previous post.&lt;br /&gt;First of all Serializer.jar, Xalan.jar and xercesImpl.jar have always been in the endorsed directory. To run JBoss on java 6 you have to add jboss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar to the endorsed directory as well. See http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp06/html-single/JDK6_Compatibility_Notes/index.html.&lt;br /&gt;A good starting point for Spring and JEE integration can be found on the Spring website http://static.springsource.org/spring/docs/2.5.x/reference/remoting.html chapter 17.5.5. Exposing servlet-based web services using JAX-WS.&lt;br /&gt;Some JEE application servers have features that make Spring integration a little easier, Apache Geronimo&amp;#39;s CXF is actually Spring based and Glassfishes Metro has RI see https://jax-ws-commons.dev.java.net/spring/.&lt;br /&gt;You can use both of these web service stacks with JBoss, but you can only do this using the JBoss distributions of the web service stacks. For more information on this see http://www.jboss.org/jbossws.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/199724976232487004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/199724976232487004'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1257600159813#c199724976232487004' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-1063298207414416843</id><published>2009-11-06T22:43:34.694+05:30</published><updated>2009-11-06T22:43:34.694+05:30</updated><title type='text'>Helle, are you aware that this is totally unsuppor...</title><content type='html'>Helle, are you aware that this is totally unsupported.&lt;br /&gt;The reason why Serializer.jar, Xalan.jar and xercesImpl.jar are in the jboss-4.2.3.GA\lib\endorsed directory is because java 6 breaks the webservices stack that is already part of JBoss. You cannot mix two implementations of JAX-WS in the same application server.&lt;br /&gt;You basically have two options. Remove JAX-WS from your application and start using the JAX-WS stack that is part of JBoss. There is some documentation on how to do spring websevices with weblogic on the the Oracle web site.&lt;br /&gt;Or stop using a JEE server and use Tomcat or some Tomcat derivative like Spring DM Server or JBossWeb to deploy your application.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/1063298207414416843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/1063298207414416843'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1257527614694#c1063298207414416843' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-6597815513122483086</id><published>2009-10-30T14:25:43.810+05:30</published><updated>2009-10-30T14:25:43.810+05:30</updated><title type='text'>@Uday,

java.lang.Object is not allowed to be expo...</title><content type='html'>@Uday,&lt;br /&gt;&lt;br /&gt;java.lang.Object is not allowed to be exposed as web service input/output. See the list of java data types allowed to use in web service interface here &lt;a href="http://java.sun.com/javaee/5/docs/tutorial/doc/bnazq.html" rel="nofollow" rel="nofollow"&gt;http://java.sun.com/javaee/5/docs/tutorial/doc/bnazq.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;See if this post &lt;a href="/2008/09/anytype-object-over-webservice-and.html" rel="nofollow"&gt;AnyType object over webservice and Hibernate&lt;/a&gt; helps you in any way.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/6597815513122483086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/6597815513122483086'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1256892943810#c6597815513122483086' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-6599755976643771254</id><published>2009-10-30T12:37:13.527+05:30</published><updated>2009-10-30T12:37:13.527+05:30</updated><title type='text'>Hi vinod,

i'ma able to deploy simple jax-ws in jb...</title><content type='html'>Hi vinod,&lt;br /&gt;&lt;br /&gt;i&amp;#39;ma able to deploy simple jax-ws in jboss with your help.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m trying to return an object(here a list object)from webservice. When i tried to do this it is giving error like below&lt;br /&gt;.......&lt;br /&gt;&lt;br /&gt;12:39:11,796 ERROR [STDERR] Oct 30, 2009 12:39:11 PM &lt;b&gt;com.sun.xml.ws.transport.ht&lt;br /&gt;tp.servlet.WSServletDelegate doGet&lt;br /&gt;SEVERE: caught throwable&lt;br /&gt;javax.xml.ws.WebServiceException: javax.xml.bind.MarshalException&lt;br /&gt; - with linked exception:&lt;/b&gt;&lt;br /&gt;[javax.xml.bind.JAXBException: class [Ljava.lang.Object; nor any of its super class is known to this context.]&lt;br /&gt;        at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.ja&lt;br /&gt;va:322)&lt;br /&gt;        at com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImp&lt;br /&gt;l.java:142)&lt;br /&gt;        at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:1&lt;br /&gt;08)&lt;br /&gt;        at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java&lt;br /&gt;:258)&lt;br /&gt;        at com.sun.xml.ws.transport.http.HttpAdapter.encodePacket(HttpAdapter.ja&lt;br /&gt;va:320)&lt;br /&gt;        at com.sun.xml.ws.transport.http.HttpAdapter.access$100(HttpAdapter.java&lt;br /&gt;:93)&lt;br /&gt;        at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdap&lt;br /&gt;ter.java:454)&lt;br /&gt;        at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244&lt;br /&gt;)&lt;br /&gt;        at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAd&lt;br /&gt;apter.java:135)&lt;br /&gt;        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServl&lt;br /&gt;etDelegate.java:129)&lt;br /&gt;        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServ&lt;br /&gt;letDelegate.java:160)&lt;br /&gt;        at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java&lt;br /&gt;:75)&lt;br /&gt;        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)&lt;br /&gt;        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)&lt;br /&gt;        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl&lt;br /&gt;icationFilterChain.java:290)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/6599755976643771254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/6599755976643771254'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1256886433527#c6599755976643771254' title=''/><author><name>Uday Kumar</name><uri>http://www.blogger.com/profile/06281053541300332418</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-7908556448018852555</id><published>2009-10-26T15:46:50.734+05:30</published><updated>2009-10-26T15:46:50.734+05:30</updated><title type='text'>I tried with the same code and adding the jax-ws r...</title><content type='html'>I tried with the same code and adding the jax-ws ri jars in the lib of war file as well as server&amp;#39;s lib. But no use.&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t know where the things are going wrong.&lt;br /&gt;&lt;br /&gt;Please help me in this.&lt;br /&gt;&lt;br /&gt;java.lang.ClassCastException: com.MyServiceImpl cannot be cast to javax.servlet.Servlet&lt;br /&gt;        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)&lt;br /&gt;&lt;br /&gt;above was the error.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/7908556448018852555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/7908556448018852555'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1256552210734#c7908556448018852555' title=''/><author><name>Uday Kumar</name><uri>http://www.blogger.com/profile/06281053541300332418</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-6739047592805578249</id><published>2009-10-23T20:25:22.412+05:30</published><updated>2009-10-23T20:25:22.412+05:30</updated><title type='text'>Uday,

Can you please try with the source code ava...</title><content type='html'>Uday,&lt;br /&gt;&lt;br /&gt;Can you please try with the source code available &lt;a href="/2008/09/building-jax-ws-web-service.html" rel="nofollow"&gt;here&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/6739047592805578249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/6739047592805578249'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1256309722412#c6739047592805578249' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-614206138809755653</id><published>2009-10-23T18:47:31.273+05:30</published><updated>2009-10-23T18:47:31.273+05:30</updated><title type='text'>hi vinod, i tried to do simple jax-ws webservice i...</title><content type='html'>hi vinod, i tried to do simple jax-ws webservice in jboss 5.&lt;br /&gt;&lt;br /&gt;I tried the way you said. I copied the jax-ri jar files in to endoresed/lib and also i packed those jars in side the war file. After deploying the war file in jboss5, it is giving error like....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INFO: WSSERVLET12: JAX-WS context listener initializing&lt;br /&gt;18:43:47,029 ERROR [STDERR] Oct 23, 2009 6:43:47 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate init&lt;br /&gt;INFO: WSSERVLET14: JAX-WS servlet initializing&lt;br /&gt;18:43:47,029 INFO  [[/SampleJAX_WS]] Marking servlet MyServiceImpl as unavailable&lt;br /&gt;18:43:47,029 ERROR [[/SampleJAX_WS]] Servlet /SampleJAX_WS threw load() exception&lt;br /&gt;java.lang.ClassCastException: com.MyServiceImpl cannot be cast to javax.servlet.Servlet&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please help me in this. &lt;br /&gt;&lt;br /&gt;Thanks in advance....</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/614206138809755653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/614206138809755653'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1256303851273#c614206138809755653' title=''/><author><name>Uday Kumar</name><uri>http://www.blogger.com/profile/06281053541300332418</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-706051440324228270</id><published>2009-09-08T20:11:19.438+05:30</published><updated>2009-09-08T20:11:19.438+05:30</updated><title type='text'>Jack,

Yes, endorsed directory mechanism is just a...</title><content type='html'>Jack,&lt;br /&gt;&lt;br /&gt;Yes, endorsed directory mechanism is just a workaround. This was required in earlier updates of Java 6, which were packaging older versions of JAX-WS. With recent updates of Java 6, this is no longer required.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/706051440324228270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/706051440324228270'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1252420879438#c706051440324228270' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-4637615832205204322</id><published>2009-09-08T17:03:46.463+05:30</published><updated>2009-09-08T17:03:46.463+05:30</updated><title type='text'>But isn't copying files into endorsed considered b...</title><content type='html'>But isn&amp;#39;t copying files into endorsed considered bad practice?&lt;br /&gt;&lt;br /&gt;Please don&amp;#39;t misunderstand me, I&amp;#39;m just confused.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/4637615832205204322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/4637615832205204322'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1252409626463#c4637615832205204322' title=''/><author><name>Jack</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2045129338311205939</id><published>2009-06-27T07:53:40.026+05:30</published><updated>2009-06-27T07:53:40.026+05:30</updated><title type='text'>Thanks for the blog. It helped me solve the proble...</title><content type='html'>Thanks for the blog. It helped me solve the problem in Tomcat5.5.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2045129338311205939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/2045129338311205939'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1246069420026#c2045129338311205939' title=''/><author><name>Louiza</name><uri>http://www.blogger.com/profile/10172240279531493820</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-5263107178910402413</id><published>2009-05-14T01:25:00.000+05:30</published><updated>2009-05-14T01:25:00.000+05:30</updated><title type='text'>By the way, I tried that with my own web project s...</title><content type='html'>By the way, I tried that with my own web project so that's probably why I had this HttpServlet error. You probably won't have this error with your sample project.&lt;br /&gt;&lt;br /&gt;Also, I forgot to mention to take of the listener class in the web.xml file.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/5263107178910402413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/8501704068155547961/comments/default/5263107178910402413'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html?showComment=1242244500000#c5263107178910402413' title=''/><author><name>Guillaume Morin-B.</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/jax-ws-web-service-and-jboss.html' ref='tag:blogger.com,1999:blog-12168038.post-8501704068155547961' source='http://www.blogger.com/feeds/12168038/posts/default/8501704068155547961' type='text/html'/></entry></feed>