Hi,
I have a WebService operation that takes a JavaBean (A) as input parameter. It returns another JavaBean (C) that contains a Hashtable and a third JavaBean (B).
I have two problems employing this:
a) When I created the WSDL for the above operation, the Hashtable got converted to 'Map' (I did not find any XSD for Hashtable). Could somebody please let me know how to declare Hashtables to be used in WSDL?
b) I need to set the key of the Hashtable as one of the user Defined JavaBeans (complex-type). However, doing so and I am not able to retrieve the value on the client side. If I set the key as a
Java primitive type (
string), then all works well. Would somebody please explain why this would happen?
Can somebody help me out? If required, i can post teh sample code here as well.
Thanks in advance.
Regards,
Pratul Chakre