I think you can just use @webservice annotation at the interface/class
level. Internal method parameters get appropriately mapped by CXF.

If you are using CXF, you don't need to manually use Java2WSDL command.
You WSDL will be available on-demand through CXF servlet.

Regards,
Ramanand Singh

-----Original Message-----
From: shaminda perera [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 10, 2007 6:43 AM
To: [email protected]
Subject: Java First approach, annotating method

Hi all,

I need to know the annotations required when having a web method as
below:

java.util.Map getXXXXX (com.company.somebean bean)

Mainly i am concerned about the Map. for example, how do i specify the
types
(class names) of the entities inside the map, (both key and value)
pairs.

After doing these annotations for this web method, then i will be using
the
Java2WSDL tool to generate the WSDL.


Thanks in advance for any help/feedback

Cheers
Mahen
====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.

Reply via email to