Are you doing J2EE/109 based deployment ? If you are running wsdeploy,
it should generate all the _Tie, serializer classes
First use wscompile to create the raw war file. Then use wsdeploy to
create a cooked war from the raw war.
For e.g:
gen-config.xml
<configuration
xmlns="
http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl
location="A.wsdl"
packageName="com" />
</configuration>
* wscompile.sh -import -d out -Xprintstacktrace -f:wsi
-f:documentliteral gen-config.xml
will generate portable classes.
*wscompile.sh -gen:server -d out -Xprintstacktrace -f:wsi
-f:documentliteral gen-config.xml
will generate all classes.
Is there any reason why you are not using JAX-WS ?
Jitu
Mohan Davuluri wrote:
> All
> Does any one know the solution for my problem. I am not sure if this
> forum is still active. Please let me know if any one knows why i am
> not able to generate _Tie and Serializer classes when i use wscompile.
> Please read the below email for more on my question
>
>
> On 12/7/06, *Mohan Davuluri* <mohan.great_at_gmail.com
> <mailto:mohan.great_at_gmail.com>> wrote:
>
> Hi All
> Following is the build script that i am using. I am not seeing the
> wscompile or the wsdeploy generate the _Tie classes. I am not sure
> at which point are the Tie classes and Serializers are going to be
> generated. I am using the nodatabinding option for
> document/literal type
>
> <target name="generate-server-from-wsdl" depends="compile-server"
> description="Runs wscompile to generate the client stub
> classes">
> <echo message="Running wscompile...."/>
> <exec executable="${wscompile}">
> <arg line="-gen:server"/>
> <arg line="-f:documentliteral"/>
> <arg line="-f:nodatabinding"/>
> <arg line="-mapping ${mapping.file}" />
> <!-- arg line="-model
> ${buildhome}/${appname}/model.gz"/ -->
> <arg line="-f:wsi"/>
> <arg line="-d ${buildhome}/web/WEB-INF/classes"/>
> <arg line="-classpath ${buildhome}/web/WEB-INF/classes"/>
> <arg line="${config.wsdl}"/>
> <arg line="-keep"/>
> </exec>
> </target>
>
>
> <target name="process-war" depends="init,create-war"
> description="Runs wsdeploy to generate the ties and create
> a deployable WAR file">
> <echo message="Running wsdeploy...."/>
> <wsdeploy
> keep="true"
> inWarFile="${dist.dir}/${appname}-raw.war"
> outWarFile="${dist.dir}/${appname}.war"
> verbose="true" source="1.1">
> <classpath refid="compile.classpath"/>
> </wsdeploy>
>
> Please let me know if am missing something
>
> -- M
>
>