Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
Silicon Smith
Is communication between an application and liferay possible??
2 dicembre 2011 13.21
Risposta

Silicon Smith

Punteggio: New Member

Messaggi: 21

Data di Iscrizione: 4 ottobre 2011

Messaggi recenti

Hello all,

is there any way that we can develop communication between an application (programmed in java) and Liferay?? for example I want to search through all the documents and web content in Liferay providing search input from that application (with whom we want to communicate) and search results being displayed in liferay. If yes, could you please explain what process to follow. ..?? I hope I am able to explain clearly. thanks in advance for the all the replies. Highly appreciated.

Manjinder
David H Nebinger
RE: Is communication between an application and liferay possible??
2 dicembre 2011 13.34
Risposta

David H Nebinger

Punteggio: Liferay Legend

Messaggi: 6975

Data di Iscrizione: 1 settembre 2006

Messaggi recenti

Liferay has a number of services exported as web services, so your java app can communicate w/ Liferay though these web services.

I'd start by going through the portal-client.jar file and see if the data you want to access is available from there...
Tina Agrawal
RE: Is communication between an application and liferay possible??
12 dicembre 2011 1.53
Risposta

Tina Agrawal

Punteggio: Expert

Messaggi: 255

Data di Iscrizione: 2 gennaio 2008

Messaggi recenti

Hi,

You can use Web Services for the same. Just check what webservices are exposed by liferay and use accordingly.

Regards,
Tina Agrawal
Hitoshi Ozawa
RE: Is communication between an application and liferay possible??
12 dicembre 2011 3.22
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

Liferay has interfaces such as web service, JSON, and Java RMI.

If it's just search, it's also possible to use Solr as a search engine and do a search directly on Solr and create a portlet to display a result.
Jan Gregor
RE: Is communication between an application and liferay possible??
22 dicembre 2011 2.57
Risposta

Jan Gregor

Punteggio: Regular Member

Messaggi: 224

Data di Iscrizione: 20 ottobre 2010

Messaggi recenti

Well, the answer is, yes there is a way.

First question you need to ask yourself is, where is the application running ? Is it in the same container as Liferay, or outside this container. By first option you have number of possibilities ,how you can establish communication. By the second point you will either way need to use the WS from Liferay, which are limited as just couple of services are available thru WS. You can also build your own WS, or use WSRP if your application is running as a portlet in remote container.

Regards,
Jan,
Silicon Smith
RE: Is communication between an application and liferay possible??
22 dicembre 2011 7.15
Risposta

Silicon Smith

Punteggio: New Member

Messaggi: 21

Data di Iscrizione: 4 ottobre 2011

Messaggi recenti

Thanks Jan,

Its between liferay and different application on different container.... I am trying to use SOAP .... I am still trying to figure out how I can generate code from WSDL file in eclipse provided by liferay...

Manjinder
David H Nebinger
RE: Is communication between an application and liferay possible??
22 dicembre 2011 8.13
Risposta

David H Nebinger

Punteggio: Liferay Legend

Messaggi: 6975

Data di Iscrizione: 1 settembre 2006

Messaggi recenti

If you're using java6, you can use the wsimport command to generate jaxws code using the wsdl file.
Silicon Smith
RE: Is communication between an application and liferay possible??
5 gennaio 2012 12.22
Risposta

Silicon Smith

Punteggio: New Member

Messaggi: 21

Data di Iscrizione: 4 ottobre 2011

Messaggi recenti

Hello David,

Thank you very much for your reply. Is there any wsdl file in tunnel-web/axis for search portlet?? from where we can search anything within liferay web content, documents library, wikis, etc... I need to create a web service client for liferay's search portlet in my application.. thank you all in advance,,

Best Regards
Manjinder
David H Nebinger
RE: Is communication between an application and liferay possible??
5 gennaio 2012 13.04
Risposta

David H Nebinger

Punteggio: Liferay Legend

Messaggi: 6975

Data di Iscrizione: 1 settembre 2006

Messaggi recenti

Since Liferay's using Axis, you can point wsimport at the URL for the web service and tack a "?wsdl" on the end to get the wsdl from the web service.
Priyadarshini Sinha
RE: Is communication between an application and liferay possible??
12 gennaio 2012 0.20
Risposta

