wood burning stoves 2.0*
The moose likes Websphere and the fly likes Error generating Proxy/Stub from WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Error generating Proxy/Stub from WSDL" Watch "Error generating Proxy/Stub from WSDL" New topic
Author

Error generating Proxy/Stub from WSDL

Soul Tech
Greenhorn

Joined: Mar 29, 2006
Posts: 3
I'm using WSAD 5.1.2

I am trying to generate stub/proxy code form a ASMX/WSDL file and it's not working. When I attempt to generate, I get this:

IWAB0399E Error in generating Java from WSDL java.io.IOException: Element {http://www.w3.org/2001/XMLSchema} schema is referenced but not defined.

I've verified through other people in my group that I'm doing EVERYTHING correctly. I've also verified from the group that supplied me the WSDL that other people CAN use it, so the WSDL is good. Therefore, I'm wondering if it's a bug now. Should I reinstall WSAD? Anyone have any ideas?

Thanks,
Will
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3716
    
    5

In the options menu turn off validation. You may then need to restart or recreate the project but it sounds like validation thats failing which is fine because this often happens.


My Blog: Down Home Country Coding with Scott Selikoff
Soul Tech
Greenhorn

Joined: Mar 29, 2006
Posts: 3
I have always had ALL validations turned off...
Soul Tech
Greenhorn

Joined: Mar 29, 2006
Posts: 3
just for fun i recreated the entire project from scratch, turned off validations, etc., and same error...
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3716
    
    5

Did you repeat 3 times?

But seriously, I have seen this before and turning off validation (as well as re-creating everything so WSAD could 'forget' the code failed validation) worked in the past. Sorry bud.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error generating Proxy/Stub from WSDL