Hi Bilgin, The client can be in any RIA technology, I need to communicate with ofbiz from flex, in this case I guess I won't be able to use xmlrpc client.
Thanks, Abdullah On Mon, Feb 1, 2010 at 8:14 PM, Bilgin Ibryam <[email protected]> wrote: > 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 >> >> >> > Hi Abdullah, > > take a look at XmlRpcEventHandler.java. We use it to call ofbiz services by > sending data in xml format over http (using a xmlrpc client). The result is > also returned in xml format. > > Bilgin >
