Thanks a lot Jacques! What happened is that I spent most of my time debugging and trying to solve SOAPClientEngine. Unfortunately, I didn't get to any result.
I then tried to work on the solution with Camel. I also found a project previously made which already integrates Ofbiz & Camel (that's the project link: https://github.com/bibryam/ofbiz-camel <https://github.com/bibryam/ofbiz-camel> ) I also had few problems with it. BTW did anyone use it before? Which got me to finally try to use XStream. I spent some time reading tutorials about it... ==>I will continue with XStream and my previous code tomorrow. As soon as I have a solution, I will be posting it. Cheers, Jacques Le Roux wrote > 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) > > HTH > > Jacques > > On Wednesday, December 04, 2013 10:10 AM jadelomeiri < > [email protected] > > wrote: >> 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 this message in context: http://ofbiz.135035.n4.nabble.com/calling-external-SOAP-service-from-Ofbiz-tp4646036p4646086.html Sent from the OFBiz - User mailing list archive at Nabble.com.
