Re: WSIF 2.0 and WSDL4J 1.4

[email protected] Tue, 16 Nov 2004 08:12:05 -0800
Newsgroups gmane.comp.apache.webservices.wsif.user,gmane.comp.apache.webservices.wsif.devel
Message-ID <OFDF8538CD.0EF73CFC-ON88256F4E.00566DCE-87256F4E.0058FF5A@sybase.com>



The following URL is where I got WSDL4J v.1.4.
http://www-124.ibm.com/developerworks/projects/wsdl4j/

I see that AXIS 1.2-beta3 uses WSDL4J 1.5, and when I try to compile
against that I receive the following errors:

(See attached file: build.txt)

I am building the wsif-2.0 release source, and not source from nightly
builds...






                                                                           
             Aleksander                                                    
             Slominski                                                     
             <[email protected]                                          To 
             .edu>                     [email protected]             
                                                                        cc 
             11/15/2004 06:57          [email protected]              
             PM                                                    Subject 
                                       Re: WSIF 2.0 and WSDL4J 1.4         
                                                                           
             Please respond to                                             
             [email protected]                                             
                  he.org                                                   
                                                                           
                                                                           




what version did you try? the version in CVS builds OK with
wsdl4j-20030807.jar and axis-1_2RC1.jar - i am not sure when was WSDL4J
1.4  released?

thanks,

alek

[email protected] wrote:

