[axis] Problème d'accès webservice
Bonjour,
je suis en train de mettre en place une application qui nécessite l'appel à divers webservices.
l'accès se configure via un fichier configUrlServices.properties qui définit les urls des services en question.
Cependant, lorsque j'essaie d'accéder à un webservice (n'importe-lequel), j'obtiens l'erreur suivante :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| Java Exception levée de type java.lang.NumberFormatException: For input string: ""
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NumberFormatException: For input string: ""
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:640)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at gouv.education.apogee.commun.client.ws.administratifmetier.AdministratifMetierSoapBindingStub.recupererIAAnnuelles(Unknown Source)
at testwsclient.TestWSAdministratifMetier.recupererIAAnnuelles(TestWSAdministratifMetier.java:138)
at testwsclient.TestWSAdministratifMetier.main(TestWSAdministratifMetier.java:75)
{http://xml.apache.org/axis/}hostname:<nom_du_serveur>
java.lang.NumberFormatException: For input string: ""
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at gouv.education.apogee.commun.client.ws.administratifmetier.AdministratifMetierSoapBindingStub.recupererIAAnnuelles(Unknown Source)
at testwsclient.TestWSAdministratifMetier.recupererIAAnnuelles(TestWSAdministratifMetier.java:138)
at testwsclient.TestWSAdministratifMetier.main(TestWSAdministratifMetier.java:75)
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:640)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
... 12 more |
Je ne sais pas ce que cela signifie, c'est comme si le paramètre que je lui donne n'est pas pris en compte.
Quelqu'un aurait-il une idée ?
Merci d'avance
*EDIT*
Après expérimentation, le webservice n'est pas en cause, ça vient donc bien de ma façon de configurer l'accès... Je vais poursuivre les recherches