Webmethods call EJB service

I want to use webMethods to call Java services which running on different server. How to do that ?

  1. Expose you remote service via SOAP and call it from IS (or directly from within a process or from MWS) as SOAP service.
  2. Write a Java service (assuming you use Integration Server) making the call for you using RMI.
    I prefer solution 1 if possible.