You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Sean MacRoibeaird - Sun ireland - Solaris Software - Staff Engineer <Se...@ireland.sun.com> on 2000/06/01 18:02:37 UTC
SOAP 1.2
Hi,
As I can't build SOAP 1.2 from the cvs sources, I have tried to use the jar files to run the demos. I get a strange looking "no such method
error" in the Xerces space when I run the GetAddress demo:
The output is as follows:
java demos.addressbook.GetAddress http://moe:8080/ibm-soap/rpcrouter.jsp "John B. Good"
>>(Thu Jun 01 16:54:59 GMT+01:00 2000) Processing SOAP request...
-----
java.lang.NoSuchMethodError: org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String; not found
-----
What is the Ljava/lang/String bit here. I've looked up the getNamespaceURI() method and it is defined. In the QName.java
file there are ^M at the end of the line which should be removed for Unix. Could building the class files with eroneous EOLs
cause the screw up?
at com.ibm.cs.xml.QName.<init>(QName.java:23)
at com.ibm.cs.xml.QName.matches(QName.java:89)
at com.ibm.soap.Envelope.unmarshall(Compiled Code)
at _0002frpcrouter_0002ejsprpcrouter_jsp_0._jspService(Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
at org.apache.tomcat.core.ContextManager.service(Compiled Code)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled Code)
at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Exception.java:42)
at org.xml.sax.SAXException.<init>(SAXException.java:45)
at org.xml.sax.SAXParseException.<init>(SAXParseException.java:56)
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:925)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(Compiled Code)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(Compiled Code)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:817)
at com.ibm.cs.xml.XercesParserLiaison.read(XercesParserLiaison.java:28)
at com.ibm.soap.rpc.Call.invoke(Call.java:100)
at demos.addressbook.GetAddress.main(GetAddress.java:68)
Caught SOAPException (SOAP-ENV:Protocol):
----------------------------------------------------------
Sean MacRoibeaird
XML Technology Centre
Sun Microsystems,
East Point Business Park,
Dublin 3,
Ireland
Phone: x19173/+353 1 8199173
e-mail: sean.macroibeaird@ireland.sun.com