axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cameron (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Commented: (AXISCPP-769) Axis C++ 1.5 WSDL2Java emitter timed out
Date Tue, 02 Aug 2005 07:47:35 GMT
    [ http://issues.apache.org/jira/browse/AXISCPP-769?page=comments#action_12317399 ] 

Andrew Cameron commented on AXISCPP-769:
----------------------------------------

I have fixed this myself by adding:

	    String timeout = cmdLineArgs.getOptionBykey("t");
	    if (timeout != null)
	        wsdlParser.setTimeout(Long.parseLong(timeout));

... to the top of WSDL2Ws( ) in /src/wsdl/org/apache/axis/wsdl/wsdl2ws and then executing
with parameter "-t0".

Please add this to the next release!

> Axis C++ 1.5 WSDL2Java emitter timed out
> ----------------------------------------
>
>          Key: AXISCPP-769
>          URL: http://issues.apache.org/jira/browse/AXISCPP-769
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - RPC
>     Versions: 1.5 Final
>  Environment: Windows XP
>     Reporter: Andrew Cameron
>     Priority: Blocker

>
> I have seen this bug reported elsewhere but I think it refers to the Java version. There
is no way to pass a timeout threshold to wsdl2ws.
> "java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified
URL is inaccessible)!
>         at org.apache.axis.wsdl.gen.Parser.run(Parser.java:293)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: java.io.IOException: WSDL2Java emitter timed
out (this often means the WSDL at the specified URL is inaccessible)!
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> Caused by: java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL
at the specified URL is inaccessible)!
>         at org.apache.axis.wsdl.gen.Parser.run(Parser.java:293)
>         ... 2 more
> Code generation failed. Please see errors above."
> Note that I'm trying to process a file on the local hard disk. The WSDL and XSDs in this
case total 696KB.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message