dcsimg
Cannot start JAX-RPC webService
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Daniel_Baylon
Posted On:   Friday, January 9, 2004 04:15 PM

I'm new at Java Web Services, I created a Service using JAX-RPC technology named agenda. I compiled interface and implementation, used wscompile and wsdeploy tools, last installed webService on a Tomcat Web Application. <?xml version="1.0" encoding="ISO-8859-1"?> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> Pininos Site Web Application for Testing purposes com.sun.xml.rpc.server.http.JAXRPCContextListener invoker    More>>

I'm new at Java Web Services, I created a Service using JAX-RPC technology named agenda.



I compiled interface and implementation, used wscompile and wsdeploy tools, last installed webService on a Tomcat Web Application.






<?xml version="1.0" encoding="ISO-8859-1"?>





PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

"http://java.sun.com/dtd/web-app_2_3.dtd">







Pininos Site





Web Application for Testing purposes







com.sun.xml.rpc.server.http.JAXRPCContextListener







invoker

/servlet/*







Agenda

Agenda

JAX-RPC endpoint - Agenda

com.sun.xml.rpc.server.http.JAXRPCServlet

1







Agenda

/Agenda












Copied jaxrpc-api.jar, jaxrpc-impl.jar, jaxrpc-spi.jar files to Tomcat common/lib directory.



When I try to access pininos application from a web browser, an error occurs and application cannot start.



I don't know what could be wrong.



I appreciate some help.



Best Regards.

   <<Less

Re: Cannot start JAX-RPC webService

Posted By:   Daniel_Baylon  
Posted On:   Monday, January 12, 2004 02:44 PM

Checked Tomcat logs, and noticed that some classes were missing.



I copied following jar files from Java Web Services Development Pack installation to Tomcat WEB-INF/lib application directory:





  • jaxrpc-impl.jar

  • jaxrpc-spi.jar

  • jaxrpc-api.jar

  • jax-qname.jar

  • saaj-api.jar

  • saaj-impl.jar




If somebody has experienced same problem, I hope this can be useful.



Best Regards

About | Sitemap | Contact