1 Reply Latest reply on Jun 4, 2014 7:05 AM by Alessio Soldano

    Username Token Profile from Tutorial: Cannot resolve SecurityService_schema1.xsd

    Pasqualino Imbemba Newbie



      I'm recreating the Authentication and Authorization tutorial from JBoss 7.1 documenation WS-Security - JBoss AS 7.1 - Project Documentation Editor

      When I try to generate the service endpoint from WSDL with wsconsume, I obtain the following error:


      Failed to invoke WSDLToJava
      org.apache.cxf.tools.common.ToolException: org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create wsdl definition from : file:/home/pb26683/javaSources/factory/TestProject/WEB-INF/SecurityService.wsdl
      Caused by : WSDLException (at /definitions/types/xsd:schema): faultCode=PARSER_ERROR: Problem parsing 'SecurityService_schema1.xsd'.: java.io.FileNotFoundException: /home/pb26683/jboss-as-7.1.1.Final/bin/SecurityService_schema1.xsd (No such file or directory) 


      The WSDL refers to SecurityService_Schema1.xsd -- but the documentation does not provide it.