Domino 9 und frühere Versionen > ND8: Entwicklung

JAVA Webservice consumer java.lang.IncompatibleClassChangeError

(1/2) > >>

AndreasWegener0815:
Hallo liebes Forum.
Ich werde noch wahnsinnig.
Problem
Ich habe einen JAVA Test Webservice geschrieben der auf einem Notes Server 8.5 läuft.
Nix wildes :

--- Code: ---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";
}

--- Ende Code ---

Ich erstelle nun brav meinen Consnumer im Notes Client

--- Code: ---HELLO lService= new HELLOServiceLocator().getDomino();//lEndpoint);
System.out.println(lService.returnHello());

--- Ende Code ---

Aber beim Aufruf von ReturnHello kommt die exception:
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)

Mein Endpoint aus dem WSDL sieht so aus.

http://han01:80/websites/website03/demo.nsf/testjs?OpenWebService";

Eventuell hat jemand dieses Problem schon mal gelöst ?

Keydins:
Fehlt da nicht irgendwo eine Klammer in deinem HELLO |Service...? Hinter Endpoint ist eine schließende, aber wo wird geöffnet?

HELLO lService= new HELLOServiceLocator().getDomino();//lEndpoint);
System.out.println(lService.returnHello());


Gruß
Dirk

AndreasWegener0815:
Nee da is doch der Kommentar vor :-)

Keydins:
Ok, war wohl doch zu wenig Kaffee heute morgen  ;D

umi:
Alles schon mal neu kompiliert?

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln