Hi,

I have been trying to apply handlers to the client side. I did not create any 
client-side stubs, just used jboss-ws4ee-client.jar, axis-ws4ee.jar, etc. 
Everything seems ok, like the WS publication and simple client calls. Then I 
tried to register a data hanlder at the client side in the followng way:

   .... 
   ServiceFactory factory = ServiceFactory.newInstance();
   Service service = factory.createService(wsdlUrl, qname);

   HandlerRegistry hr = service.getHandlerRegistry();

but failed due to this exception:

Exception in thread "main" java.lang.UnsupportedOperationException: Components 
should not use the getHandlerRegistry() method.
        at 
org.jboss.webservice.client.ServiceImpl.getHandlerRegistry(ServiceImpl.java:164)

Is this a known problem?

Any help is appreciated!

Xinjun


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919257#3919257

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919257


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to