cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuri Kr (JIRA)" <>
Subject [jira] [Created] (CXF-6151) Apache-cxf wsdlvalidator returns error in mime:part
Date Thu, 11 Dec 2014 16:42:13 GMT
Yuri Kr created CXF-6151:

             Summary: Apache-cxf wsdlvalidator returns error in mime:part
                 Key: CXF-6151
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 3.0.2, 3.0.1
         Environment: java version 1.8.0_20, Windows 7, Windows 8
            Reporter: Yuri Kr

Apache-cxf wsdlvalidator returns

"WSDLValidator Error: cvc-complex-type.2.4.a: Invalid content was found starting with element
'mime:part'. One of '{part}' is expected." ,

if I try to validate wsdl document with such structure:

       <soap:body parts="header parameters" use="literal"/>
       <mime:content part="attachment" type="application/octetstream"/>

wsdl document example from:
(I also tried other examples)

If I change "mime:part" to "part", validator returns error:

WSDLValidator Error : javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:binding/wsdl:operation[1]/wsdl:input/mime:multipartRelated/part):
faultCode=INVALID_WSDL: Encountered unexpected element '{}part'.

This message was sent by Atlassian JIRA

View raw message