[ https://issues.apache.org/jira/browse/ODE-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ciaran Jessup updated ODE-352: ------------------------------ Attachment: HelloWorld2.zip The attached process should accept requests like: <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:myns="myns"> <soapenv:Header/> <soapenv:Body> <myns:hello> <myns:in xsi:type="myns:DustyMagicPixie" type="fff"> <myns:value>Test message</myns:value> <myns:dust>fooo</myns:dust> </myns:in> </myns:hello> </soapenv:Body> </soapenv:Envelope> and respond with responses like: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <helloResponse xmlns="myns"> <out type="fff" xsi:type="myns:DustyMagicPixie" xmlns:myns="myns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <value>Test message</value> <dust>fooo</dust> </out> </helloResponse> </soapenv:Body> </soapenv:Envelope> Without the patch the responses look like : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <helloResponse xmlns="myns"> <out type="fff"> <value>Test message</value> <dust>fooo</dust> </out> </helloResponse> </soapenv:Body> </soapenv:Envelope> which obviously isn't quite what we want ;) > Type attribute replaces xsi-type attribute value > ------------------------------------------------ > > Key: ODE-352 > URL: https://issues.apache.org/jira/browse/ODE-352 > Project: ODE > Issue Type: Bug > Affects Versions: 1.2 > Reporter: Colin > Fix For: 1.3 > > Attachments: HelloWorld2.zip, > PatchToSupportMultipleAttributesWithTheSameLocalNameButDifferentNamespaces.patch > > > This is related to ODE-343, see for context. > The xsi:type attribute goes missing when you define a type attribute. > Example: > <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:myns="myns"> > <soapenv:Header/> > <soapenv:Body> > <myns:hello> > <myns:in xsi:type="myns:DustyMagicPixie" type="Why"> > <myns:value>Test message</myns:value> > <myns:dust>fooo</myns:dust> > </myns:in> > </myns:hello> > </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.