You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ax...@ws.apache.org> on 2012/09/10 21:58:07 UTC

[jira] [Created] (AXIS-2875) Axis not buildable with Java 1.6

Andreas Veithen created AXIS-2875:
-------------------------------------

             Summary: Axis not buildable with Java 1.6
                 Key: AXIS-2875
                 URL: https://issues.apache.org/jira/browse/AXIS-2875
             Project: Axis
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Andreas Veithen
            Assignee: Andreas Veithen
            Priority: Minor
             Fix For: 1.4.1


Axis currently can't be built with Java 1.6. The reason is that Axis implements an older version of the SAAJ specs, but Java 1.6 contains the latest SAAJ version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS-2875) Axis not buildable with Java 1.6

Posted by "Andreas Veithen (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS-2875.
-----------------------------------

    Resolution: Fixed
    
> Axis not buildable with Java 1.6
> --------------------------------
>
>                 Key: AXIS-2875
>                 URL: https://issues.apache.org/jira/browse/AXIS-2875
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> Axis currently can't be built with Java 1.6. The reason is that Axis implements an older version of the SAAJ specs, but Java 1.6 contains the latest SAAJ version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS-2875) Axis not buildable with Java 1.6

Posted by "Hudson (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452808#comment-13452808 ] 

Hudson commented on AXIS-2875:
------------------------------

Integrated in axis-trunk #133 (See [https://builds.apache.org/job/axis-trunk/133/])
    AXIS-2875: Set the appropriate system properties so that the SAAJ unit tests can be executed on Java 1.6 (and actually test the Axis SAAJ implementation). This is necessary because Axis doesn't contain META-INF/services/* resources for SAAJ. Note that we don't want to add these files because this would likely cause issues for applications that use both Axis 1.x and SAAJ 1.3. (Revision 1383258)

     Result = SUCCESS
veithen : 
Files : 
* /axis/axis1/java/trunk/pom.xml

                
> Axis not buildable with Java 1.6
> --------------------------------
>
>                 Key: AXIS-2875
>                 URL: https://issues.apache.org/jira/browse/AXIS-2875
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> Axis currently can't be built with Java 1.6. The reason is that Axis implements an older version of the SAAJ specs, but Java 1.6 contains the latest SAAJ version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS-2875) Axis not buildable with Java 1.6

Posted by "Hudson (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452562#comment-13452562 ] 

Hudson commented on AXIS-2875:
------------------------------

Integrated in axis-trunk #132 (See [https://builds.apache.org/job/axis-trunk/132/])
    AXIS-2875: Renamed a method that conflicts with a method in the superclass introduced in Java 1.6. Note that it is unlikely that this method is used by application code. (Revision 1383102)
AXIS-2875: Override SAAJ version so that we can build on Java 1.6. (Revision 1383094)

     Result = FAILURE
veithen : 
Files : 
* /axis/axis1/java/trunk/axis/src/main/java/org/apache/axis/i18n/ProjectResourceBundle.java

veithen : 
Files : 
* /axis/axis1/java/trunk/axis/pom.xml

                
> Axis not buildable with Java 1.6
> --------------------------------
>
>                 Key: AXIS-2875
>                 URL: https://issues.apache.org/jira/browse/AXIS-2875
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> Axis currently can't be built with Java 1.6. The reason is that Axis implements an older version of the SAAJ specs, but Java 1.6 contains the latest SAAJ version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS-2875) Axis not buildable with Java 1.6

Posted by "Andreas Veithen (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457872#comment-13457872 ] 

Andreas Veithen commented on AXIS-2875:
---------------------------------------

There is one remaining issue with Java 1.6. ComplexEchoServiceTestCase#test2ComplexEchoServiceEcho21 fails with the following error:

org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType
        at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:320)
        at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1052)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:158)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
        at org.apache.axis.client.Call.invoke(Call.java:2467)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at test.wsdl.echo.ComplexEchoServiceSoapBindingStub.echo2(ComplexEchoServiceSoapBindingStub.java:255)
        at test.wsdl.echo.ComplexEchoServiceTestCase.test2ComplexEchoServiceEcho21(ComplexEchoServiceTestCase.java:105)

This seems to be related by a difference in behavior when selecting the XML type for test.wsdl.echo.NamedValue[], as can be seen in the following debug logs.

Java 1.5:

