Hi.I wrote a small test webservice in java
Ruinning on a notes server 8.5
The code below shows the service
public class HELLO{
// This is a template implementation class for your web service. It
// becomes extraneous if you import a WSDL document. Consumers of this
// web service can call any public method in the implementation class.
//
// To obtain a Session object use this code:
// Session s = WebServiceBase.getCurrentSession();
public String ReturnHello()
{
return "HELLO";
}
if i create my consumer in Java and try to use „ReturnHello“
I receive:
Exception in thread “AgentThread: JavaAgent” java.lang.IncompatibleClassChangeError
at JavaAgent.NotesMain(Unknown Source)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(Unknown Source)
HELLO lService= new HELLOServiceLocator().getDomino();//lEndpoint);
System.out.println(lService.returnHello());
If i use the same WS using lotus script it works.
Can anybody help ?
Thanks