[
https://issues.apache.org/jira/browse/TUSCANY-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Laws updated TUSCANY-570:
-------------------------------
Fix Version/s: C++-SCA-Next
> Duplicate namespace on operation element of SOAP message causes problem
> -----------------------------------------------------------------------
>
> Key: TUSCANY-570
> URL: https://issues.apache.org/jira/browse/TUSCANY-570
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SCA Old / Contrib
> Affects Versions: C++-SCA-Next
> Environment: Windows XP
> Reporter: Simon Laws
> Fix For: C++-SCA-Next
>
>
> This is an artefact of the Interop testing.
> JIRA505 (http://issues.apache.org/jira/browse/TUSCANY-505 )describes the
> problem associated with having xsi:type associated with the wrapper element
> in the SOAP body. I note that the C++ produced messages also have duplicate
> namespaces which may also be causing a problem as I have to remove the
> duplicate to move on through the interop testing.
> When C++ calls stock quote
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
>
> <wsa:To>http://localhost:8081/interop-stockquote/services/StockQuoteService</wsa:To>
>
> <wsa:Action>http://www.quickstockquote.com/StockQuoteService/getQuote</wsa:Action>
> <wsa:MessageID>870bf065-6849-47fb-86ad-224b81513541</wsa:MessageID>
> </soapenv:Header>
> <soapenv:Body>
> <getQuote xsi:type="getQuote"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns="http://www.quickstockquote.com/StockQuoteService/"
>
> xmlns:tns="http://www.quickstockquote.com/StockQuoteService/">
> <symbol>IBM</symbol>
> </getQuote>
> </soapenv:Body>
> </soapenv:Envelope>
> When Java calls stock quote
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header />
> <soapenv:Body>
> <Service:getQuote
> xmlns:Service="http://www.quickstockquote.com/StockQuoteService/">
> <symbol>IBM</symbol>
> </Service:getQuote>
> </soapenv:Body>
> </soapenv:Envelope>
> Note that C++ declares the namspace
> http://www.quickstockquote.com/StockQuoteService/ as the default namespace
> and with a prefix.
> I haven't investigated in depth the cause of this but this is a place hold
> for when I (or someone else) gets round to looking.
> For testing I adjusted SDOXMLWritte.cpp around line 788 to prevent it writing
> out namespaces:
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira