...
Ajouter le bean suivant dans applicationContext-custom.xml
| Bloc de code | ||||
|---|---|---|---|---|
| ||||
<bean id="esupSgcLivraisonExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtRestWs">
<property name="isTagableUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/isTagable"/>
<property name="validateTagUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/validateTag"/>
<property name="getLocationsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/locationsLivreur"/>
<property name="description" value="Web Service livraison SGC"/>
</bean> |
...
Ajouter le bean suivant dans applicationContext-custom.xml
| Bloc de code | ||||
|---|---|---|---|---|
| ||||
<bean id="esupSgcSearchExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtRestWs">
<property name="isTagableUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/isTagable"/>
<property name="validateTagUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/validateTag"/>
<property name="getLocationsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/locationsSearch"/>
<property name="description" value="Web Service Search SGC"/>
</bean> |
...
Ajouter le bean suivant dans applicationContext-custom.xml. Dans ce cas on ajoute la propriété displayUrl qui spécifie la vue qui sera affichée après le badgeage
| Bloc de code | ||||
|---|---|---|---|---|
| ||||
<bean id="esupSgcVersoExtApi" class="org.esupportail.nfctag.service.api.impl.AppliExtRestWs">
<property name="isTagableUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/isTagable"/>
<property name="validateTagUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/validateTag"/>
<property name="getLocationsUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/locationsVerso"/>
<property name="displayUrl" value="https://esup-sgc.univ-ville.fr/wsrest/nfc/verso"/>
<property name="description" value="Web Service Verso"/>
</bean> |
...