Foren

Use existing SOAP webservices

JOAO FERREIRA, geändert vor 11 Jahren.

Use existing SOAP webservices

New Member Beiträge: 10 Beitrittsdatum: 05.12.12 Neueste Beiträge
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
thumbnail
David H Nebinger, geändert vor 11 Jahren.

RE: Use existing SOAP webservices

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Use existing SOAP webservices

New Member Beiträge: 10 Beitrittsdatum: 05.12.12 Neueste Beiträge
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