Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL2Java emitter timeouted problem

 
Arun Pant
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic