ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Le Roux <jacques.le.r...@les7arts.com>
Subject Re: calling external SOAP service from Ofbiz
Date Wed, 04 Dec 2013 10:18:57 GMT
For the license issue, it's only in the context of redistributing with an incompatible license,
like OFBiz with ASL2. As Adrian said we use XStream in OFBiz.

I believe it should be possible to go with the SOAPClientEngine class way. But it will never
be possible to handle all cases.

As I see it, depending of the order of magnitude (number of external SOAP services) and their
complexity, here are the solutions in increased order:

1) Improve SOAPClientEngine if your services are not too complex
2) Generate Stub from WSDL using wsdl2Java and use cover OFBiz services to handle call to
external SOAP services and possible mappings.
3) Use a tool like XStream or Smooks for transformations
4) Use an ESB or a complete solution with Camel + ServiceMix bundles (if necessary)



On Wednesday, December 04, 2013 10:10 AM jadelomeiri <jadelomeiri@robertheath.co.uk>
> Thank you all for your help. Thank you Jacques for pointing out the Smooks
> licensing issue. As a conclusion JiBX looks like it's the best way to go?
> BTW before I continue working on my code, I think I will try to look at the
> SOAPClientEngine.java class in Ofbiz to see if the exceptions that are being
> thrown can be fixed. Wouldn't it be a wiser way to go in finding a solution?

View raw message