Remove the space. On 8/31/06, Gabsaga Tata <[EMAIL PROTECTED]> wrote:
The following ant target works just fine. <target name="Java2WSDL" description="Creates WSDL file from Java Classes"> <java classname="org.apache.axis.wsdl.Java2WSDL" fork="yes" > <arg value="-o helloworld.wsdl" /> <arg value="-l "http://localhost/axis/services/sayhello"" /> <arg value="-n "urn:com:simpaq:helloworld"" /> <arg value="-p"com:simpaq:helloworld"" /> <arg value=""urn:com:simpaq:helloworld"" /> <arg value="com.simpaq.helloworld.SayHello" /> <classpath> <path refid="APACHE_AXIS_API.classpath"/> <path refid="compile.classpath" /> <pathelement path="${build.home}"/> </classpath> </java> </target> But when I added the option "-y WRAPPED" like the following: <target name="Java2WSDL" description="Creates WSDL file from Java Classes"> <java classname="org.apache.axis.wsdl.Java2WSDL" fork="yes" > <arg value="-o helloworld.wsdl" /> <arg value="-l "http://localhost/axis/services/sayhello"" /> <arg value="-n "urn:com:simpaq:helloworld"" /> <arg value="-p"com:simpaq:helloworld"" /> <arg value="-y WRAPPED" /> <arg value=""urn:com:simpaq:helloworld"" /> <arg value="com.simpaq.helloworld.SayHello" /> <classpath> <path refid="APACHE_AXIS_API.classpath"/> <path refid="compile.classpath" /> <pathelement path="${build.home}"/> </classpath> </java> </target> I get the following error: Java2WSDL: [java] The value of --style must be DOCUMENT, RPC, or WRAPPED. [java] Java Result: 1 Any ideas why? Thanks. Gabsaga
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
