Erreur de déployement WSDL (AXIS error)
Bonjour à tous.
Voilà, j'utilise axis1.1 pour deployer un service Web. Une méthode de ce service renvoi notamment un type complexe. J'ai mappé ce type complexe (serializer/deserializer), et je l'ai précisé dans le fichier de déployement (WSDD).
Le déployement fonctionne bien, et la liste des services Web est visible.
Seulement, lorsque j'essai de voir le WSDL, voici ce que j'obtiens:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.:
faultActor:
faultNode:
faultDetail: |
je précise que "http://www.w3.org/1999/02/22-rdf-syntax-ns#" est le namespace utilisé dans mon WSDD pour spécifier le type complexe.
Voici d'ailleurs mon WSDD si ca peut servir:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
<deployment name="Ontology" xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<service name="OntologyFinderService" provider="java:RPC">
<parameter name="className" value="gfi.portail.concept.WSOntologyFinder"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="session"/>
</service>
<typeMapping qname="rdf:RDF"
languageSpecificType="java:com.hp.hpl.jena.ontology.OntModel"
serializer="gfi.axis.serialization.OntologySerializerFactory"
deserializer="gfi.axis.serialization.OntologyDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
<beanMapping qname="gfi:Synonymes" xmlns:gfi="http://www.gfi-ie.com/"
languageSpecificType="java:gfi.portail.tetralogie.Synonyme"/>
</deployment> |
Voilà, si quelqu'un a une idée (problème de Jar, etc...)
merci.