Bonjour, je suis newbie en SOAP et j'ai quelques questions.

J'ai créé un client et server avec jaxws qui communique très bien ensemble.

Maintenant je voudrais faire communiquer un client java et un server gSOAP (boîte noir pour moi).

Malheureusement j'ai toujours la même erreur :
==>> URL : 'http://localhost:7010/AffiliationService?wsdl'
==>> QName : '{http://www.example.com}AffiliationService'

Exception in thread "main" javax.xml.ws.WebServiceException: {http://www.example.com}AffiliationService is not a valid service. Valid services are:
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:204)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:172)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:82)
at javax.xml.ws.Service.<init>(Service.java:56)
at javax.xml.ws.Service.create(Service.java:697)
at client.Client.startClient(Client.java:50)
at client.Client.<init>(Client.java:30)
at client.Client.main(Client.java:26)
Ceci montre bien que le server n'a pas ce service 'AffiliationService' alors que je suis sûr du nom du service, j'ai bien vérifié la syntaxe, la case, etc.

Je crois savoir que jaxws demande par défaut la liste des services disponibles lors du "bind", mais gSOAP possède t il cette fonctionnalité ?

quand je fais un "http://localhost:7010/AffiliateUser?wsdl" avec le server SOAP java j'ai bien une page qui s'affiche avec les services disponibles.

par contre avec le server gSOAP, j'ai :
.
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<SOAP-ENV:Fault SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>HTTP GET method not implemented</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
et

HTTP/1.1 500 Internal Server Error
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 2864
Connection: close

Merci beaucoup de votre aide

Obelix