axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasile Bucur (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AXIS2-5746) Axis2 update from 1.6.2 to 1.7.1 missing types, web service operation doesn't work anymore
Date Mon, 14 Mar 2016 10:20:33 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193043#comment-15193043
] 

Vasile Bucur edited comment on AXIS2-5746 at 3/14/16 10:20 AM:
---------------------------------------------------------------

Hi [~veithen] . I'll prepare it and send it over email. Thanks in advance!


was (Author: vbucur):
Hi [~veithen]] . I'll prepare it and send it over email. Thanks in advance!

> 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


Mime
View raw message