Hello Lotus Professionals,
I am testing with web services, trying to find out a way to consume a web service from a Domino application with no success.
I find some Java Agent samples and I am using SOAPConnect for LS’s JAR Files (soap.jar, xercesImpl.jar, mail.jar, activation.jar, xmlParsersAPI.jar) and the original Notes RNext xml4J.jar (the one in SOAP Connect doesn’t have the org.w3c.dom package). But when i try to run the agents it throws a Java exception at the line where I do the invocation of the web service.
Response resp = call.invoke (url, “”)
The Java exception is the following:
java.lang.NoSuchMethodError: org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String; not found
at org.apache.soap.util.xml.QName.(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:237)
at org.apache.soap.rpc.Call.invoke(Call.java:273)
at TemperatureAgent.getTemperature(TemperatureAgent.java:69)
at TemperatureAgent.NotesMain(TemperatureAgent.java:27)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(NotesThread.java:215)
At first it seemed that the org.w3c.dom.Node class didn’t have the getNamespaceURI method. But when I typed
javap org.w3c.dom.Node
the method getNamespaceURI does appear.
I don’t know which can be the problem maybe a conflict between the JAR Files or something. It is really annoying and I starting to get crazy MY MIND IS GONNA BLOW OFF.
Can anyone get me some lights on how to solve this issue and avoid my suicide (LOL just kidding, but I REALLY NEED HELP PLZ).
Thanks in advance,
Oscar A. Ibarra S.
Programmer
IT Brokers Corp.
Panama