> -----Original Message----- > From: Peter Wang [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 21, 2002 3:57 PM > To: [EMAIL PROTECTED] > Subject: Question!!!! > > > Hi, > > I am a new developer on SOAP2.2. > I got a question when I tried to deploy the sample service to > rpcrouter. > When I used command line of "java > org.apache.soap.server.ServiceManagerClient > http://localhost:8080/soap/servlet/rpcrouter deploy > DeploymentDescriptor.xml", it shown the error: "nosuchmethod error in > DeploymentDescriptor.forXML().". I checked the source file of > DeploymentDescriptor.java and found it used a method called > Element.getNamespaceURI() which can't be found in org.w3c.dom.Element. > > I am eager to get the answer to continue my trying. > > Appreciate for your help. > > Peter >
That is due to an earlier version of an XML parser library being found before a more recent one. The earlier version does not support namespaces. In my case it was an early JAXP in the JAVA_HOME/jre/lib/ext directory that got found first. [EMAIL PROTECTED] Author of Soap Programming with Java - Sybex; ISBN: 0782129285