I think I got it right now. Lets say for the above service the following are
the IN Parameters:

billToEmail                     org.ofbiz.entity.GenericValue   IN
billToParty                     org.ofbiz.entity.GenericValue   IN
billingAddress                  org.ofbiz.entity.GenericValue   IN
creditCard                      org.ofbiz.entity.GenericValue   IN
currency                                                String  IN
customerIpAddress                                       String  IN
locale  True                            java.util.Locale        INOUT
login.password                                          String  IN
login.username                                          String  IN
orderId                                                 String  IN
orderItems                                              List    IN
orderPaymentPreference          org.ofbiz.entity.GenericValue   IN

In the above list, the parameters with org.ofbiz.entity.GenericValue type
directly correlates to a database Entity. We have to create an corresponding
object of type org.ofbiz.entity.GenericValue i.e. GenericValue billToParty =
new GenericValue(delegator.getModelEntity("Party"));
Populate the above object with all the required fields in the Entity
definition and send the same in the service context to the server.
Please correct me if I am wrong. 

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/GenericValue-object-OFBiz-Web-services-tp4633758p4633761.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to