Hello,
I have created a simple web application with Jax-Rpc that has 2
endpoints defined in the jaxrpc-ri.xml file. The methods are simple
tests that return a string.
Everything builds and deploys perfectly, but as soon as I attempt to
invoke a method from the client, I get the following on stderr:
java.lang.NoClassDefFoundError:
com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl
at
com.sun.xml.messaging.saaj.soap.SOAPPartImpl.<init>(SOAPPartImpl.java:52
)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.<init>(SOAPPart1_
1Impl.java:24)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.getSOAPPart(Messag
e1_1Impl.java:48)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:144)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1I
mpl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createM
essage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.rpc.soap.message.SOAPMessageContext.createMessage(SOAPMessag
eContext.java:122)
at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.getSOAPMessageFromRequ
est(JAXRPCServletDelegate.java:609)
at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDe
legate.java:273)
at
com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChai
n.java:113)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.ja
va:177)
at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.j
ava:221)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:305)
at com.caucho.util.ThreadPool.run(ThreadPool.java:273)
at java.lang.Thread.run(Unknown Source)
...and the call fails.
This doesn't appear to happen when there is only one endpoint defined in
jaxrpc-ri.xml.
Is this a known issue? If so, is there any workaround? I am using the
JWSDP version 1.3. My service definitions and jaxrpc-ri are attached.
Thanks in advance,
Gabe
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net