[JBossWS] - Re: JAX-WS from Sessions Bean fails due to missing org/jboss
by dkane
"ejb3workshop" wrote :
| A search in the forums and the web makes suggestions to include the jboss-common-clients.jar in the classpath. I tried added this jar to the /server/default/lib folder as well as include it within the EAR / application.xml, of which neiter worked.
|
"ejb3workshop" wrote : java.lang.NoClassDefFoundError: org/jboss/logging/Logger
| at javax.xml.soap.FactoryLoader.(FactoryLoader.java:47)
| at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:64)
|
I have the same problem, although web-service is being invoked remotely.
Adding jboss-common-client.jar or jbossall-client.jar to JBoss classpath does not help.
Then I tried to put this jar to lib/endorsed, next to jars required for JBossWS on Java 1.6 , and JBoss failed to start at all.
Somehow, endorsed classes does not "see" JBoss classpath ... How to solve this problem ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107055#4107055
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107055
18 years, 4 months
[JBossWS] - Dynamic no. of attachments using MTOM
by oskar.carlstedt
Hi!
Has anyone made i possible to implement a web service that can receive or send multiple attachments using MTOM. All examples just have one DataHandler but this is not enough for what I want to do. I want to be able to use a dynamic number of attachments.
XOP has support for several attachments in the xml document but how does JBoss and especially Java EE treat such a data structure. Where can I find my attachments?
If I use the Provider< SOAPMessage > mechanism I have full control, but still the question: Where can I find the send attachments? Do I have to use a Provider< Source > implementation to solve this?
My web service consumers want to send multiple documents to our server in one request. Upon other requests, I will generate a dynamic number of PDF documents on the server and then send them to the client. Is it possible? Of course we can bundle all attachments into a zip file and get one attachment - but this is an ugly work around.
I hope someone can answer this question.
Regards
/Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106990#4106990
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106990
18 years, 4 months