You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by bn...@123india.com on 2001/04/20 21:01:41 UTC

Has anybody compiler SOAP Code

Has anybody compiled the soap2.1 code. I am getting the following error. I am using xerces1.3.0 parser. 
Any clue....

compile:
    [mkdir] Created dir: D:\soapsrc\xml-soap\java\build\classes
    [javac] Compiling 97 source files to D:\soapsrc\xml-soap\java\build\classes
    [javac] D:\soapsrc\xml-soap\java\src\org\apache\soap\AttributeHandler.java:2
34: Method getNamespaceURI() not found in interface org.w3c.dom.Attr.
    [javac]       String namespaceURI = attr.getNamespaceURI();
    [javac]                                                 ^
    [javac] D:\soapsrc\xml-soap\java\src\org\apache\soap\AttributeHandler.java:2
35: Method getLocalName() not found in interface org.w3c.dom.Attr.
    [javac]       String localName = attr.getLocalName();
    [javac]                                           ^
    [javac] D:\soapsrc\xml-soap\java\src\org\apache\soap\encoding\soapenc\Parame
terSerializer.java:139: Method getNamespaceURI() not found in interface org.w3c.
dom.Element.
    [javac]         String paramNamespaceURI = paramEl.getNamespaceURI();
    [javac]                                                           ^
    [javac] D:\soapsrc\xml-soap\java\src\org\apache\soap\Envelope.java:297: Meth
od getLocalName() not found in interface org.w3c.dom.Element.
    [javac]       String localName = root.getLocalName();
    [javac]                                           ^
    [javac] D:\soapsrc\xml-soap\java\src\org\apache\soap\Fault.java:279: Method
getNamespaceURI() not found in interface org.w3c.dom.Element.
    [javac]         String namespaceURI = tempEl.getNamespaceURI();
    [javac]                                                     ^
    [javac] D:\soapsrc\xml-soap\java\src\org\apache\soap\Fault.java:280: Method
getLocalName() not found in interface org.w3c.dom.Element.


______________________________________________________
123India.com - India's Premier Portal 
Get your Free Email Account at http://www.123india.com



Re: Has anybody compiler SOAP Code

Posted by Scott Nichol <sn...@computer.org>.
You classpath has some other parser before xerces.  Does ant's parser.jar
appear before xerces?

Scott

----- Original Message -----
From: <bn...@123india.com>
To: <so...@xml.apache.org>
Sent: Friday, April 20, 2001 15:01
Subject: Has anybody compiler SOAP Code


> Has anybody compiled the soap2.1 code. I am getting the following error. I
am using xerces1.3.0 parser.
> Any clue....
>
> compile:
>     [mkdir] Created dir: D:\soapsrc\xml-soap\java\build\classes
>     [javac] Compiling 97 source files to
D:\soapsrc\xml-soap\java\build\classes
>     [javac]
D:\soapsrc\xml-soap\java\src\org\apache\soap\AttributeHandler.java:2
> 34: Method getNamespaceURI() not found in interface org.w3c.dom.Attr.
>     [javac]       String namespaceURI = attr.getNamespaceURI();
>     [javac]                                                 ^
>     [javac]
D:\soapsrc\xml-soap\java\src\org\apache\soap\AttributeHandler.java:2
> 35: Method getLocalName() not found in interface org.w3c.dom.Attr.
>     [javac]       String localName = attr.getLocalName();
>     [javac]                                           ^
>     [javac]
D:\soapsrc\xml-soap\java\src\org\apache\soap\encoding\soapenc\Parame
> terSerializer.java:139: Method getNamespaceURI() not found in interface
org.w3c.
> dom.Element.
>     [javac]         String paramNamespaceURI = paramEl.getNamespaceURI();
>     [javac]                                                           ^
>     [javac]
D:\soapsrc\xml-soap\java\src\org\apache\soap\Envelope.java:297: Meth
> od getLocalName() not found in interface org.w3c.dom.Element.
>     [javac]       String localName = root.getLocalName();
>     [javac]                                           ^
>     [javac] D:\soapsrc\xml-soap\java\src\org\apache\soap\Fault.java:279:
Method
> getNamespaceURI() not found in interface org.w3c.dom.Element.
>     [javac]         String namespaceURI = tempEl.getNamespaceURI();
>     [javac]                                                     ^
>     [javac] D:\soapsrc\xml-soap\java\src\org\apache\soap\Fault.java:280:
Method
> getLocalName() not found in interface org.w3c.dom.Element.
>
>
> ______________________________________________________
> 123India.com - India's Premier Portal
> Get your Free Email Account at http://www.123india.com
>
>