You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <tu...@ws.apache.org> on 2007/01/12 14:03:27 UTC
[jira] Updated: (TUSCANY-570) Duplicate namespace on operation
element of SOAP message causes problem
[ https://issues.apache.org/jira/browse/TUSCANY-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ant elder updated TUSCANY-570:
------------------------------
Fix Version/s: (was: Java-M2)
Cpp-current
Affects Version/s: (was: Java-M2)
Cpp-current
> 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: Java SCA Axis Binding
> Affects Versions: Cpp-current
> Environment: Windows XP
> Reporter: Simon Laws
> Fix For: Cpp-current
>
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org