0 Replies Latest reply on Aug 31, 2005 9:41 PM by zozilla

    standalone ws client

    zozilla

      i've wrote a standalone ws client (using jboss 4.0.3rc2 client lib).

      List<HandlerInfo> list = new ArrayList<HandlerInfo>();
      HandlerInfo hi = new HandlerInfo();
      hi.setHandlerClass(ClientHandler.class);
      list.add(hi);
      
      service.getHandlerRegistry().setHandlerChain(
       new QName(namespaceURI, "WSEEDemoEndpointPort"), list);
      

      it seems should to be work, but throws such exception
      java.lang.UnsupportedOperationException: Component should not call getHandlerRegistry()
      

      can any body help me?