You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Paul Bakker (JIRA)" <ax...@ws.apache.org> on 2005/04/27 09:31:51 UTC

[jira] Commented: (AXIS-1915) org.apache.axis.wsdl.gen.Parser performance on large WSDL's

     [ http://issues.apache.org/jira/browse/AXIS-1915?page=comments#action_63880 ]
     
Paul Bakker commented on AXIS-1915:
-----------------------------------

I know that with this you can stop the parser from timing out. But it seems to me that that is not the issue.

The problem is that the parser has an issue with larger WDSL's. Stored in a text file, the http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl  is about 100k and takes 9 seconds to parse

The "http://developer.ebay.com/webservices/latest/eBaySvc.wsdl"  is about 10 times as large and after 15 minutes (and 100% CPU usage) is still not parsed.

>From my (allthough limited) experience with parsers, I would think a parser should be able to process a 1 Mb XML file faster.

Paul

> org.apache.axis.wsdl.gen.Parser performance on large WSDL's
> -----------------------------------------------------------
>
>          Key: AXIS-1915
>          URL: http://issues.apache.org/jira/browse/AXIS-1915
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC3
>  Environment: WinXP, Java 1.4.2_06-b03, Axis 1.2RC3 (also Axis 1.1 final) (Hardware: 1.8 GHz Intel Pentium, 384 MB of RAM)
>     Reporter: Paul Bakker

>
> Hi, 
> My first post here, so please don't shoot me if I forgot to mention vital stuff, or posted this in the wrong area.
> I'm using the DynamicInvoker example and run into timeout errors. I traced it back to org.apache.axis.wsdl.gen.Parser.
> Got the following code:
> wsdlParser = new Parser();
> wsdlParser.run(wsdlURL);
> I run this, with as wsdlURL: http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
> This takes about 9 seconds, with the CPU running at 100%
> When I run the same, but for wsdlURL: 
> "http://developer.ebay.com/webservices/latest/eBaySvc.wsdl" 
> I get a timeout message:
> "java.io.IOException: WSDL2Java emitter timed out (this often means the =WSDL at the specified URL is inaccessible)!"
> I have set the Timeout to 15 minutes, but still get the timeout message. All the while, the CPU is at 100%. After the timeout, the CPU remains at 100%, untill I kill the process through TaskManager.
> Making sure it's not the Internet connection, I downloaded the WSDL to file and performed the same action. The result is the same.
> As described in the Environment section, I first ran into this issue while workign on Axis 1.1 final. I then downloaded 1.2RC3 in the hope it would been solved there, but unfortunatly, it hasn't.
> I've search the internet to see if other have had this issue. The only thing I found was setting a longer Timeout...
> Regards,
> Paul Bakker

-- 
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