My client-mapping.xml file is generated by wstools.  Here is the Ant task that 
performs the generation:

<!-- Define a taskdef for the wstools ant task -->
  |     <taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools">
  |             <classpath refid="build.classpath" />
  |     </taskdef>
  | 
  |     <target name="generate.ws.client">
  |             <wstools dest="${dir.gend}" config="wstools-client-config.xml" 
/>
  |     </target>

Note that the build.classpath contains jbossws-client.jar.

Here is the wstools-client-config.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | <configuration xmlns:jbos="http://www.jboss.org/jbossws-tools";>
  |     <wsdl-java file="wsdl/ClientService.wsdl">
  |         <mapping file="client-mapping.xml"/>
  |     </wsdl-java>
  | </configuration>

All the task does is look at my WSDL file and generate the client-mapping.xml.  
This client-mapping.xml file contains information about how to map XML to Java 
objects.

Does that answer your question?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963252#3963252

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963252
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to