I've trying to deploy a SOAP web service on jboss 5. The service and client have been compiled with JDK 6. I've copied the jboss-native-* jars files to the lib/endorsed directory as recommended.
When I run the client I get the following exception
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/AttachmentPartImpl
at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.(AttachmentUnmarshallerImpl.java:55)
at com.sun.xml.ws.message.stream.StreamMessage.readPayloadAsJAXB(StreamMessage.java:215)
at com.sun.xml.ws.client.sei.ResponseBuilder$Body.readResponse(ResponseBuilder.java:444)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy24.legacySelectAndSection(Unknown Source)
at org.cas.ddaa.ws.test.DDAAClientTest.callMethod(DDAAClientTest.java:119)
at org.cas.ddaa.ws.test.DDAAClientTest.main(DDAAClientTest.java:134)
This happening when my client is unmarshalling the response from the server. Everything on the server has run correctly.
Any suggestions? I'm stumped, apart from realising that it something to do with the problems using JDK 6 and JBoss.