tags:

views:

75

answers:

1

Hello, 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

A: 

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