IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Services Web Java Discussion :

axis Server userException


Sujet :

Services Web Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre habitué
    Inscrit en
    Novembre 2006
    Messages
    9
    Détails du profil
    Informations forums :
    Inscription : Novembre 2006
    Messages : 9
    Par défaut axis Server userException
    Bonjour à tous,

    Lors d'une tentative de connexion : scelloApi.beginSession(login,pwd);
    je recois l'exception suivante:

    AxisFault

    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

    faultSubcode:

    faultString: java.lang.NullPointerException

    faultActor:

    faultNode:

    faultDetail:

    {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException

    at java.util.Hashtable.put(Hashtable.java:396)

    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)

    at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)

    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)

    at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)

    at org.apache.axis.client.Call.invokeEngine(Call.java:2583)

    at org.apache.axis.client.Call.invoke(Call.java:2553)

    at org.apache.axis.client.Call.invoke(Call.java:2248)

    at org.apache.axis.client.Call.invoke(Call.java:2171)

    at org.apache.axis.client.Call.invoke(Call.java:1691)

    at com.kotio.test.scellobox.axis.server.ScelloBoxAPIservSoapBindingStub.beginSession(ScelloBoxAPIservSoapBindingStub.java:548)

    at TestConnScello.main(TestConnScello.java:39)





    java.lang.NullPointerException

    at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)

    at org.apache.axis.client.Call.invoke(Call.java:2251)

    at org.apache.axis.client.Call.invoke(Call.java:2171)

    at org.apache.axis.client.Call.invoke(Call.java:1691)

    at com.kotio.test.scellobox.axis.server.ScelloBoxAPIservSoapBindingStub.beginSession(ScelloBoxAPIservSoapBindingStub.java:548)

    at TestConnScello.main(TestConnScello.java:39)

    Caused by: java.lang.NullPointerException

    at java.util.Hashtable.put(Hashtable.java:396)

    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)

    at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)

    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)

    at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)

    at org.apache.axis.client.Call.invokeEngine(Call.java:2583)

    at org.apache.axis.client.Call.invoke(Call.java:2553)

    at org.apache.axis.client.Call.invoke(Call.java:2248)

    ... 4 more



    Sincèrement, je n’ai aucune idée de son origine.

    Merci de votre aide.

  2. #2
    Membre confirmé
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Avril 2007
    Messages
    75
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Avril 2007
    Messages : 75
    Par défaut
    Bonjour,
    faultString: java.lang.NullPointerException
    veut dire que dans ton code tu pointes sur des objets qui n'existent pas ou ne correspondent pas aux types retournés.
    pour remedier à ce pb, tu jetes un coup d'oeil attentif sur ton code.

    salut

  3. #3
    Invité de passage
    Inscrit en
    Novembre 2007
    Messages
    1
    Détails du profil
    Informations forums :
    Inscription : Novembre 2007
    Messages : 1
    Par défaut
    Est-ce que tu as trouve une solution pour ton problem? Le problem n'est pas ton code mas ce un problem avec AXIS 1.x. J'a la meme problem mais seulement avec JDK 1.5. Avec JDK 1.4 tout va bien. Malheuresement je dois utiliser JDK 1.5.

    Sorry, my french is very bad. I can read it but not write it. I have the same problem and I am pretty sure the problem lies with AXIS 1.x. It just doesn't seem to run under JDK 1.5. I swapped to JDK 1.4 and everything works fine. However changing back to JDK 1.4 and I get the same error as you. Unfortunately because of other components of my application I have to use JDK 1.5. Has anyone had similar problems and found a solution for it?

    Merci bien,

    Anette

Discussions similaires

  1. Réponses: 0
    Dernier message: 19/08/2009, 12h12
  2. [AXIS] server-config dans le WEB-INF
    Par anaon dans le forum Services Web
    Réponses: 1
    Dernier message: 22/10/2008, 17h06
  3. [Axis]Probleme avec server-config.wsdd
    Par Rtitoun dans le forum Tomcat et TomEE
    Réponses: 1
    Dernier message: 15/07/2008, 14h40
  4. Réponses: 2
    Dernier message: 06/03/2008, 16h38
  5. [Tomcat][axis] pb de création du Fichier server-config.wsdd
    Par Mizou dans le forum Tomcat et TomEE
    Réponses: 2
    Dernier message: 11/07/2006, 18h34

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo