Can anyone help me please? I have a wsdl file, which was created by a third party. I use it to generate the java classes. The problem is (IMO) : we have to use security as defined here and this file makes reference to several other files and I get the connection timeout. I mean I have a huge xsd file in the local also, which is very well-formed and valid. I don't have any problems with it.... and with this security thing in scene it just crashes. The xsd schema of the security thing is security xsd It takes around 26 seconds to get the "Connection timed out". not even reaches the 45 seconds of the default by wsdl2java.. I use ant to build. so there exists a setproxy ant taskhere setproxy but it seems it takes no effect to the wsdl2java ; wsdl2javaseems to be using the default ones: always 45000 milliseconds and proxyhost proxyport and always equals null.. BY the way, do I really need socket proxy explicitly , or only http proxy ? Any help or light or idea will be appreciated. and the port numbers also esp. for the socks case if ever really needed?
I had similiar exceptions earlier. I specified the proxy and port options when generating the stubs for the wsdl and also in the standalone web services java client program that I wrote I specified below code snippet and it worked :