File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes WSDL2Java emitter timeouted problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java emitter timeouted problem" Watch "WSDL2Java emitter timeouted problem" New topic

WSDL2Java emitter timeouted problem

Arun Pant

Joined: Mar 07, 2002
Posts: 1
I am trying to generate the stubs,skeletons and datatypes from a WSDL file.I am using Apache AXIS wsdl2java tool. I have two version of the same file, one containing the contraints for an XML schema and the other accepting any XML format.When I launch the tool with the wsdl file which accepts any type of XML document, the tool is able to generate the stubs/skeletons. But when I try to do the same thing with the wsdl file containing XML constrains, I am receving this an error as follows
WSDL2Java emitter timed out. (This often means the WSDL at the specified URL is inaccessible.)
I have looked at the AXIS documentation and found a place where it says the parser times out in 45 seconds. I tried to extend the class and set a timeout for the parser but was unsuccessful. I am not sure what to do next. Any thoughts on why this is happening or any pointers would be apprecaited.
I agree. Here's the link:
subject: WSDL2Java emitter timeouted problem
It's not a secret anymore!