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)" <ji...@apache.org> on 2016/04/19 00:40:25 UTC

[jira] [Resolved] (AXIS2-5746) Axis2 update from 1.6.2 to 1.7.1 missing types, web service operation doesn't work anymore

     [ https://issues.apache.org/jira/browse/AXIS2-5746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-5746.
------------------------------------
    Resolution: Incomplete

> Axis2 update from 1.6.2 to 1.7.1 missing types, web service operation doesn't work anymore
> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5746
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5746
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding, kernel
>    Affects Versions: 1.7.1
>            Reporter: Vasile Bucur
>
> Hi,
> i've update recently our axis2 from 1.6.2 to 1.7.0 and at the begining no ws was working anymore. I saw afterwards that 1.7.1 was released installed that one and worked till i've started to check ever operation in my services.
> The Problem: Object structure as return types. I knew that was a problem before and some types need to be exposed directly in service but now after the update some types that were before working now don't work anymore. The same thing with generic classes... a bit dissapointed i may say, i was positive surprised about the maps and lists as return types and now it's even worste as before. Some examples that in 1.6.2 have worked and now doesn't work anymore:
> {code}
> public DataList<CustomError> doUpdateAxis() {
>     // DataList ist not known, not present in TypesTable.
> }
> public Response doUpdateAxis() {
>  
> }
>  {code}
> Where response looks like:
>  {code}
> public class Response {
>     private Header header;
>     private Content content;
>    // getters, setters section
> }
>  
> public class Content {
>     // here can be everything, of course some of these types will not be found in TypesTable
>     private Object payload;
> }
> {code}
> Workarounds:
> {code}
> // in service class expose types
> public DataList exposeDataList(){
>    return null;
> }
> {code}
> Any ideas why axis can't do this by itself object structure? Some other experierences? Why is after update wrong, I mean we have enum support now but stuff isn't working anymore!
>  
> Thanks and regards,
> Vasile



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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