ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen van der Wal <jvander...@stromboli.it>
Subject Re: xml engine / handler
Date Mon, 01 Feb 2010 16:18:49 GMT
Hi Chris,

We're also a big fan of REST but have not taken time to work on a solution
like you mentioned. Are you willing to share what you have done so far?

Thanks,

Jeroen van der Wal
Stromboli b.v.
+31 655 874050


On Mon, Feb 1, 2010 at 4:53 PM, Christopher Snow <
snowch@snowconsulting.co.uk> wrote:

> Sorry - just seen this.
> The approach we currently use is having a dedicated web app in ofbiz which
> is used to expose ofbiz services using REST (the organisation favors REST) .
>  We are using the jersey rest libraries.
>
> I believe our flex guy is using HTTPService to communicate with rest.
>
> Cheers,
>
> chris
>
>
> Abdullah Shaikh wrote:
>
>> Hi Chris,
>>
>> I don't want to use xml-rpc but instead would like to use Flex
>> HTTPService,
>> I guess xml-rpc would work with HTTPService.
>>
>> Basic idea is to create a xml over http communication between ofbiz & any
>> other RIA, so that we can make ofbiz communicated with flex, gwt etc.
>>
>> I will have a look at the link provided.
>>
>> Thanks,
>> Abdullah
>>
>> On Mon, Feb 1, 2010 at 8:09 PM, Christopher Snow <
>> snowch@snowconsulting.co.uk> wrote:
>>
>>
>>
>>> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message