Hi Abdullah,

On my current project, we initially used xml-rpc using a flex xmlrpc library sent to me by Andrew Zeneski.

We had tried using the new ofbiz soap implementation, but it didn't play nicely with flex.

Have a look at XMLRPC in the faq: http://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo

If you want a more optimised communication between flex and ofbiz, you can try BlazeDS:

http://langhua.org/portal/portal/default/OFBiz/OFBizBlazeDSModulePortletWindow?windowstate=maximized

Cheers,

Chris




Abdullah Shaikh wrote:
Hi All,

I want to develop a flex application which will interact with ofbiz using
xml.

I just had a cursory view of xmlrpcclient & xmlserializer, has anybody done
this ? what will be the best way to have ofbiz output xml ?

I have seen that GenericValue can be easily converted to xml form.

The request can be in xml form or can be a normal http request, but the
response from ofbiz should be in xml form, for example something like this,

<Orders>
<Order id="1" status="Approved"/> - all the required fields
<Order id="2" status="Created"/>
</Orders>

<Parties>
<Party firstname="abc" lastname="xyz"> - all the required fields
</Parties>

This way we can have a flex application communicate with ofbiz using xml
over http, I think flex don't understand json, so we need to go the xml way
and also the benefits of xml is that with this approach ofbiz can interact
with any kind of RIA technology.


Thanks,
Abdullah


Reply via email to