Hello,

I use CXF 2.1.1. And use a ValidationInterceptor (that extends AbstractSoapInterceptor) to validate the incomming soap message.


I use a xsd for the types including this one:

        <xs:complexType name="LargeBinaryData">
                <xs:complexContent>
                        <xs:extension base="types:Data">
                                <xs:sequence>
                                        <xs:element name="binaryMetaData" 
type="types:BinaryMetadata"/>
<xs:element name="binaryData" type="xs:base64Binary" xmime:expectedContentTypes="application/octet-stream"/>
                                </xs:sequence>
                        </xs:extension>
                </xs:complexContent>
        </xs:complexType>

For the validation we use the same xsd.

Now the validation fails on the binaryData element. It complains about an child element that isn't allowed.

How can I solve this?


Regards,

Martin

--
Martin Tilma
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500

Reply via email to