I am having trouble to build the client for the helloWorld sample in the
jwsdl 1.6 distribution of jaxrpc.
Here is the config-wsdl.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="
http://java.sun.com/xml/ns/jax-rpc/ri/config" >
<wsdl
location="
http://localhost:8080/jaxrpc-HelloWorld/hello?WSDL"
packageName="staticstub" />
</configuration>
Here is the ant script for stub generation
<target name="generate-client" depends="prepare">
<wscompile
keep="true"
client="true"
base="${samplesbuild}/${appname}/classes/client"
xPrintStackTrace="true"
verbose="true"
config="${config.rpcstub.file}">
<classpath refid="compile.classpath"/>
</wscompile>
</target>
It results in the command line output as:
wscompile -d
C:\Sun\jwsdp-1.6\jaxrpc\build\samples\HelloWorld\classes\client
-gen:client -keep -verbose -Xprintstacktrace
C:\Sun\jwsdp-1.6\jaxrpc\samples\HelloWorld\etc\config-wsdl.xml
-classpath
C:\Sun\jwsdp-1.6\jwsdp-shared\lib\mail.jar;C:\Sun\jwsdp-1.6\jwsdp-shared
\lib\activation.jar;C:\Sun\jwsdp-1.6\jaxp\lib\jaxp-api.jar;C:\Sun\jwsdp-
1.6\jaxp\lib\endorsed\dom.jar;C:\Sun\jwsdp-1.6\jaxp\lib\endorsed\sax.jar
;C:\Sun\jwsdp-1.6\jaxp\lib\endorsed\xalan.jar;C:\Sun\jwsdp-1.6\jaxp\lib\
endorsed\xercesImpl.jar;C:\Sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-api.jar;C:\Su
n\jwsdp-1.6\jaxrpc\lib\jaxrpc-spi.jar;C:\Sun\jwsdp-1.6\jaxrpc\lib\jaxrpc
-impl.jar;C:\Sun\jwsdp-1.6\saaj\lib\saaj-api.jar;C:\Sun\jwsdp-1.6\saaj\l
ib\saaj-impl.jar;C:\Sun\jwsdp-1.6\jwsdp-shared\lib\relaxngDatatype.jar;C
:\Sun\jwsdp-1.6\jwsdp-shared\lib\xsdlib.jar;C:\Sun\jwsdp-1.6\jwsdp-share
d\lib\jax-qname.jar;C:\Sun\jwsdp-1.6\apache-ant\lib\ant.jar
Although the build was successful from the ant run, no stub files were
generated. I am using the Sun Application Server 8.1. on a dell running
winXP.
Thanks for the help.
Sean