hi all
u should check out sun's wscompile , all you have to do is supply a config-interface.xml file follow this example:
<?xml version="1.0" encoding="UTF-8"?> <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config"> <service name="bookService" targetNamespace="http://alon.home.handlers/ws4ee" typeNamespace="http://alon.home.handlers/ws4ee" packageName="alon.home.handlers"> <interface name="alon.home.handlers.handEndpoint"/> </service> </configuration>
# j2ee/p1/p1> wscompile -define -f:documentliteral -mapping build/mapping.xml -d build/ -nd build/ -classpath /j2ee/p1/p1/build/book.jar config-interface.xml