Skip to content

Exception thrown when schemaPrefix is empty in XsdBasedSoap11Wsdl4jDefinitionBuilder [SWS-247] #402

Closed
@gregturn

Description

@gregturn

Alan Stewart (personal account) opened SWS-247 and commented

When the schemaPrefix is deliberately set to empty in the XsdBasedSoap11Wsdl4jDefinitionBuilder bean, the following exception is thrown:

org.springframework.ws.wsdl.WsdlDefinitionExceptio n: WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: org.xml.sax.SAXParseException: Element or attribute do not match QName production: QName::=(NCName':')?NCName.; nested excep
aused by:
avax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: org.xml.sax.SAXParseException: Element or attribute do not match QName production: QName::=(NCName':')?NCName.
at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknow n Source)

This did not occur in 1.0 and 1.0.1
Alan


Affects: 1.0.2

Referenced from: commits fc317b0, 6c920dd

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions