Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: RE: JAX-WS and service javax.xml.ws.spi.Provider not registered
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
- Most examples are to Liferay versions 7.0 or earlier than Liferay 7.3. Any changes in Liferay 7.3?
- Is it necessary to install / activate any service / bundle / other??
- 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.
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
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
Powered by Liferay™