My filter has the following problems: The original code is soapenv:Client where soapenv is the prefix for namespace http://schemas.xmlsoap.org/soap/envelope. The produced code is axis2ns1:soapenv:Client and the prefix has no associated namespace. For the role and the detail, the original values are not transfered in the created SOAPFault.
Laurent. -----Message d'origine----- De : Asankha C. Perera [mailto:[EMAIL PROTECTED] Envoyé : lundi 7 juillet 2008 10:59 À : [email protected] Objet : Re: RE : [Synapse 1.1.1] - F.A.Q. SOAP1.1 to SOAP1.2 Hi Laurent Laurent CHARTIER wrote: > Thank you, > I modified like this: > > <filter xpath="/soap11:Envelope/soap11:Body/soap11:Fault" > xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"> > <!-- This is a SOAP 1.1 fault. Convert to a SOAP 1.2 > fault --> > <makefault version="soap12"> > <!-- Fault/Code/Value from Fault/faultcode > --> > <code > expression="/soap11:Envelope/soap11:Body/soap11:Fault/faultcode"/> > <!-- Fault/Reason/Text from > Fault/faultstring--> > <reason > expression="/soap11:Envelope/soap11:Body/soap11:Fault/faultstring"/> > <!-- Fault/Role from Fault/faultactor--> > <role > expression="/soap11:Envelope/soap11:Body/soap11:Fault/faultactor"/> > <!-- Fault/Detail from Fault/detail--> > <detail > expression="/soap11:Envelope/soap11:Body/soap11:Fault/detail"/> > </makefault> > </filter> > > I just have one problem. The code value namespace is weird... > Sorry.. I do not understand what you mean by weird? Can you be more specific asankha -- Asankha C. Perera WSO2 - http://wso2.org http://esbmagic.blogspot.com Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe. This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached.
