[jboss-user] [JBossWS] - Re: Call a web service

randhawag do-not-reply at jboss.com
Mon Jul 6 15:51:23 EDT 2009


Has anyone been able to resolve this?
We have difficulty connecting via client to web service endpoint. 

When running client we see, 


JBDS 2.0 GA
JAX-WS 2.0
Server: JBoss 4.3 EAP CP02

***********************
Create Web Service Client...
Create Web Service...
Call Web Service Operation...
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.client.sei.ResponseBuilder$RpcLit$PartBuilder.readResponse(ResponseBuilder.java:635)
	at com.sun.xml.ws.client.sei.ResponseBuilder$RpcLit.readResponse(ResponseBuilder.java:599)
	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 $Proxy22.echo(Unknown Source)
	at venture.services.helloworld.clientsample.ClientSample.main(ClientSample.java:16)
Caused by: java.lang.ClassNotFoundException: com.sun.xml.messaging.saaj.soap.AttachmentPartImpl
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	... 8 more

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

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



More information about the jboss-user mailing list