From notifications-return-17352-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Sat Mar 24 11:38:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A7E7B18064F for ; Sat, 24 Mar 2018 11:38:09 +0100 (CET) Received: (qmail 40721 invoked by uid 500); 24 Mar 2018 10:38:03 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 40670 invoked by uid 99); 24 Mar 2018 10:38:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2018 10:38:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7AE621A02E1 for ; Sat, 24 Mar 2018 10:38:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id F0rSHBV0185E for ; Sat, 24 Mar 2018 10:38:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5E04D5FE6E for ; Sat, 24 Mar 2018 10:38:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B1474E0252 for ; Sat, 24 Mar 2018 10:38:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1466A214E9 for ; Sat, 24 Mar 2018 10:38:00 +0000 (UTC) Date: Sat, 24 Mar 2018 10:38:00 +0000 (UTC) From: "Rajesh Kumar Mallah (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-10317) Allowing XML-RPC and SOAP to pass GenericValue objects to services as IN fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-10317?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D164= 12515#comment-16412515 ]=20 Rajesh Kumar Mallah commented on OFBIZ-10317: --------------------------------------------- There is a=C2=A0 class Converters in package org.apache.ofbiz.base.conversi= on=20 which is being consulted in the conversion attempt (and bailing out current= ly) =C2=A0 {{2018-03-24 15:57:07,914 |http-nio-8443-exec-2 |*Converters* |W| *** No co= nverter found, converting from java.util.HashMap to org.apache.ofbiz.entity= .Gen}} {{ericValue. Please report this message to the developer community so a sui= table converter can be created. ***}} {{2018-03-24 15:57:07,914 |http-nio-8443-exec-2 |ObjectType |I| No type con= version available for java.util.HashMap to org.apache.ofbiz.entity.GenericV= al}} {{ue, returning original object.}} =C2=A0 =C2=A0 > Allowing XML-RPC and SOAP to pass GenericValue objects to services as IN = fields > -------------------------------------------------------------------------= ------ > > Key: OFBIZ-10317 > URL: https://issues.apache.org/jira/browse/OFBIZ-10317 > Project: OFBiz > Issue Type: Improvement > Components: framework/webtools > Affects Versions: 16.11.04 > Reporter: Rajesh Kumar Mallah > Priority: Major > > =C2=A0 > The existing framework allows invoking=C2=A0 various services via XMLRPC = or SOAP=20 > as per their argument expectations. However only basic types are handled > like String , Boolean , Int etc. If a service is expecting a GenericValue= eg: 'calculateProductPrice'=C2=A0=C2=A0 it is not possible to invoke it vi= a SOAP or XMLRPC. > The reason being SOAP or XMLRPC can support Map and that is the closest= =20 > it can provide in lieu of any custom Object that a Service might be expec= ting. > A generic solution needs to be found so that the full potential of the pl= ethora of=20 > exportable services can be utilized by external systems that looks for in= tegrating and=20 > banking upon OfBiz via XMLRPC or SOAP. > h6. related Threads: > [How to pass org.apache.ofbiz.entity.GenericValue using XMLRPC] > [https://markmail.org/message/dwako4nsu4h3zgmu] [ dev ] > [https://markmail.org/message/iuffmakor3ru2yce] [user] > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)