You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Laurent CHARTIER (JIRA)" <ji...@apache.org> on 2008/07/07 13:13:31 UTC

[jira] Updated: (SYNAPSE-393) Convertion not complete when using SOAPUtils.convertSOAP11toSOAP12()

     [ https://issues.apache.org/jira/browse/SYNAPSE-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laurent CHARTIER updated SYNAPSE-393:
-------------------------------------

    Description: 
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>

  was:
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>


> 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
>
> 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-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org