Hello,
Please bear with me, I am new to CXF. 

I am doing a Java first development and I have one webservice method called
addProductInfo, which takes a paramter, ProductInfo. 


@WebService(name = "ProductInfo",
        targetNamespace = "http://vibes.contentmanagement";)
public interface IAddProductInfo extends Serializable {
        @WebMethod(operationName="addProductInfo", action="urn:addProductInfo") 
        @WebResult(name="return")
        public Integer addProductInfo(@WebParam(name="productInfo")BaseProduct
product);
}

My BaseProduct class is as follows:

public class BaseProduct extends BaseEntity {

    private String name = "";
    private String description;
    private float price;
    private String keyword = "";
    private String shortCode;
}

All the fields are required except, keyword and short code! How do I
annotate the webmethod and the individual fields on the BaseProduct class?

Can someone point me to right documentations.

Thanks
Matt




-- 
View this message in context: 
http://www.nabble.com/Help-in-annotating-Java-beans-as-paramater-to-a-web-service%21-tf4379704.html#a12484583
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to