I am programmatically, trying to determine if I need <beanMapping>/<typeMapping> 
elements in my WSDDService deployment.

If I use java reflection on the candidate methods for Web Service deployment and look 
at the return type and parameter list to see if any of these are NON java basic types 
then they become <typeMapping>s which I will include in the WSDDService as 
WSDDTypeMappings.

Current constraint is that no special serializer/deserializers are required for any 
non-basic type.
Only the default BeanSerializer and BeanDeserFactor.

Assuming the above is correct, the questions I then have are:
1-I assume I must then 'reflect' on these non basic types then.
2-a:if that is true, then do I limit my introspection of this 'bean' to just get/set 
methods?
   b:all methods?
   c:fields?
   d:Any 'modifer' considerations?
3-So, continually walk the tree down until 'only' basic java types are in the 
signatures.

Any other comments are welcome too.

thanks,
 chris





Chris Peake     
Computer Associates
Software Engineer
tel: +1 214 473 1375
fax: +1 214 473 1168
[EMAIL PROTECTED]


Reply via email to