Hi. I’ve been working with IS 4.6 and Developer for some time now, but this is the first time I’ve ever required a Java service, so I’m having some troubles getting it going.
Specifically, I needed to make use of the unicode “toChar” service that I found on wmUsers ( http://www.wmusers.com/wmusers/messages/117/186.shtml ) in order to specify segment delimiters. When I copy/paste the code into a new java service, then save it, I get an error:
usr/local/opt/webMethods/IntegrationServer4/packages/PCS/code/source/EDI/util/lookup/JavaService.java:14: Superclass java.lang.Object of class EDI.util.lookup.JavaService not found.
public final class JavaService
I’ve tried moving the service around, and changing the name, all kinds of things. So, then just for a lark, I tried to recompile a java service that is delivered with IS 4.6 - I get a similar error, though this time it also had an import error. I tried to build sample.commandLineExec:fireCommandExec in the wmSamples package - here’s the errors that are generated:
/usr/local/opt/webMethods/IntegrationServer4/packages/WmSamples/code/source/sample/commandLineExec.java:12: Package java.io not found in import.
/usr/local/opt/webMethods/IntegrationServer4/packages/WmSamples/code/source/sample/commandLineExec.java:15: Superclass java.lang.Object of class sample.commandLineExec not found.
public final class commandLineExec
I’m sure it’s just a setup issue, but I don’t know enough about java/webMethods to fix it on my own.
Thanks in advance!