15:48:36,735 [305967@qtp-25358555-3] DEBUG org.apache.axis.encoding.SerializationContext - Start serializing element; elemQName={http://types.echo.services}value; xmlType={http://www.w3.org/2001/XMLSchema}anyType; javaClass=class java.lang.Object; sendNull=null; sendType=null; value=[Ltest.wsdl.echo.NamedValue;@299629
15:48:36,735 [305967@qtp-25358555-3] DEBUG org.apache.axis.encoding.SerializationContext - Getting serializer for javaType=class [Ltest.wsdl.echo.NamedValue; and xmlType=null
15:48:36,735 [305967@qtp-25358555-3] DEBUG org.apache.axis.encoding.SerializationContext - Serializer is org.apache.axis.encoding.ser.ArraySerializer@b2175
15:48:36,735 [305967@qtp-25358555-3] DEBUG org.apache.axis.encoding.SerializationContext - Actual XML type is {http://types.echo.services}ArrayOfNamedValue
15:48:36,735 [305967@qtp-25358555-3] DEBUG org.apache.axis.encoding.SerializationContext - Start element {http://types.echo.services}value
15:48:36,735 [305967@qtp-25358555-3] DEBUG org.apache.axis.encoding.SerializationContext - Adding xsi:type attribute for type {http://types.echo.services}ArrayOfNamedValue

Java 1.6:

16:48:38,309 [371070192@qtp-15735326-3] DEBUG org.apache.axis.encoding.SerializationContext - Start serializing element; elemQName={http://types.echo.services}value; xmlType={http://www.w3.org/2001/XMLSchema}anyType; javaClass=class java.lang.Object; sendNull=null; sendType=null; value=[Ltest.wsdl.echo.NamedValue;@5afaa824
16:48:38,309 [371070192@qtp-15735326-3] DEBUG org.apache.axis.encoding.SerializationContext - Getting serializer for javaType=class [Ltest.wsdl.echo.NamedValue; and xmlType=null
16:48:38,309 [371070192@qtp-15735326-3] DEBUG org.apache.axis.encoding.SerializationContext - Serializer is org.apache.axis.encoding.ser.ArraySerializer@15b57dcb
16:48:38,309 [371070192@qtp-15735326-3] DEBUG org.apache.axis.encoding.SerializationContext - Actual XML type is {http://types.echo.services}>MyElement2Response
16:48:38,309 [371070192@qtp-15735326-3] DEBUG org.apache.axis.encoding.SerializationContext - Start element {http://types.echo.services}value

                
> Axis not buildable with Java 1.6
> --------------------------------
>
>                 Key: AXIS-2875
>                 URL: https://issues.apache.org/jira/browse/AXIS-2875
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> Axis currently can't be built with Java 1.6. The reason is that Axis implements an older version of the SAAJ specs, but Java 1.6 contains the latest SAAJ version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS-2875) Axis not buildable with Java 1.6

Posted by "Hudson (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458474#comment-13458474 ] 

Hudson commented on AXIS-2875:
------------------------------

Integrated in axis-trunk #140 (See [https://builds.apache.org/job/axis-trunk/140/])
    AXIS-2875: Disabled the ComplexEchoServiceTestCase because it fails on Java 1.6 (as described in AXIS-2876). (Revision 1387469)

     Result = SUCCESS
veithen : 
Files : 
* /axis/axis1/java/trunk/integration/pom.xml

                
> Axis not buildable with Java 1.6
> --------------------------------
>
>                 Key: AXIS-2875
>                 URL: https://issues.apache.org/jira/browse/AXIS-2875
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> Axis currently can't be built with Java 1.6. The reason is that Axis implements an older version of the SAAJ specs, but Java 1.6 contains the latest SAAJ version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS-2875) Axis not buildable with Java 1.6

Posted by "Andreas Veithen (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457894#comment-13457894 ] 

Andreas Veithen commented on AXIS-2875:
---------------------------------------

Looks like this has to do with the fact that the order in which type mappings are defined in the generated WSDD file (see integration/target/work/test/wsdl/echo/deploy.wsdd) is different. That in turn appears to be connected to the order in which the methods of the service are processed:

Java 1.5:

      <parameter name="allowedMethods" value="echo echo2"/>

Java 1.6:

      <parameter name="allowedMethods" value="echo2 echo"/>
                
> Axis not buildable with Java 1.6
> --------------------------------
>
>                 Key: AXIS-2875
>                 URL: https://issues.apache.org/jira/browse/AXIS-2875
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> Axis currently can't be built with Java 1.6. The reason is that Axis implements an older version of the SAAJ specs, but Java 1.6 contains the latest SAAJ version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org