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 :

WSS4J problème Signature+Encryption


Sujet :

Services Web Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Profil pro
    DevOps
    Inscrit en
    Février 2007
    Messages
    32
    Détails du profil
    Informations personnelles :
    Âge : 42
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : DevOps

    Informations forums :
    Inscription : Février 2007
    Messages : 32
    Par défaut WSS4J problème Signature+Encryption
    Bonjour,

    j'ai réussi à faire mes Web Services avec les clients correspondant en utilisant:
    1. Authentification Text
    2. Authentification Digest
    3. Signature
    4. Encryption


    J'ai donc essayer de coupler divers de ces configurations, notement Signature/Encryption

    mais j'ai alors un problème je peux appeler mon service avec un client configurer pour utiliser les 2 mais je peut également appeler le service avec le client configuré seulement pour la signature.
    Le service est alors quand meme appelé mais il jette aussi une erreur (qui n'empeche pas l'execution)

    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
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
        [echo] Appel du service Web
         [java] Exception in thread "main" AxisFault
         [java]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand
         [java]  faultSubcode: 
         [java]  faultString: Did not understand "MustUnderstand" header(s):{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
         [java]  faultActor: 
         [java]  faultNode: 
         [java]  faultDetail: 
         [java] 	{http://xml.apache.org/axis/}stackTrace:
         [java] 	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
         [java] 	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         [java] 	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         [java] 	at org.apache.axis.client.Call.invoke(Call.java:2767)
         [java] 	at org.apache.axis.client.Call.invoke(Call.java:2443)
         [java] 	at org.apache.axis.client.Call.invoke(Call.java:2366)
         [java] 	at org.apache.axis.client.Call.invoke(Call.java:1812)
         [java] 	at fr.lig.adele.action.ActionServiceSoapBindingStub.runAction(Unknown Source)
         [java] 	at fr.lig.adele.action.Client_Sign.main(Unknown Source)
         [java] 	{http://xml.apache.org/axis/}hostname:debian
         [java] Did not understand "MustUnderstand" header(s):{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
         [java] 	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
         [java] 	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         [java] 	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         [java] 	at org.apache.axis.client.Call.invoke(Call.java:2767)
         [java] 	at org.apache.axis.client.Call.invoke(Call.java:2443)
         [java] 	at org.apache.axis.client.Call.invoke(Call.java:2366)
         [java] 	at org.apache.axis.client.Call.invoke(Call.java:1812)
         [java] 	at fr.lig.adele.action.ActionServiceSoapBindingStub.runAction(Unknown Source)
         [java] 	at fr.lig.adele.action.Client_Sign.main(Unknown Source)
         [java] Java Result: 1

    merci d'avance

  2. #2
    Membre averti
    Profil pro
    DevOps
    Inscrit en
    Février 2007
    Messages
    32
    Détails du profil
    Informations personnelles :
    Âge : 42
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : DevOps

    Informations forums :
    Inscription : Février 2007
    Messages : 32
    Par défaut
    up svp

Discussions similaires

  1. Problème signature sur le store
    Par UbuntuMan dans le forum Android
    Réponses: 4
    Dernier message: 18/03/2014, 17h36
  2. Problème signatures identiques debug
    Par CLeBeR dans le forum VB.NET
    Réponses: 3
    Dernier message: 03/08/2013, 12h51
  3. Problème signature html Gmail
    Par bbulben dans le forum Balisage (X)HTML et validation W3C
    Réponses: 1
    Dernier message: 29/03/2010, 13h07
  4. Problème signature Jar
    Par Polux000 dans le forum Eclipse Java
    Réponses: 0
    Dernier message: 03/12/2008, 16h27

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