aspose file tools*
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 JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java emitter timeouted problem" Watch "WSDL2Java emitter timeouted problem" New topic
Author

WSDL2Java emitter timeouted problem

Arun Pant
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WSDL2Java emitter timeouted problem