Vasile Bucur created AXIS2-5746:
-----------------------------------
Summary: 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
Priority: Blocker
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:
public DataList<CustomError> doUpdateAxis() {
// DataList ist not known, not present in TypesTable.
}
public Response doUpdateAxis() {
}
Where response look like
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;
}
Workarounds:
// in service class expose types
public DataList exposeDataList(){
return null;
}
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: [email protected]
For additional commands, e-mail: [email protected]