Try to echo the param before using it. What does it show?
Dharanikota, Sai wrote:
Hello,
I have a strange problem with axis. I have a WSDL file, and I am
trying to generate some types (Java classes) using this WSDL file. I
am using axis to generate the types from WSDL. The strange problem is,
I am unable to generate the types when I follow the normal procedure.
build.xml contains:
<target name="generateClientTypes" depends="init">
<antcall target="WSDL2Java">
<param name="sourceDir" value="${gpe.generated}" />
<param name="serverSideParam" value="" />
<param name="wsdlURL" value="${gpe.schema}/clients/GPEClients.wsdl" />
</antcall>
</target>
When I try to generate the types using the above description, I get
“Filenotfound exception””.
Where as, if I put a space in the wsdlURL I am able to generate the types.
i.e:
<target name="generateClientTypes" depends="init">
<antcall target="WSDL2Java">
<param name="sourceDir" value="${gpe.generated}" />
<param name="serverSideParam" value="" />
<param name="wsdlURL" value=" ${gpe.schema}/clients/GPEClients.wsdl" />
</antcall>
</target>
I don’t understand the problem. Can any body give pointers to my problem?
Thanks
Sai
--
Best Regards,
Yuval Goldstein
CTO, 2Train4
Office: +972-3-6396464
Mobile: +972-54-2050917
www.2train4.com