[ https://issues.apache.org/jira/browse/SYNAPSE-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Sanchez updated SYNAPSE-393: ----------------------------------- Attachment: SOAPUtils.patch Here is the patch for SOAPUtils. Let me know your comments > Convertion not complete when using SOAPUtils.convertSOAP11toSOAP12() > -------------------------------------------------------------------- > > Key: SYNAPSE-393 > URL: https://issues.apache.org/jira/browse/SYNAPSE-393 > Project: Synapse > Issue Type: Bug > Components: Core > Affects Versions: 1.1.1 > Environment: OS: Windows XP SP2 > Reporter: Laurent CHARTIER > Attachments: SOAPUtils.patch > > > When using org.apache.synapse.core.axis2.SOAPUtils.convertSOAP11toSOAP12() to > convert a SOAP 1.1 message containing a SOAPFault to a SOAP 1.2 message, the > method only converts the Envelope, the Header and the Body elements. > The Fault element is not converted ans its structure is not transformed into > a SOAP 1.2 Fault structure. > Before using the method: > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > <soapenv:Body> > <soapenv:Fault> > <faultcode>soapenv:Client</faultcode> > <faultstring>Erreur relative au referentiel des conventions. > [Fichier de convention]</faultstring> > <faultactor>Referentiel des Conventions.</faultactor> > <detail>Il n'y a pas de convention qui corresponde aux issuer, > supplier et service</detail> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> > After using the method: > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > <soapenv:Body> > <soapenv:Fault > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > <faultcode>soapenv:Client</faultcode> > <faultstring>Erreur relative au referentiel des conventions. > [Fichier de convention]</faultstring> > <faultactor>Referentiel des Conventions.</faultactor> > <detail>Il n'y a pas de convention qui corresponde aux issuer, > supplier et service</detail> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> > It should be: > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > <soapenv:Body> > <soapenv:Fault> > <soapenv:Code> > <soapenv:Value>soapenv:Client</soapenv:Value> > </soapenv:Code> > <soapenv:Reason> > <soapenv:Text>Erreur relative au referentiel des conventions. > [Fichier de convention]</soapenv:Text> > </soapenv:Reason> > <soapenv:Role>Referentiel des Conventions.</soapenv:Role> > <soapenv:Detail>Il n'y a pas de convention qui corresponde aux > issuer, supplier et service</soapenv:Detail> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org