[jboss-user] [JBossWS] - Re: Newbee Q: Returning hashmaps
soch
do-not-reply at jboss.com
Tue Apr 29 21:14:10 EDT 2008
Am I supposed to use the @WebMethod annotation when returning complex datatypes?
The retailer e.g. at http://jbws.dyndns.org/mediawiki/index.php/Quick_Start has a method returning an object:
public class ProfileMgmtBean {
|
| @WebMethod
| public DiscountResponse getCustomerDiscount(DiscountRequest request) {
| return new DiscountResponse(request.getCustomer(), 10.00);
| }
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147681#4147681
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147681
More information about the jboss-user
mailing list