Bonjour,
Est-ce que vous savez comment créer un webservice sous liferay 5.2.3 avec Netbeans 6.5 et le PortalPack 3.0
Je débute sur tous les points (java web, java webservice et liferay) et je me sens un peu perdu.
J'ai bien trouvé ca sur le net :
"
1. Create service using ServiceBuilder;
2. Create new package apart from your portlet and create an interface there with all service methods;
3. Use Apache Axis' Java2WSDL and WSDL2Java to create all soap classes and deploy.wsdd;
4. Find YourServiceSoapBindingImpl.java and write implementations for all methods to call corresponding YourServiceUtil methods, generated by ServiceBuilder;
5. Build this package and put it into tomcat/webapps/ROOT/WEB-INF/lib folder;
6. Take <service> tag from generated deploy.wsdd file and copy-paste it into tomcat/webapps/tunnel-web/WEB-INF/server-config.wsdd near other services;
7. Copy the jar generated with ServiceBuilder into tomcat/common/lib/ext;
8. Stop, then start tomcat, deploy your portlet;
9. Check http://localhost:8080/tunnel-web/axis for your service. It should be there.
"
mais j'ai un gros flou sur le point 4.
Mon but final est d'avoir un webservice qui déclenche une action sur le portail et renvoi un accusé de "bonne réalisation" a l'appelant du webservice.
Au final, je ne suis pas sur d'avoir besoin de créer une portlet.
Si quelqu'un à déjà rélalisé un webservice, ca m'aiderait bien.
Partager