axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: wsdl4j compatibility
Date Thu, 20 Feb 2003 09:43:20 GMT
(Sorry if you get this twice)
I've actually read this article and found it quite illuminating indeed. 
Now your problem might be that in the code provided, the WSDL file that 
you give to the WSDLReader has some import statements or anyway assumes 
that it should have. This has to do with how a scenario of a search in 
UDDI goes. If you provide the Reader with a straight-through WSDL file 
(meaning that it does not implement any interface or equivalently does 
not contain any import statements) tis exception you mentioned is 
thrown. The solution would be to comment out the code that looks for 
import elements.
Hope that helps. Let me know how things went cos I'm interested too.


----- Original Message -----
Από: Ben Wyckoff <>
Ημερομηνία: Πέμπτη, Φεβρουάριος 20, 2003 5:57π.μ.
Θέμα: wsdl4j compatibility

> Hello,
>        I am a relatively new Axis user, and I have been trying to 
> both create and consume web services. I found an interesting 
> article 
> at 
> <" target="l">http://www-
> on Dynamic Discovery and Invocation of Web Services which uses 
> uddi4j, wsdl4j, and Axis to discover a service, parse the WSDL, 
> and 
> then invoke using Axis.
> I'm not interested in the uddi4j now, but am very interested in 
> the 
> wsdl parsing and Axis invocation steps. Using wsdl4j to extract 
> the 
> relevant data from a wsdl file automatically would be a big help 
> for 
> me.
> Unfortunately, the only file the wsdl4j WSDLReader seems to parse 
> ok 
> is the WebMath_Impl.wsdl file that is part of the sample code for 
> the 
> article. I tried the WSDL from Axis 1.0 and 1.1RC1 .jws?wsdl 
> services, and also from a few services offered through 
> In all the failure cases, I get the following error:
> WSDLException: faultCode=OTHER_ERROR: No WSDL interface definition 
> found.
> And yet, these services do work, and both Axis and SOAP::Lite 
> clients 
> can process the WSDL and make successful queries.
> Can anybody offer any insight or alternatives?
> thanks,
> Ben

View raw message