synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Hodchenkov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SYNAPSE-393) Convertion not complete when using SOAPUtils.convertSOAP11toSOAP12()
Date Thu, 25 Nov 2010 08:16:22 GMT

    [ https://issues.apache.org/jira/browse/SYNAPSE-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935682#action_12935682
] 

Paul Hodchenkov commented on SYNAPSE-393:
-----------------------------------------

I had the same problem with soap conversion from 1.2 to 1.1 . Fault details is lost in SOAPUtils.
Applying the patch solved the problem. Please include it in next release.

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


Mime
View raw message