On 01/24/2011 04:47 PM, Jean-Sebastien Delfino wrote:
On 01/24/2011 08:04 AM, Scott Kurz wrote:
Just to be clear.. I meant that I exported and ran the latest:

http://svn.apache.org/repos/asf/tuscany/sandbox/sebastien/java/wrapped/samples/extending-tuscany/implementation-sample/


and it worked fine without having to modify the 'sourceBare' check in
the Input2Input transformer...

Just would like to recreate first before looking further..

Thanks,
Scott

Can you refresh from SVN r1062972?

I've added a print of the result of UpperTest, which depending on the
test shows either:

<?xml version="1.0" encoding="UTF-8"?><result xmlns:ns2="http://sample/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSc
hema-instance" xsi:type="xs:string" xmlns="http://sample/upperrpc";>HELLO
WSDL</result> (correct, although polluted a bit by ns declarations),

or

<?xml version="1.0" encoding="UTF-8"?><result
xmlns="http://sample/upperrpc";><result xmlns="">HELLO
SOAP</result></result> (incorrect, not compliant with the WSDL+XSD).

I'll add an assert causing the test to fail later, but the print already
shows the issue.


With the change committed there [1], both tests show correct results:

<?xml version="1.0" encoding="UTF-8"?><result xmlns:ns2="http://sample/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSc hema-instance" xsi:type="xs:string" xmlns="http://sample/upperrpc";>HELLO WSDL</result>

and

<?xml version="1.0" encoding="UTF-8"?><result xmlns="http://sample/upperrpc";>HELLO SOAP</result>

[1] http://svn.apache.org/viewvc?view=revision&revision=1058717
--
Jean-Sebastien

Reply via email to