Ola Ivan,
estou tentando gerar o webservices.xml e o jaxrpc-mapping.xml atraves do
configuration.xml:
<configuration xmlns="http://www.jboss.org/jbossws-tools ">
<java-wsdl>
<service name="RentalServiceRPC"
style="rpc"
endpoint="videorentalstore.webservice.gen.RentalServiceRPC
"/>
<namespaces targetNamespace="http://www.ime.usp.br/SOD06"
type-namespace=" http://www.ime.usp.br/SOD06"/>
<mapping file="jaxrpc-mapping.xml"/>
<webservices servlet-link="RentalServiceRPC"/>
</java-wsdl>
</configuration>
executo o wstools assim:
$ jboss/bin/wstools.sh -cp
.../META-INF/classes/videorentalstore/webservice/gen/RentalServiceRPC.class
-config configuration.xml
a saída é essa:
=========================================================================
WSTools Environment
JBOSS_HOME: /tmp/jboss
JAVA: /global/jdk1.5.0_01/bin/java
JAVA_OPTS:
=========================================================================
log4j:WARN No appenders could be found for logger (
org.jboss.ws.tools.WSTools).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.jboss.ws.WSException: Endpoint
videorentalstore.webservice.gen.RentalServiceRPC cannot be loaded
at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration
(ToolsHelper.java:113) at org.jboss.ws.tools.WSTools.process(
WSTools.java:129)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
flw,
Cosen