I have been programming for many years, but am new to web services so excuse me 
if some of this is obvious.  I am attempting to get a 'hello world' type 
application working using the example "NetBeans IDE 5.0 Quick Start Guide for 
Web Services" from the Netbeans docs.  I am using Jboss 4.0.4Patch 1, Java EE 
5.0.

I have read some of the guides and troubleshooters for using Jboss with 
netbeans, and have found that first building my service first for the Sun 
Server and then switching to JBoss just before deployment gives me something 
that deploys and almost works, but at this point I get stuck.  The error 
message I get when I attempt to invoke the service is as follows.

java.lang.NoClassDefFoundError: 
com/sun/org/apache/xerces/internal/dom/DocumentImpl

Looking in the Jboss/lib directory there is a xerces.jar, and in that is a 
class /org/apache/xerces/dom/DocumentImpl which I am guessing is what should be 
used, but I note this does not include the /internal/ that is in the error 
message.

Skipping past the classloaders, the next part of the calling stack that looks 
interesting is this.  I think this means that it is the SAAJ code that is 
attempting to open this module and failing.

        at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.(SOAPPartImpl.java:63)
        at 
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.(SOAPPart1_1Impl.java:29)
        at 
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.getSOAPPart(Message1_1Impl.java:52)
        at 
com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:672)
        at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:87)

Does anyone have any suggestions as to where I am going wrong?

I have wondered about trying to use the JBoss example, but it is all command 
line and for someone with little expertise the graphical build and deployment 
of netbeans is rather important.

Thanks for any help

Matthew

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952930#3952930

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952930

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to