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 :

problème avec AXIS2


Sujet :

Services Web Java

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    239
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2007
    Messages : 239
    Points : 173
    Points
    173
    Par défaut problème avec AXIS2
    slt, je viens de tester AXIS2,, j'ai récuperé la war et je l'ai installé sur tamcat.et lorsque je lance sur firefox:http://localhost:8080/axis2. j'obtiens la page d'accueil et je verfie l'exitance d'un service et je trouve le service par defaut, ie: la version (avec la methode getVersion). lorsque je tape :
    http://localhost:8080/axis2/services/Version?wsdl,, j'obtiens la WSDL de service. mais mon problème est lorsque je tape:http://localhost:8080/axis2/services/Version et là,, j'ai une erreur de type:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    soapenv:Reason>
    −<soapenv:Text xml:lang="en-US">
    The endpoint reference (EPR) for the Operation not found is /axis2/services/Version and the WSA Action = null
    </soapenv:Text>
    </soapenv:Reas
    je sais pas est ce que quelqu'un peut m'orienter vers une solution..
    merci d'avance

  2. #2
    Membre habitué
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    239
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2007
    Messages : 239
    Points : 173
    Points
    173
    Par défaut
    alors pas d'idée????????

  3. #3
    oca
    oca est déconnecté
    Membre averti
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    354
    Détails du profil
    Informations personnelles :
    Âge : 51
    Localisation : Suisse

    Informations forums :
    Inscription : Octobre 2004
    Messages : 354
    Points : 421
    Points
    421
    Par défaut
    Il faut poster la wsdl, sinon, on ne peut pas vraiment t'aider...
    A+

  4. #4
    Membre actif
    Inscrit en
    Juin 2008
    Messages
    207
    Détails du profil
    Informations forums :
    Inscription : Juin 2008
    Messages : 207
    Points : 215
    Points
    215
    Par défaut
    C'est tout-à-fait normal.

  5. #5
    Membre habitué
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    239
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2007
    Messages : 239
    Points : 173
    Points
    173
    Par défaut
    Citation Envoyé par Arnaud_03 Voir le message
    C'est tout-à-fait normal.
    vous pouvez être plus claiire

    merci d'avance

  6. #6
    oca
    oca est déconnecté
    Membre averti
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    354
    Détails du profil
    Informations personnelles :
    Âge : 51
    Localisation : Suisse

    Informations forums :
    Inscription : Octobre 2004
    Messages : 354
    Points : 421
    Points
    421
    Par défaut
    Il faut poster la wsdl, sinon, on ne peut pas vraiment t'aider...
    [tiens, il me semble déjà avoir dit cela..]
    A+

  7. #7
    Membre actif
    Inscrit en
    Juin 2008
    Messages
    207
    Détails du profil
    Informations forums :
    Inscription : Juin 2008
    Messages : 207
    Points : 215
    Points
    215
    Par défaut
    Citation Envoyé par madjidri Voir le message
    Vous pouvez être plus clair ?

    Merci d'avance.
    Le message qui t'est renvoyé me paraît normal, je ne vois aucune erreur là-dedans, que dire de mieux ?

    Tu peux invoquer la méthode getVersion de ce service à l'URL http://localhost:8080/axis2/services/Version/getVersion si tu le souhaites, mais il n'y a par contre rien à obtenir à l'URL http://localhost:8080/axis2/services/Version...

    Le WSDL de ce service :
    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
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://axisversion.sample" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://axisversion.sample">
        <wsdl:documentation>Version</wsdl:documentation>
        <wsdl:types>
            <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://axisversion.sample">
                <xs:complexType name="Exception">
                    <xs:sequence>
                        <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
                    </xs:sequence>
                </xs:complexType>
                <xs:element name="Exception">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element minOccurs="0" name="Exception" nillable="true" type="ns:Exception"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
                <xs:element name="getVersionResponse">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:schema>
        </wsdl:types>
        <wsdl:message name="getVersionRequest"/>
        <wsdl:message name="getVersionResponse">
            <wsdl:part name="parameters" element="ns:getVersionResponse"/>
        </wsdl:message>
        <wsdl:message name="Exception">
            <wsdl:part name="parameters" element="ns:Exception"/>
        </wsdl:message>
        <wsdl:portType name="VersionPortType">
            <wsdl:operation name="getVersion">
                <wsdl:input message="ns:getVersionRequest" wsaw:Action="urn:getVersion"/>
                <wsdl:output message="ns:getVersionResponse" wsaw:Action="urn:getVersionResponse"/>
                <wsdl:fault message="ns:Exception" name="Exception" wsaw:Action="urn:getVersionException"/>
            </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="VersionSoap11Binding" type="ns:VersionPortType">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
            <wsdl:operation name="getVersion">
                <soap:operation soapAction="urn:getVersion" style="document"/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
                <wsdl:fault name="Exception">
                    <soap:fault use="literal" name="Exception"/>
                </wsdl:fault>
            </wsdl:operation>
        </wsdl:binding>
        <wsdl:binding name="VersionSoap12Binding" type="ns:VersionPortType">
            <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
            <wsdl:operation name="getVersion">
                <soap12:operation soapAction="urn:getVersion" style="document"/>
                <wsdl:input>
                    <soap12:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap12:body use="literal"/>
                </wsdl:output>
                <wsdl:fault name="Exception">
                    <soap12:fault use="literal" name="Exception"/>
                </wsdl:fault>
            </wsdl:operation>
        </wsdl:binding>
        <wsdl:binding name="VersionHttpBinding" type="ns:VersionPortType">
            <http:binding verb="POST"/>
            <wsdl:operation name="getVersion">
                <http:operation location="Version/getVersion"/>
                <wsdl:input>
                    <mime:content type="text/xml" part="getVersion"/>
                </wsdl:input>
                <wsdl:output>
                    <mime:content type="text/xml" part="getVersion"/>
                </wsdl:output>
            </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="Version">
            <wsdl:port name="VersionHttpSoap11Endpoint" binding="ns:VersionSoap11Binding">
                <soap:address location="http://10.63.0.52:8080/axis2/services/Version.VersionHttpSoap11Endpoint"/>
            </wsdl:port>
            <wsdl:port name="VersionHttpSoap12Endpoint" binding="ns:VersionSoap12Binding">
                <soap12:address location="http://10.63.0.52:8080/axis2/services/Version.VersionHttpSoap12Endpoint"/>
            </wsdl:port>
            <wsdl:port name="VersionHttpEndpoint" binding="ns:VersionHttpBinding">
                <http:address location="http://10.63.0.52:8080/axis2/services/Version.VersionHttpEndpoint"/>
            </wsdl:port>
        </wsdl:service>
    </wsdl:definitions>

Discussions similaires

  1. Problème avec Java2WSDL Axis2
    Par imanoual dans le forum Services Web
    Réponses: 2
    Dernier message: 27/07/2011, 16h35
  2. problème avec plugins axis2 pour eclipse
    Par texel dans le forum Services Web
    Réponses: 1
    Dernier message: 11/07/2011, 11h12
  3. Problème avec WS avec Axis2 Code Generator
    Par lahmar.abdel1 dans le forum Services Web
    Réponses: 5
    Dernier message: 31/01/2011, 10h52
  4. probléme génération de web service client avec Axis2
    Par jonestar dans le forum Services Web
    Réponses: 0
    Dernier message: 05/05/2010, 12h31
  5. Problème avec la mémoire virtuelle
    Par Anonymous dans le forum CORBA
    Réponses: 13
    Dernier message: 16/04/2002, 16h10

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