3 Replies Latest reply on Oct 10, 2011 1:17 AM by Freeman(Yue) Fang

    How I do to invoke a jaxws wiht cxfse?

    Francisco Philip Newbie

      Hi, any idea why i have this error? anybody can help my with options?

       

      javax.xml.ws.WebServiceException: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

       

       

       

          <cxfse:endpoint service="ns:ws1"

                          endpoint="ns:ws1-endpoint">

              <cxfse:pojo>

                  <jaxws:client id="ws1-client"

                          serviceClass="MyWSBeanSEI"

                          address="http://localhost:8181/ws1">

                  </jaxws:client>

              </cxfse:pojo>

       

          </cxfse:endpoint>