my jws file:

/**
 * SupplierServices.java
 * 2005-9-18/15:22:02 created by King Xiao
 * @version EStore V0.5
 * @author King Xiao
 * powered By www.vivianj.org
 */
package web;

import javax.jws.WebMethod;
import javax.jws.WebService;

import org.vivianj.beehive.estore.beans.CountObject;
//SupplierDAO extends JdbcControl to access database
import org.vivianj.beehive.estore.dao.SupplierDAO;

/**
 * ScmServices used to exposeing some function to my suppliers
 */
@WebService
public class ScmServices {
        @Control
        private SupplierDAO dao;

        @WebMethod
        public int getOrderAmountByMdseId(String mdseId) {

                int i = 0;

                i = dao.getOrderAmountByMdseId(mdseId);

                return i;
        }

        }


2005/9/20, Chad Schoettger (JIRA) <[email protected]>:
>    [ 
> http://issues.apache.org/jira/browse/BEEHIVE-943?page=comments#action_12330005
>  ]
> 
> Chad Schoettger commented on BEEHIVE-943:
> -----------------------------------------
> 
> It sounds like at least a very similar problem to BEEHIVE-804.  We have a 
> patch for BEEHIVE-804 which should be applied soon now that the 1.0 release 
> has been completed.  If you can attach the JWS that caused this error I can 
> verify that its fixed with the patch on my local system.
> 
> 
> 
> > controls can not be used in wsm
> > -------------------------------
> >
> >          Key: BEEHIVE-943
> >          URL: http://issues.apache.org/jira/browse/BEEHIVE-943
> >      Project: Beehive
> >         Type: Bug
> >   Components: Web Services (181)
> >     Versions: v1m1
> >  Environment: windows 2000,tomcat 5.5.8,JDK5.0,ant1.6.2
> >     Reporter: king xiao
> 
> >
> > i create a dbcontrol extends jdbccontrol,the control pass tests in 
> > pageflow,but when i use it in my wsm,it always give me a 
> > NullPointerException,why?
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
> 
>

Reply via email to