i have little experience with Liferay, builded a couple of sites with static content and built-in portlets and now I need to build my own portlet which consume a web service defined by a WSDL. Is there a "standard" way to do it? For standard I mean a way to reuse the libraries that already use Liferay for web services. I know that it uses Axis and I don't want to include another library in my portlet. Does Liferay have an interface for web services clients? Thanks in advance.
2
votes
1 Answers
4
votes
Liferay provides a web service client for calling Liferay services themselves through SOAP. But this is probably not what you're looking for.
Liferay has no standard for calling external web services. We've done this before in several projects and we had to write the customizations ourselves. Also, you cannot really reuse the Axis libraries Liferay uses, because they are on a different classpath. So unless you write your web service client inside an Ext plugin, you have to manually add WS dependencies yourself.