Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

First steps on liferay web services

  • I followed this tutorial -documentation about Liferay Web service.
  • I runned Lifaray on tomcat
  • If I use http://localhost:8080/api/axis/Portal_UserService?wsdl by browser I have a response.
  • When I create a webService Client on Eclipse and I put this url http://localhost:8080/api/axis/Portal_UserService?wsdl in the Service Definition... but I have this error message:

    No server can be found and WebServiceProject does not exist. Choose an existing project or use the preferences to configure a server runtime.
    Why?

enter image description hereenter image description here

like image 933
Safari Avatar asked Apr 02 '13 10:04

Safari


People also ask

How do I create a Liferay Service?

From the Package Explorer, right-click on your service module and then select Liferay → build-service. Figure 1: Liferay Dev Studio DXP facilitates building Service Builder services via the *build-service* option in the service module's *Liferay* submenu. Service Builder generates plenty of files.

Is Liferay easy to learn?

Liferay is a Java-based platform, and it is easy to implement the application using different resources available in the market.


2 Answers

create dynamic web project and configure a server then add wsdl .

like image 70
Biswajit Avatar answered Oct 12 '22 19:10

Biswajit


This does not mean that the server (e.g. Liferay) can't be found but notifies you that Eclipse doesn't know where to put/how to configure the resulting WebService: It needs a server runtime and a WebServiceProject - e.g. you can create a WebServiceClient inside a project - if no suitable project exists, eclipse will complain.

So: Everything is fine on the Liferay side. You'll need infrastructure in your IDE to be able to go forward with this operation

like image 27
Olaf Kock Avatar answered Oct 12 '22 18:10

Olaf Kock