[METRO][RPC] migration de AXIS 1.4 vers METRO
Bonjour,
Je souhaite utiliser la pile METRO pour remplacer la pile AXIS 1.4 déjà en place dans une application.
Axis 1.4 était paramétré avec les options par défaut.
Une requete Axis1.4 :
Code:
1 2 3 4 5 6 7 8 9
| <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsf="http://wsFicCot.ws.kccck.com">
<soapenv:Header/>
<soapenv:Body>
<wsf:concatAddSUB soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<i1 xsi:type="xsd:string">21</i1>
<i2 xsi:type="xsd:string">1</i2>
</wsf:concatAddSUB>
</soapenv:Body>
</soapenv:Envelope> |
Le résultat de la requête AXIS1.4 :
Code:
1 2 3 4 5 6 7
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:concatAddSUBResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://wsFicCot.ws.kccck.com">
<concatAddSUBReturn xsi:type="xsd:string">20|22</concatAddSUBReturn>
</ns1:concatAddSUBResponse>
</soapenv:Body>
</soapenv:Envelope> |
Vu depuis le client du service web, le passage de AXIS vers METRO doit être invisible.
Comment configurer METRO via les annotations pour obtenir le même binding et encodage que Axis 1.4 ?
Merci d'avance.
HELP !