Apache Axis 1.4 problem with generics or composite datatypes
I have a class XMLDataCarrier which has a map attribute 开发者_运维知识库 Map (Integer, XMLDataListWrapper)catPriorityXMLDataMap.
The class XMLDataListWrapper has just a list of strings private List (String) xmlString; All classes i.e. XMLDataCarrier,XMLDataListWrapper implement serializable and have serializable id This data is exposed via a webservice developed using Axis 1.4
The problem is that when the map catPriorityXMLDataMap is populated with instance of XMLDataListWrapper it cannot be retieved by the webservice client. A close look at the stubs generated for client shows absence of reference to XMLDataListWrapper
I am at a loss to explain why. Does axis 1.4 support generics? Is that an issue?
Thank you in advance Sameer
Note: I have not used angle brackets for generics as it causes problems here on display
I think i found the issue. Need to generated JAX-WS stubs which support generics instead of RPC stubs. http://users.skynet.be/pascalbotte/rcx-ws-doc/seiclient.htm#SEIDOCLITCOMPLEX
精彩评论