Web services for Nuxeo 5.8 using tomcat 7

Hi there.

I'm in the process of upgrading from nuxeo version 5.3 -> 5.8. We have switches from using jboss 4 to Tomcat/7.0.42. We have a number of webservices endpoints that were defined in the OSGI-INF/deployment-fragment.xml for a project. eg.

<endpoint name="mywebservice"
  implementation="com.MyWebServiceBean"
  url-pattern="/webservices/mywebservice" />

(I've been following the documentation here) http://doc.nuxeo.com/display/public/NXDOC58/Building+a+SOAP+based+WebService+in+Nuxeo

I've noticed in the code for the NuxeoRemotingBean you have different setup for the web service.

(wsendpoint-manager-framework.xml)

<endpoint name="nuxeoremoting" address="/nuxeoremoting" implementor="org.nuxeo.ecm.platform.ws.NuxeoRemotingBean" />

Which is the correct way to implement web services in nuxeo 5.8 on tomcat?

If both are valid what is difference between the two?

Thank you.

0 votes

1 answers

1470 views

ANSWER



You're right, the doc is not up to date. Ticket NXP-11921 changed the way we configure web services, see the upgrade notes in the ticket.

I'll ask our documentation team to update the doc you linked to.

1 votes



Thanks for clearing that up!
01/30/2014