>
>
>After moving to AXIS 1.1, which includes WSDL4J 1.4, WSIF will no longer
>build due to the following errors.  Is a release of WSIF available that
>takes this into account?
>
>    [javac]     79. public class AuthenticatingProxyWSDLLocatorImpl
>implements j
>avax.wsdl.xml.WSDLLocator {
>    [javac]                      ^--------------------------------^
>    [javac] *** Error: The abstract method "org.xml.sax.InputSource
>getBaseInput
>Source();", inherited from type "javax/wsdl/xml/WSDLLocator", is not
>implemented
> in the non-abstract class
>"org/apache/wsif/wsdl/AuthenticatingProxyWSDLLocatorI
>mpl".
>
>    [javac] Found 1 semantic error compiling
>"T:/apps/psesp/src/org/apache/wsif/
>wsdl/WSIFWSDLLocatorImpl.java":
>
>    [javac]     79. public class WSIFWSDLLocatorImpl implements
>javax.wsdl.xml.W
>SDLLocator {
>    [javac]                      ^-----------------^
>    [javac] *** Error: The abstract method "org.xml.sax.InputSource
>getBaseInput
>Source();", inherited from type "javax/wsdl/xml/WSDLLocator", is not
>implemented
> in the non-abstract class "org/apache/wsif/wsdl/WSIFWSDLLocatorImpl".
>
>WSDL4J 1.4
>javax.wsdl.xml
>Interface WSDLLocator
>getBaseInputSource
>public org.xml.sax.InputSource getBaseInputSource()
>      Returns an InputSource "pointed at" the base document.
>
>
>


--
The best way to predict the future is to invent it - Alan Kay
build.txt (application/octet-stream, 6 KB)
wsif:
     [echo] Building WSIF...

init:

prepare:

checkDependencies:

checkSoapRMI:
     [echo] Warning: SoapRMI dependencies were not resolved.

dynamic:
    [javac] Compiling 153 source files to T:\apps\psesp\classes

    [javac] Found 2 semantic errors compiling "T:/apps/psesp/src/org/apache/wsif/wsdl/extensions/format/FormatBindingSerializer.java":

    [javac]                                 <-----------------------------------
    [javac]    232.                         DOMUtils.getQualifiedAttributeValue(
    [javac]    . . .
    [javac]    236.                             false);
    [javac]         --------------------------------->
    [javac] *** Error: No applicable overload for the method named "getQualifiedAttributeValue" was found in type "com/ibm/wsdl/util/xml/DOMUtils". Perhaps you wanted the overloaded version "javax.xml.namespace.QName getQualifiedAttributeValue(org.w3c.dom.Element $1, java.lang.String $2, java.lang.String $3, boolean $4, javax.wsdl.Definition $5) throws javax.wsdl.WSDLException;" instead?


    [javac]                                 <-----------------------------------
    [javac]    238.                         DOMUtils.getQualifiedAttributeValue(
    [javac]    . . .
    [javac]    242.                             false);
    [javac]         --------------------------------->
    [javac] *** Error: No applicable overload for the method named "getQualifiedAttributeValue" was found in type "com/ibm/wsdl/util/xml/DOMUtils". Perhaps you wanted the overloaded version "javax.xml.namespace.QName getQualifiedAttributeValue(org.w3c.dom.Element $1, java.lang.String $2, java.lang.String $3, boolean $4, javax.wsdl.Definition $5) throws javax.wsdl.WSDLException;" instead?

    [javac] Found 5 semantic errors compiling "T:/apps/psesp/src/org/apache/wsif/wsdl/WSIFWSDLLocatorImpl.java":

    [javac]     79. public class WSIFWSDLLocatorImpl implements javax.wsdl.xml.WSDLLocator {
    [javac]                      ^-----------------^
    [javac] *** Error: The abstract method "org.xml.sax.InputSource getBaseInputSource();", inherited from type "javax/wsdl/xml/WSDLLocator", is not implemented in the non-abstract class "org/apache/wsif/wsdl/WSIFWSDLLocatorImpl".


    [javac]    151.                     baseReader = StringUtils.getContentAsReader(url);
    [javac]                                          ^---------------------------------^
    [javac] *** Error: No method named "getContentAsReader" was found in type "com/ibm/wsdl/util/StringUtils".


    [javac]    204.                     importReader = StringUtils.getContentAsReader(url);
    [javac]                                            ^---------------------------------^
    [javac] *** Error: No method named "getContentAsReader" was found in type "com/ibm/wsdl/util/StringUtils".


    [javac]    243.                 importReader = StringUtils.getContentAsReader(url);
    [javac]                                        ^---------------------------------^
    [javac] *** Error: No method named "getContentAsReader" was found in type "com/ibm/wsdl/util/StringUtils".


    [javac]    254.                     importReader = StringUtils.getContentAsReader(url);
    [javac]                                            ^---------------------------------^
    [javac] *** Error: No method named "getContentAsReader" was found in type "com/ibm/wsdl/util/StringUtils".

    [javac] Found 1 semantic error compiling "T:/apps/psesp/src/org/apache/wsif/compiler/util/Utils.java":

    [javac]    179.         String indentStr = StringUtils.getChars(indent, ' ');
    [javac]                                    ^-------------------------------^
    [javac] *** Error: No method named "getChars" was found in type "com/ibm/wsdl/util/StringUtils".

    [javac] Found 1 semantic error compiling "T:/apps/psesp/src/org/apache/wsif/wsdl/extensions/jms/JMSPropertyValueSerializer.java":

    [javac]                     <-----------------------------------
    [javac]    215.             DOMUtils.getQualifiedAttributeValue(
    [javac]    . . .
    [javac]    219.                 false);
    [javac]         --------------------->
    [javac] *** Error: No applicable overload for the method named "getQualifiedAttributeValue" was found in type "com/ibm/wsdl/util/xml/DOMUtils". Perhaps you wanted the overloaded version "javax.xml.namespace.QName getQualifiedAttributeValue(org.w3c.dom.Element $1, java.lang.String $2, java.lang.String $3, boolean $4, javax.wsdl.Definition $5) throws javax.wsdl.WSDLException;" instead?

    [javac] Found 1 semantic error compiling "T:/apps/psesp/src/org/apache/wsif/wsdl/extensions/jms/JMSFaultPropertySerializer.java":

    [javac]                     <-----------------------------------
    [javac]    204.             DOMUtils.getQualifiedAttributeValue(
    [javac]    . . .
    [javac]    208.                 false);
    [javac]         --------------------->
    [javac] *** Error: No applicable overload for the method named "getQualifiedAttributeValue" was found in type "com/ibm/wsdl/util/xml/DOMUtils". Perhaps you wanted the overloaded version "javax.xml.namespace.QName getQualifiedAttributeValue(org.w3c.dom.Element $1, java.lang.String $2, java.lang.String $3, boolean $4, javax.wsdl.Definition $5) throws javax.wsdl.WSDLException;" instead?

    [javac] Found 1 semantic error compiling "T:/apps/psesp/src/org/apache/wsif/wsdl/AuthenticatingProxyWSDLLocatorImpl.java":

    [javac]     79. public class AuthenticatingProxyWSDLLocatorImpl implements javax.wsdl.xml.WSDLLocator {
    [javac]                      ^--------------------------------^
    [javac] *** Error: The abstract method "org.xml.sax.InputSource getBaseInputSource();", inherited from type "javax/wsdl/xml/WSDLLocator", is not implemented in the non-abstract class "org/apache/wsif/wsdl/AuthenticatingProxyWSDLLocatorImpl".

BUILD FAILED
file:T:/apps/psesp/build/wsif.xml:123: Compile failed; see the compiler error output for details.

Total time: 20 seconds