RE: RE: JAX-WS and service javax.xml.ws.spi.Provider not registered

thumbnail
Eunice Silva, modified 3 Years ago. New Member Posts: 17 Join Date: 9/27/17 Recent Posts

Hy

I've been upgrading our app to work also in Liferay 7.3 so we can migrate all our clients to L iferay Portal 7.3.7 CE GA8 and no more to Liferay 6.2 (CE). So far so good, until I start with Soap webservices.

Our WAR app (with portlets) have soap webservices (JAX-WS) working in Application Server, independent of witch portal we had installed. In TomCat 7 (that have Liferay 6.2) it was easy expose with project Metro.

In Liferay Portal 7.3.7 (TomCat 9 and Java 8) nothing works, nor our app, nor any example that I find in the Internet (Liferay official sites or not official). And the only error I got is [code_jsp:173] {code="404

  1. Most examples are to Liferay versions 7.0 or earlier than Liferay 7.3. Any changes in Liferay 7.3?
  2. Is it necessary to install / activate any service / bundle / other??
  3. I find out that there is a service related to javax.xml.ws.spi.Provider. but when I type services "(objectClass=javax.xml.ws.spi.Provider)" the Output is "No registered services." Is that normal?

Can anyone help me? I know this is not an specific problem. But I will appreciate some guideline different.

thumbnail
Zsigmond Rab, modified 3 Years ago. Liferay Master Posts: 764 Join Date: 1/5/10 Recent Posts

Hi Eunice,

Have you found this sample: https://github.com/liferay/liferay-blade-samples/tree/7.3/liferay-workspace/apps/rest? That can be good starting point to find what is missing.

Regards,

Zsigmond

thumbnail
Eunice Silva, modified 3 Years ago. New Member Posts: 17 Join Date: 9/27/17 Recent Posts

Hi Zsigmond

I was only searching for SOAP and JAX-WS projects in Liferay, so no, I didn’t find that sample. But maybe I’ll find the solution with that rest sample. I will give it a try.

Thank you

Eunice