Thanks Adnan. That’d be too easy. I thought of doing that but the constraints of being a Java service (like having the IData only in the signature, having to do Service.doInvoke() within the Java codes for this case, etc) don’t serve me well. Also, it’s a util package so the kind of processing it does is very generic and some time doesn’t fit to be a Java service (for ex., getting a value out of the pipeline).
Thanks Rob. That’s the first thing I did.
- The fact that the codes compiled w/o errors tells me that package2 sees package1/javaUtil. But when it comes to running in the IS, it’s not quite true.
- goodJavaService can invoke javaUtil.javaMethod1.
- When I copied the javaUtil folder to package2, it works fine.
so…I came to the conclusion that Java services can’t “see” regular Java codes from a different package. I’ll try to verify this but in the mean time, any contrary opinions?
The only thing that I haven’t checked out (and don’t know how yet) is to play with the classpath of the IS. Any suggestions?
QN
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services