This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic