Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-247

Exception thrown when schemaPrefix is empty in XsdBasedSoap11Wsdl4jDefinitionBuilder

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.5 M1, 1.0.3
    • Component/s: Core
    • Labels:
      None
    • Environment:
      JDK1.5

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              alankstewart Alan Stewart (personal account)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: