1 Reply Latest reply on May 29, 2006 9:55 AM by Thomas Diesler

    wstools config parsing.

    Brian Call Newbie

      Hey Guys,

      I'm trying to use wstools to generate the jaxrpc mapping file and I'm running into some resistance. I'm sure the tool (or my config) can be massaged into compliance but I'm not sure where to rub. Has anyone seen this error before?:

      [wstools] java.io.IOException: Cannot parse config: Failed to parse source: cvc-complex-type.2.4.a: Invalid content was found starting with element 'wsdl-java'. One of '{"http://www.jboss.org/jbosswstools":javaToWSDL, "http://www.jboss.org/jbossws-tools":wsdlToJava, "http://www.jboss.org/jbossws-tools":global}' is expected. @ *unknown*[8,133]
      [wstools] at org.jboss.ws.tools.config.ToolsSchemaConfigReader.readConfig(ToolsSchemaConfigReader.java:106)
      [wstools] at org.jboss.ws.tools.WSTools.readToolsConfiguration(WSTools.java:129)
      [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:78)
      [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
      [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [wstools] at org.apache.tools.ant.Task.perform(Task.java:364)



      Here's the config file that I'm using:

      <configuration xmlns="http://www.jboss.org/jbossws-tools"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
      
       <wsdlToJava file="C:/tools/jboss-4.0.4.CR2/server/transmon/data/wsdl/transmon.ear/transmon.war/AggregateTjvmDataService47970.wsdl">
       <mapping file="jaxrpc-mapping.xml" />
       </wsdlToJava>
      
      </configuration>