Pre-requisite : Jboss AS 2.0.5 + jbossws-native-2.0.1.GA 1- Create a java roject 1-write the file.wsdl 2-to generate the server files class with the wsdl file use this comman : /PATH_TO_JBOSS_FOLDER/jboss/bin/wsconsume.sh -p nomdupackage -k lefichier.wsdl -it create a directory named "output" 2- Create a java web project for the server 1-import the java file create by the last command in this project 2-write the class which implement the service interface 4-write the file web.xml which is in WEB-INF 3-import the librairies contains in /PATH_TO_JBOSSWS-NATIVE_FOLDER/jbossws-native-2.0.1.GA/lib/*: jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jaxws-rt.jar jaxws-tools.jar jboss-jaxws.jar wstx.jar 4-create the build.xml to generate the jarfile (wsserver.jar) and the warfile (wsserver.war) of the project 3-copy the warfile in jboss/server/default/deploy cp wsserver.war /PATH_TO_JBOSS_FOLDER/jboss/server/default/deploy/. 4-successful deployment : 1- run /PATH_TO_JBOSS_FOLDER/jboss/bin/run.sh 2- http://localhost:8080/jbossws/services 5-Create an java client project 1- create an java class with a main which call the web service don't forget to add the specific librairies: 2- add these librairies in the class path: 1- the jarfile of the server : wsserver.jar 2- and this two librairies which are in /PATH_TO_JBOSS_FOLDER/jboss/client/: jaxb-api.jar jboss-jaxws.jar 3-to run: from the folder where there is all the class file .class to run the command: /PATH_TO_JBOSS_FOLDER/jboss/bin/wsrunclient.sh -classpath ../wsserver.jar packageclient.WebServiceClient "arguments"