Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2956

Eclipse validation error when using http-conf.xsd

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.10
    • Fix Version/s: None
    • Component/s: Resources
    • Labels:
      None
    • Environment:

      Spring-2.5.6, cxf-2.2.10, Eclipse 3.6, Eclipse WTP

    • Estimated Complexity:
      Novice

      Description

      We are getting an validation error when using the http-conf.xsd in our application. To isolate the problem I imported the "wsdl_first_https" project into eclipse. The validation error occurs even there. Just open the file "InsecureClient.xml", right click and choose validate.

      Error Message:

      Referenced file contains errors (jar:file:/D:/eclipse-helios/plugins/org.eclipse.wst.standard.schemas_1.0.300.v201004110600.jar!/dtds/strict.dtd). For more information, right click on the message in the Problems View and select "Show Details..." InsecureClient.xml /wsdl_first_https/src/demo/hw_https/client line 1 XML Problem

      Show Details message: The declaration for the entity "ContentType" must end with '>'.

      Excerpt from file InsecureClient.xml:

      <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:http="http://cxf.apache.org/transports/http/configuration"
        xsi:schemaLocation="
      http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
      http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
      
        <http:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit">
        </http:conduit>
      
      </beans>
      

        Attachments

        1. CXF - Spring Error.png
          64 kB
          Carlos Garcia

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kerschi Christian Kerschenbauer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: