Bonjour,


J'essaye d'intégrer un service web dans une application existante.
J'ai copié les jar d'axis ainsi que le fichier server-config.wsdd dans web-inf/lib,

Lorsque je lance sur IE http://localhost:8083/Cotation.web/services
j'ai bien la description de mon service :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
    * MyService (wsdl)
          o add
          o subtract
          o concatAddSUB

Lorque j'ai lance http://localhost:8083/Cotation.web/services/MyService

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
MyService
 
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...


Jusque la tous va bien, ça ce complique :

losrque je lance //localhost:8083/Cotation.web/services/MyService?method=concatAddSUB&a=20&b=3

j'obtient ceci : targetService is null
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<soapenv:Envelope>
−
<soapenv:Body>
−
<soapenv:Fault>
<faultcode>ns1:Server.NoService</faultcode>
−
<faultstring>
The AXIS engine could not find a target service to invoke!  targetService is null
</faultstring>
−
<detail>
<ns2:hostname>kpkpc00331</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Lorque je lance //localhost:8083/Cotation.web/services/MyService?wsdl
j'obtiens

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
AXIS error
 
Could not generate WSDL!
 
There is no SOAP service at this location


Impossible donc de lancer mon service web.


Aide SVP.