In my opinion you would need to make changes in the services and put a
front service layer which accepts required information in key value pair
(String-> String preferably). GenericValue is ofbiz framework dependent and
you should put depedency of this on to client.

On Tue, Jun 19, 2012 at 6:29 PM, Rohit N <[email protected]> wrote:

> Hi All,
>
> I have a basic question about the org.ofbiz.entity.GenericValue complex
> java object.
> I am implementing a RESTFul API layer as a component in the OFBiz. Here, I
> am exposing REST API to the external world and in turn I am trying to
> access the standard OFBiz web service in the layer code using Delegator and
> LocalDispatcher available in the web servlet context.
> My question here is when I want to call OFBiz service like "aimCCAuth" in
> org.ofbiz.accounting.thirdparty.authorizedotnet.AIMPaymentServices, if we
> observe the IN Parameter list, there are 2 parameters (credit card and
> orderPaymentPreference) mandatory with org.ofbiz.entity.GenericValue type.
> I dont know how to create this object since I am on the client side but
> within the OFBiz package as a component under /hot-deploy folder.
> Any light and help on this topic is greatly appreciated. I am stuck at
> this point.
>
> Thanks & Regards,
>
> Rohit
>



-- 
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: [email protected]
Mobile: +91 9910322604

Reply via email to