Hello, I have a problem about ant-wdsl2java task parameter "timeout". I have set timeout while wsdl2java convert. My client connect to server, send to data but server doesn't send data (to be occur timeout) but, there is nothing to happen. Client wait forever. When I set timeout parameter from java code
_stub.setTimeout(10000); client throw exception after 10 seconds. Is there a problem about ant-wsdl2java task timeout parameter or I missunderstand to timeout parameter. Thanks.. My ant task is below <target name="cms-wsdl2java"> <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport2"/> <Wsdl2javaAntTask output="src" url="resources/SMAPService.wsdl" deployscope="test.soap.axis" timeout="10000"> ..... </Wsdl2javaAntTask> .... </target>