xmlrpc and GenericValue parameter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Pat
Reply | Threaded
Open this post in threaded view
|

xmlrpc and GenericValue parameter

Pat
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.