1 Reply Latest reply on Jun 10, 2009 4:22 AM by joe.luo

    import xsd into wsdl got PARSER_ERROR

    tcheng4

      I am using FS 2.1.3.3 deployed to tomcat 6.

       

      in the WSDL

      <wsdl:types>

              <xsd:schema>

                  <xsd:import

                      namespace="urn:us:gov:dot:faa:swim:eram:services:flightdata:flightdataupdaterequest2010"

                      schemaLocation="flightDataUpdateRequest2010.xsd" />

                  <xsd:import

                      namespace="urn:us:gov:dot:faa:swim:eram:services:flightdata:flightdataresponse2010"

                      schemaLocation="flightDataResponse2010.xsd" />

              </xsd:schema>

         </wsdl:types>

       

      got error:

       

      Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=PARSER_ERROR: Problem parsing 'jndi:/localhost/eram-1.0WEB-INF/wsdl/flightDataUpdateRequest2010.xsd'.: java.io.FileNotFoundException

       

      The path missin a "/" before the WEB-INFO.

       

      Anyone has experienced this before?

       

      Thanks.