掲示板

Use existing SOAP webservices

11年前 に JOAO FERREIRA によって更新されました。

Use existing SOAP webservices

New Member 投稿: 10 参加年月日: 12/12/05 最新の投稿
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
11年前 に David H Nebinger によって更新されました。

RE: Use existing SOAP webservices

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
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.
11年前 に JOAO FERREIRA によって更新されました。

RE: Use existing SOAP webservices

New Member 投稿: 10 参加年月日: 12/12/05 最新の投稿
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