Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
JOAO FERREIRA
Use existing SOAP webservices
December 19, 2012 8:39 AM
Answer

JOAO FERREIRA

Rank: New Member

Posts: 10

Join Date: December 5, 2012

Recent Posts

Hi there,

I am a newbie to Liferay. I am doing my first project with Liferay and i need your help.

I already have the SOAP Webservices that access the database created and fully functional. So i want my portlets to consume them.

Until now i only saw examples with Service Builder, where we create the database table and the webservice, but in my case, i only need to access an existing SOAP Webservice.

If anyone can give me an example i will appreciate.

Thanks
David H Nebinger
RE: Use existing SOAP webservices
December 19, 2012 9:14 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11471

Join Date: September 1, 2006

Recent Posts

This is no different than accessing a web service in a servlet.

You'll include in your portlet everything you need for your web service client and then invoke it when necessary.
JOAO FERREIRA
RE: Use existing SOAP webservices
December 21, 2012 2:07 AM
Answer

JOAO FERREIRA

Rank: New Member

Posts: 10

Join Date: December 5, 2012

Recent Posts

Thanks for your answer David.

Maybe i didn't expressed well on my first post.

Has i have told i already have SOAP webservices, and i want my portlets to make use of them.

Right now i am facing two main issues:
1 - I thought of creating one portlet with all webservices, so i could reuse webservices on multiple portlets. I don't know if this is the best approach, because i have never developed on this technology;

2 - The second problem is how i can create the same structure i get with the service builder, but from an existing web service (wsdl file)?

I will apreciate if someone could give me a practical example/demo.

Many thanks for your help