Skip Menu |

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 45037
Status: resolved
Priority: 0/

Owner: Nobody in particular
Requestors: martin.kutter [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.00.10

Subject: ComplexTypes' elements in different namespaces not serialized correctly
Date: Tue, 14 Apr 2009 21:40:46 +0200
To: SOAP-WSDL RT <bug-SOAP-WSDL [...]>
From: Martin Kutter <martin.kutter [...]>
Download (untitled) / with headers
text/plain 1020b
Given the following schemata: <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="" targetNamespace="uri:Foo" xmlns:test="" elementFormDefault="qualified"> <xsd:complexType name="complexTest"> <xsd:sequence> <xsd:element name="Blam" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:schema> and <xsd:schema targetNamespace="uri:Bar" elementFormDefault="qualified"> <xsd:import namespace="uri:Foo" schemaLocation="MultipleNamespaces.xsd" /> <xsd:complexType name="Baz"> <xsd:sequence> <xsd:element name="Local" type="xsd:string"/> <xsd:element name="Bar" type="test:complexTest"/> </xsd:sequence> </xsd:complexType> </xsd:schema> the complexType "Baz" is serialized incorrectly as <Local></Local> <Bar> <Blam><Blam> </Bar> while it should be serialized as <Local></Local> <Bar> <Blam xmlns="uri:Foo"><Blam> </Bar>

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to