Supported in jboss-4.0.1

  |       Context iniCtx = getInitialContext();
  |       Service service = 
(Service)iniCtx.lookup("java:comp/env/service/HelloWsService");
  |       HelloWs port = (HelloWs)service.getPort(HelloWs.class);
  | 
  |       Stub stub = (org.jboss.webservice.client.Stub)port;
  | 
  |       stub.setTimeout(new Integer(100));
  |       assertEquals(new Integer(100), stub.getTimeout());
  | 
  |       stub._setProperty(Stub.CLIENT_TIMEOUT_PROPERTY, new Integer(200));
  |       assertEquals(new Integer(200), 
stub._getProperty(Stub.CLIENT_TIMEOUT_PROPERTY));
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to