Create waraper to process ofbiz soap service response
How to call soap service is describe in my previous post. http://tariqliferay.blogspot.com/2015/09/how-to-create-soap-client-for-ofbiz.html Here you get response as OMElement. Then you need to process this. Now i show how can you make pojo/dto class from response for further need. Think you get campaign list in response as key="campaignList" and value list a list of campaign. First create dto/pojo class as your requirement. Here below a sample dto: import java.io.Serializable; /** * @author tariq * */ public class Campaign implements Serializable{ public String campaignName = null; public String campaignType = null; public String contentId = null; public String createdStamp = null; public String createdTxStamp = null; public String emailSubscription = null; public String lastUpdatedStamp = null; ...