Hi Sebastian,
I do not know if you have discovered a way, but we have been playing with Java Services and classes and loaders etc.
For a webMethods Package, the (Java Service) classes in it are only accessible from within the package (classloaders and all that). So you either have to get in the package (doInvoke) or make the classes available outside of the webMethods package.
The one way we can achieve what you want is to collect all the class files up from the ‘other’ package, jar them up and put them on either the system classpath, the ‘prependclasses’ path or in the IS lib/jar(s) directory. The side effect of this is that the package is then not hot deployable, and changes to if required a restart.
Alternatively, create a an ‘access’ method/service on the other package to get to the java classes etc that you want to.
If you have come up with something else, let us know.
thanks
Simon
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services