5 Replies Latest reply on Jun 15, 2005 6:40 AM by Alexey Kharlamov

    WebService invokation from JBoss Service

    Alexey Kharlamov Newbie

      I have written an MBean to start jobs from JBoss scheduler. The bean is packaged to .sar file. And the sar is a part of large EAR with libraries , persistence service and so on.

      But there is a problem. Jobs must call a remote web-service. What is the most appropriate way to do that? I may JAX-RPC Client API. But it seems like a hack. Moreover, my web-app packaged in the same ear use the ws too. In webapp's descriptor I can make a reference to the WS, an it will be available via component's JNDI context.

      May be there is a way to bind web-service client stub in global JNDI namespace?

      Thanks in advance