Try putting the axis2-web dir under WEB-INF: axis2-web/WEB-INF
Also make sure all the servlet goodies are configured in your web.xml . HTH, Robert On 9/25/06, James Good <[EMAIL PROTECTED]> wrote:
Ah, well that's a bit of a help, thank you Robert. I had to use : http://localhost:8888/WFSAWS/services/listServices but I get : 404 Not Found OracleJSP: java.io.FileNotFoundException: Set the init-param debug_mode to "true" to see the complete exception message. 11:14:10 AM java.exe:4020 FASTIO_QUERY_OPEN C:\Dev\oc4j-10.1.2\j2ee\home\applications\WFSAWS\WFSAWS\axis2-web\listServices.jsp PATH NOT FOUND Attributes: Error So, it's trying to find a JSP for listServices. Where is that service installed? It's not something that I have knowingly installed. Thank you, -James. -----Original Message----- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Sunday, September 24, 2006 8:25 PM To: [email protected] Subject: Re: Embedding an Axis2 WS in my existing web app. What does http://localhost:8888/WFSAWS/listServices say? Robert On 9/24/06, James Good <[EMAIL PROTECTED]> wrote: > Can someone help me please? > > I have an existing J2EE web app which I deploy to an OC4J 10.1.2 app server. I need to expose one of the objects in there as a WS. So, I have been investigating axis2. > > I have read this very useful tutorial : http://www.wso2.net/kb/90 > > I have modified my web.xml to include the Axis servlet, and the servlet mapping for it : > > <servlet> > <servlet-name>AxisServlet</servlet-name> > <display-name>Axis Servlet</display-name> > <servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > > <servlet-mapping> > <servlet-name>AxisServlet</servlet-name> > <url-pattern>/services/*</url-pattern> > </servlet-mapping> > > I have, under my WEB-INF directory, created a 'services' directory, a 'BookService' directory under that, and a META-INF directory under that. I have created a services.xml file as follows : > > <serviceGroup> > <service name="BookService" > targetNamespace="http://ws.apache.org/axis2/samples/book/"> > <description> > Book sample service > </description> > <schema schemaNamespace="http://ws.apache.org/axis2/samples/book/xsd/"/> > <parameter name="ServiceClass" locked="false">com.wfs.aws.services.BookService</parameter> > <operation name="getBooks"> > <messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> > </operation> > <operation name="findBook"> > <messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> > </operation> > </service> > </serviceGroup> > > What jars should I need to include in my app? I have included all the axis*.jars. > > I add the Book and BookService classes, then I am then expecting to see my 'BookService' service appear at > > http://localhost:8888/WFSAWS/services/BookService > > and be able to see the WSDL with > > http://localhost:8888/WFSAWS/services/BookService?wsdl > > Is that what I should expect to be able to do, or am I missing something? Because it's not working as I thought it would. I'm getting 404 errors when I try accessing those URLs above. > > Thank you for any help, > > -James. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
