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>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945965#3945965
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945965
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user