[ 
https://issues.apache.org/jira/browse/OFBIZ-3798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877571#action_12877571
 ] 

Nicolas Malin commented on OFBIZ-3798:
--------------------------------------

Hi Adrian, 

I understand your suggest but I think it's not a good solution. I explain ;)

XMLRPC Authentification or information for https connexion are a problem by 
engine/technology use. When a functionnal developper create a service, He 
should not worry about by technological environment, and if existant service 
are migrate, we don't change the service source code to add needs informations. 
For me when you migrate a service (java to xml-rpc) you just change service 
definition.

Currently, I have a project with three xml-rpc servers to contact, and it's 
possible these server change. If authentification information are set in 
attribute, when service move from xml-rpc to soap or json, I change in 
functionnal code the service call. Is why I search a solution to abstract 
technical information as authentification on xml-rpc server.  

This problem is the same than delegator where you can give information to 
database connexion or configuration by entityengine.xml but isn't not possible 
in serviceengine.xml to do that (maybe I miss it)
My second solution isn't good. I think it's the first solution who is the more 
usefull and evolutionary. Peraphs I amn't found the best solution to define it.

I will begin an addon with the first solution, I do a return it's good 
implementation ;)

Nicolas

> Add xml-rpc engine on serviceengine
> -----------------------------------
>
>                 Key: OFBIZ-3798
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3798
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: xml-rpc.diff, XmlRpcEngine.patch
>
>
> I add a generic service to call xml-rpc server. The goal is to have a 
> technical interface to make calls directly from mini-lang.
> The first patch it's my draft. I don't know where I do the service 
> definition. I add a servicedef in framework/webapp, I move service on 
> framework/common ? any suggest are welcom ;)
> Nicolas

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to