Priyadarshini Sinha

Punteggio: New Member

Messaggi: 3

Data di Iscrizione: 6 gennaio 2012

Messaggi recenti

Hi,
can anyone send me a link for the tutorial of liferay for a newcomer.

thanks
Silicon Smith
RE: Is communication between an application and liferay possible??
12 gennaio 2012 7.10
Risposta

Silicon Smith

Punteggio: New Member

Messaggi: 21

Data di Iscrizione: 4 ottobre 2011

Messaggi recenti

http://www.liferay.com/documentation/liferay-portal/6.1/community-resources

I recommend you to go through the Portal Administrator Guide (PDF). And if you have any question to discuss just search through the forums and if still not clear, we all are here to help you.

Regards
sandeep tripathi
RE: Is communication between an application and liferay possible??
16 gennaio 2012 23.13
Risposta

sandeep tripathi

Punteggio: Regular Member

Messaggi: 100

Data di Iscrizione: 19 ottobre 2011

Messaggi recenti

Hi Everyone,

i want to connect the user between my application and Liferay the user are created on my application database and i am using one admin user to manage my liferay page .
now we want to include blogs portlet on liferay pages but this portlet do not allow guest user to comment or add rating, with the help marteen
i was able to comment on blog but how we capture the details of application user in liferay pages we are passing the value of user on theme and setting as session variable if any body have any idea or suggestion then please help .


Regards
Sandeep
Silicon Smith
RE: Is communication between an application and liferay possible??
30 gennaio 2012 7.43
Risposta

Silicon Smith

Punteggio: New Member

Messaggi: 21

Data di Iscrizione: 4 ottobre 2011

Messaggi recenti

Hello everybody,

I finally was able to get the response from document library in my application.... Documents names (just names) related to search keywords are being displayed in my application.. Now my next question is .......... Is it possible if contents of the documents can actually be displayed in the application, i.e documents not being opened in liferay. Like somehow we can get binary file of the documents as a response via web service?? Thanks all in advance...

Regards
Himanshu Modi
RE: Is communication between an application and liferay possible??
21 marzo 2012 11.40
Risposta

Himanshu Modi

Punteggio: New Member

Messaggi: 13

Data di Iscrizione: 27 luglio 2011

Messaggi recenti

Hi Smith,

I also have similar kind of use case.
I have two applications say AppA(programmed in java) and AppB (Liferay portal).
Now I want to search through all the user, documents web content, etc of AppB (Liferay) providing search input in AppA and getting the result also in AppA.
Could you please let me know how you did in your case?
Did you use Web Service?
Does liferay provide web service for search functionality also?
I have searched but I did not find any web serevice for search.

Thanks in advance.

Regards,
Himanshu
Silicon Smith
RE: Is communication between an application and liferay possible??
22 marzo 2012 14.35
Risposta

Silicon Smith

Punteggio: New Member

Messaggi: 21

Data di Iscrizione: 4 ottobre 2011

Messaggi recenti

Yes I used web service.......and if you will try to search in the document library web service, you can't find search functionality there.... to search documents and web content via web service, use search service in "AssetService" wsdl file. Let me know if u have any more questions....
Himanshu Modi
RE: Is communication between an application and liferay possible??
26 marzo 2012 0.04
Risposta

Himanshu Modi

Punteggio: New Member

Messaggi: 13

Data di Iscrizione: 27 luglio 2011

Messaggi recenti

Silicon,
Thanks for your qucik reply.

I am using Liferay 6.1 GA version. I cannot find any wsdl file related to AssetService.
I found .wsdd files related to AssetEntry.
Could you please describe in detail like what file you used for locating the service? and how did you generate web service client files ?


Thanks,
Himanshu Modi
Silicon Smith
RE: Is communication between an application and liferay possible??
26 marzo 2012 8.01
Risposta

Silicon Smith

Punteggio: New Member

Messaggi: 21

Data di Iscrizione: 4 ottobre 2011

Messaggi recenti

Yes its AssetEntry Service.... I am sorry....
there should be a search function in this service.... I used liferay 6.0..... it should be in AssetEntryService.....