|
Hello,
I am trying to access to "calculateProductPrice" service from a standalone Java program in order to get the price of a product. This service requires a product as .
When I send the product as a Map (struct in xmlrpc protocol), I have the following error :
Type check failed for field [calculateProductPrice.product]; expected type is [org.ofbiz.entity.GenericValue]; actual type is [java.util.HashMap]
Someone knows how to send a GenericValue to a xmlrpc Ofbiz service?
Same problem when I use "Web tools" / "Run service" with {productId=myid, ...} but with error: ...actual type is [javolution.util.FastMap].
Any help will be greatly appreciated!
Regards,
Pat.
|