I want to resue my business logic from struts action class file
      to create a web services without changing any code. I  put my logic
      in service.impl classes file and invoke the method  from action file.
      I can't access the  dao.getObject(class,id).
 
 Whether we need to create a separate dao for access the web services.
 
It throws exception in server :

      org.codehaus.xfire.fault.XFireFault : Fault:
java.lang.NullPointerException
        at
org.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
        at
org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage
(ServiceInvocationHandler.java:271)
        at
org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandler.java:85)
        at
org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute
(ServiceInvocationHandler.java:132)
        at
org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:107)
        at
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java :110)
        at
org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:61)
        at
org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
        at org.codehaus.xfire.transport.http.XFireServletController.invoke
(XFireServletController.java:261)
        at
org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:120)
        at
org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java
:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

-- 
View this message in context: 
http://www.nabble.com/Re%3A-Web-Services-Based-Application-With-Appfuse-tf2237423s2369.html#a8941340
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to